I guess I have no other ideas, but you really need to figure out why those connections are reset. That's not something that we do, so it's probably the OS.
@Shivam
Hi im trying to learn from these issues also. Could you try this an let me know if it makes any difference.
@Shivam
as Anton has pointed out earlier, you are having issues with resources.
check your disk space using "df -h" from your terminal and lookout for /dev/vda1 it would most likely be above 80%
clean out your position table to have more space, and carry out the optimization has from other suggestion above.
Please let me know if it works for you.
Hi,
i Was also facing the same issue and tried these steps but all the devices are getting offline, after executing this command:
java -Xmx2G -jar tracker-server.jar conf/traccar.xml &
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8082
at org.traccar.Main.run(Main.java:154)
at org.traccar.Main.main(Main.java:114)
Caused by: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8082
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:304)
at org.eclipse.jetty.server.Server.lambda$doStart$0(Server.java:402)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at org.eclipse.jetty.server.Server.doStart(Server.java:398)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at org.traccar.web.WebServer.start(WebServer.java:232)
at org.traccar.Main.run(Main.java:136)
... 1 more
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:459)
You have a port conflict, as the error clearly states.
here is