Hex Message Error

Int3grativ4 years ago

Hi, I'm having an issue with a tracker reporting to my windows based traccar server:

2020-03-13 11:50:14  INFO: [6cb34ea5] connected
2020-03-13 11:50:14  INFO: [6cb34ea5: gps103 < 173.225.243.236] HEX: 78780d010352312090645915000891f40d0a
2020-03-13 11:50:14  WARN: [6cb34ea5] error - begin 21, end 23, length 18 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-03-13 11:50:14  INFO: [6cb34ea5] disconnected

Hex Message Output:
[binary data]

Anton Tananaev4 years ago

Wrong port. Correct is 5023. Please read documentation next time.

Int3grativ4 years ago

Thanks Anton

Int3grativ4 years ago

Anton, as a follow up:

  1. I had previously used port 5023 with no response.

  2. In trying it back just now, the following event was logged:

2020-03-13 12:17:11  INFO: [f811af82: gt06 < 173.225.243.138] HEX: 78780d01035231209064591500045b980d0a
2020-03-13 12:17:11  WARN: Unknown device - 352312090645915 (173.225.243.138)
  1. I've since defined the tracker in the server web UI and observed the following:
2020-03-13 12:24:43  INFO: [a530af81] connected
2020-03-13 12:24:43  INFO: [a530af81: gt06 < 173.225.243.141] HEX: 78780d01035231209064591500010c350d0a
2020-03-13 12:24:43  INFO: [a530af81: gt06 > 173.225.243.141] HEX: 787805010001d9dc0d0a
  1. I'm now seeing the tracker as being online however, there's no location on the map.

Additionally, the Hex output for (78780d01035231209064591500010c350d0a) is as follows:
[binary data]

Could you shed some light as to possible cause?

Anton Tananaev4 years ago

Please stop trying to use HEX decoder for a binary protocol.