problem with API

LX 4 months ago

Dear colleagues,

I have been using traccar with 20 trackers (TK 106) for years with great success - not only with the traccar frontend but also with the software EDP which uses the traccar API (websocket). Recently, problems occurred: while traccar still sees the tracker right away after turning them on and I can see that their history shows the usual position update interval in the traccar frontend, EDP now only shows some of them. I am still trying to put my finger on the problem reading the logs but, to begin with, I find the following line in the traccar log and do not know what to do with it:

WARN: Socket JSON parsing error - Invalid numeric value: Leading zeroes not allowed
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 2] - JsonParseException (... < AsyncSocket:86 < ...)

This line is related to the EDP requests. Any idea how to proceed? I had been running traccar 6.6 and just upgraded to 6.9.1. This made some more trackers appear in EDP but still not all of them.

Thanks, LX

Anton Tananaev 4 months ago

Yes, seems like some invalid requests are coming through WebSocket.