Device colour different in version 3.9 and 3.10

Novoza7 years ago

Hi, please assist. I am testing two servers with different versions of Traccar. Using the same device configuring the ip to point to the one server than the other.

version 3.9 (running windows server 2008 r2)- device is green on map
version 3.10 (running windows server 2012 r2)- device is pink on the map

Thanks in advance.

Novoza7 years ago

Device is TK102b and it does show correct position on map.

Anton Tananaev7 years ago

Check logs for warnings.

Novoza7 years ago

Hi Anton, please see below warnings.Read one of the previous threads and it mentions - "h02.messageLength” to 45 in the config file.

Is it the XML files or the wrapper files that need to be changed?Also what do I need to open the wrapper files?

2017-03-24 00:00:05 DEBUG: [490AE73B: 5013 < 41.114.157.182] HEX: 2a48512c3335353438383032303939383436302c56312c3036303030342c412c333334352e37363438352c532c30323532332e38383230312c452c302e30302c302c3234303331372c4646464646464646230d0a
2017-03-24 00:00:05  WARN: [490AE73B] error - IllegalArgumentException (H02FrameDecoder:84 < ...)
2017-03-24 00:00:05  INFO: [490AE73B] disconnected
2017-03-24 00:00:05  INFO: [490AE73B] id: 355488020998460, time: 2017-03-24 08:00:04, lat: -33.76275, lon: 25.39803, speed: 0.0, course: 0.0
2017-03-24 00:00:06  INFO: [3A2B07FE] connected
2017-03-24 00:00:35 DEBUG: [3A2B07FE: 5013 < 41.114.157.182] HEX: 2a48512c3335353438383032303939383436302c56312c3036303033342c412c333334352e37363438352c532c30323532332e38383230312c452c302e30302c302c3234303331372c4646464646464646230d0a
2017-03-24 00:00:35  WARN: [3A2B07FE] error - IllegalArgumentException (H02FrameDecoder:84 < ...)
2017-03-24 00:00:35  INFO: [3A2B07FE] disconnected
2017-03-24 00:00:35  INFO: [3A2B07FE] id: 355488020998460, time: 2017-03-24 08:00:34, lat: -33.76275, lon: 25.39803, speed: 0.0, course: 0.0
2017-03-24 00:00:36  INFO: [CD270BA7] connected
2017-03-24 00:01:05 DEBUG: [CD270BA7: 5013 < 41.114.157.182] HEX: 2a48512c3335353438383032303939383436302c56312c3036303130342c412c333334352e37363438352c532c30323532332e38383230312c452c302e30302c302c3234303331372c4646464646464646230d0a
2017-03-24 00:01:05  WARN: [CD270BA7] error - IllegalArgumentException (H02FrameDecoder:84 < ...)
2017-03-24 00:01:05  INFO: [CD270BA7] disconnected
2017-03-24 00:01:05  INFO: [CD270BA7] id: 355488020998460, time: 2017-03-24 08:01:04, lat: -33.76275, lon: 25.39803, speed: 0.0, course: 0.0
2017-03-24 00:01:07  INFO: [1E14CF4B] connected
2017-03-24 00:01:35 DEBUG: [1E14CF4B: 5013 < 41.114.157.182] HEX: 2a48512c3335353438383032303939383436302c56312c3036303133342c412c333334352e37363438352c532c30323532332e38383230312c452c302e30302c302c3234303331372c4646464646464646230d0a
2017-03-24 00:01:35  WARN: [1E14CF4B] error - IllegalArgumentException (H02FrameDecoder:84 < ...)
2017-03-24 00:01:35  INFO: [1E14CF4B] disconnected
2017-03-24 00:01:35  INFO: [1E14CF4B] id: 355488020998460, time: 2017-03-24 08:01:34, lat: -33.76275, lon: 25.39803, speed: 0.0, course: 0.0
2017-03-24 00:01:36  INFO: [011D3977] connected
2017-03-24 00:02:05 DEBUG: [011D3977: 5013 < 41.114.157.182] HEX: 2a48512c3335353438383032303939383436302c56312c3036303230342c412c333334352e37363438352c532c30323532332e38383230312c452c302e30302c302c3234303331372c4646464646464646230d0a
2017-03-24 00:02:05  WARN: [011D3977] error - IllegalArgumentException (H02FrameDecoder:84 < ...)
2017-03-24 00:02:05  INFO: [011D3977] disconnected
2017-03-24 00:02:05  INFO: [011D3977] id: 355488020998460, time: 2017-03-24 08:02:04, lat: -33.76275, lon: 25.39803, speed: 0.0, course: 0.0
2017-03-24 00:02:06  INFO: [01E6D6D3] connected
2017-03-24 00:02:35 DEBUG: [01E6D6D3: 5013 < 41.114.157.182] HEX: 2a48512c3335353438383032303939383436302c56312c3036303233342c412c333334352e37363438352c532c30323532332e38383230312c452c302e30302c302c3234303331372c4646464646464646230d0a
2017-03-24 00:02:35  WARN: [01E6D6D3] error - IllegalArgumentException (H02FrameDecoder:84 < ...)
2017-03-24 00:02:35  INFO: [01E6D6D3] disconnected
Anton Tananaev7 years ago

It's a known issue and it's already fixed in the code.

Novoza7 years ago

Thanks Anton. When you say fixed in the code do you mean it will be resolved in the next version release?

Anton Tananaev7 years ago

Yes. If you don't want to wait, you can try to compile it from source yourself.

Novoza7 years ago

Thank you. I have no idea how to compile from source. Will probably have to wait unless there is a document on how to do it.

Anton Tananaev7 years ago

There is documentation:

https://www.traccar.org/build/

Novoza7 years ago

Thanks. I will check it out.