i have hosted traccar on amazon EC2 but i am not getting the tracking. below is the recent log trace
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:151)
INFO | jvm 1 | 2016/03/18 10:16:34 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.Server.handle(Server.java:499)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
INFO | jvm 1 | 2016/03/18 10:16:34 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
INFO | jvm 1 | 2016/03/18 10:16:34 | at java.lang.Thread.run(Thread.java:745)
...
INFO | jvm 1 | 2016/03/18 10:16:44 | [qtp688562421-39] WARN org.eclipse.jetty.servlet.ServletHandler - /api/socket
INFO | jvm 1 | 2016/03/18 10:16:44 | java.lang.NullPointerException
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.traccar.api.AsyncSocketServlet$1.createWebSocket(AsyncSocketServlet.java:36)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:166)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:153)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:151)
INFO | jvm 1 | 2016/03/18 10:16:44 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.Server.handle(Server.java:499)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
INFO | jvm 1 | 2016/03/18 10:16:44 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
INFO | jvm 1 | 2016/03/18 10:16:44 | at java.lang.Thread.run(Thread.java:745)
This error means that you are not authenticated. I guess you restarted the server and left web interface open in browser.
Hi,
thanx for this great application! Very nice and I appreciate your work!
I recently installed traccer on a Raspberry Pi and it ran very fine for some time - until the 4GB SD-Card was full. I started over installing everything on an 8GB Card - just to find out, that, within a few hours, the filesystem was full again.
The reason:
The traccer log file "/opt/traccar/logs/wrapper.log.20160423" grows VERY fast!
It fills up with the same entries as above:
INFO | jvm 1 | 2016/04/23 16:43:09 | [qtp32295594-58] WARN org.eclipse.jetty.servlet.ServletHandler - /api/socket
INFO | jvm 1 | 2016/04/23 16:43:09 | java.lang.NullPointerException
INFO | jvm 1 | 2016/04/23 16:43:09 | at org.traccar.api.AsyncSocketServlet$1.createWebSocket(AsyncSocketServlet.java:36)
INFO | jvm 1 | 2016/04/23 16:43:09 | at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:166)
After changing my external visible port (on my NAT router) it stopped.
Without knowing the exact reason for the "attack" - maybe a wild running client - I would recognize this behavior as bug, and I suppose to avoid that "java.lang.NullPointerException" to prevent a filesystem overflow.
Another possible solution is to limit the size of a logfile to, say, 1024kB.
Regards,
Bernd
i have hosted traccar on amazon EC2 but i am not getting the tracking. below is the recent log trace