Hello I think there is a bug on version 5.6

Abdops2 years ago

when the vehicle drives in an area where it has no network it saves the history of the route up to where the gprs signal returns the gps box sends the history to the application with version 5.5 worked very well but that I updated to 5.6 the history does not go up, I uninstalled 5.6 and reinstalled 5.5 and everything works fine.

Anton Tananaev2 years ago

You would have to provide some evidence if you want us to investigate it. We would need logs showing the issue.

Abdops2 years ago

Hello here is the error message in the logs dans la version 5.6

[T4c31a452] error - Longitude out of range - IllegalArgumentException (Position:244 < AtrackProtocolDecoder:670 < *:752 < ExtendedObjectDecoder:72 < ...)
Anton Tananaev2 years ago

We would need:

  1. HEX sample
  2. Configuration if you configured any Atrack parameters
Abdops2 years ago

thank you for your reply
here is the configuration in the traccar.xml file

<entry key='atrack.custom'>true</entry>
<entry key='atrack.ack'>true</entry>
<entry key='atrack.can'>true</entry>
<entry key='atrack.form'>%SA%MV%BV%GQ%CE%LC%RL%AT%RP%GS%DT%VN%MF%EL%TR%ET%FL%ML%FC%AV1%NC%SM%PD%GV%IA%MP%HA%HB%HC</entry>

but for HEX I don't know how to do it because the data is sent in binary format

Anton Tananaev2 years ago

You don't need to do anything. Just copy it from the logs.

Abdops2 years ago
2023-02-26 02:18:32  INFO: [T0c9c1ed9: atrack < 105.235.130.158] fe020003111190149e3b2eac
2023-02-26 02:18:32  INFO: [T0c9c1ed9: atrack > 105.235.130.158] fe020003111190149e3b2eac
2023-02-26 02:18:32  INFO: [Td95d416d: atrack < 105.235.131.26] fe02000311118fd55a190b33
2023-02-26 02:18:32  INFO: [Td95d416d: atrack > 105.235.131.26] fe02000311118fd55a190b33
2023-02-26 02:18:33  INFO: [T0c9c1ed9: atrack < 105.235.130.158] 40503a7d02492ead0003111190149e3b63fab30f63fab30e63fab3490042715c022af90800fc730011526600060000000000000007d007d000110103002817000033395209170000012c0000090000000000000000000000000000000032313030313a31333131333a32332d32313030313a3835393234323439363a31372d32313030313a3836363435313435363a31332d33303630323a3432363138303630383a31322d32313030313a3636353937363833323a31322d32313030313a3636343636363131323a31312d33303630323a3432323833383237323a3900000000fd34ff9cfcc40000000063fab32b63fab32b63fab3490042715c022af90800fc720011526600060000000000000007d007d000110103002817000033395209000000012c0000020000000000000000000000000000000032313030313a31333131333a302d303a303a302d303a303a302d303a303a302d303a303a302d303a303a302d303a303a3000000000fd34ff98fcc80000000063fab34863fab34863fab3490042715c022af90800fc730011526600060000000000000007d007d000100103002817000033395209000000012c0000090000000000000000000000000000000032313030313a31333131333a302d32313030313a3835393235363632373a31382d32313030313a3836363439333734373a31332d33303630323a3432363232363231353a31322d32313030313a3636353937363833323a31312d32313030313a3636343636363131323a31312d33303630323a3432323833383237323a3900000000fd34ff98fcc000000000
2023-02-26 02:18:33  INFO: [T0c9c1ed9: atrack > 105.235.130.158] fe020003111190149e3b2ead
2023-02-26 02:18:33  INFO: [T0c9c1ed9] error - Longitude out of range - IllegalArgumentException (Position:244 < AtrackProtocolDecoder:670 < *:752 < ExtendedObjectDecoder:72 < ...)
2023-02-26 02:18:33  INFO: [T0c9c1ed9] disconnected
Anton Tananaev2 years ago

I just tested your sample on version 5.5. It does not throw this exception, but it doesn't decode it correctly. It seems like your configuration is incorrect or potentially we don't support some of the parameters you're using.

You're also using atrack.ack and atrack.can. Where did you get those? I don't think those are valid parameters.

Abdops2 years ago

so it could be that because of atrack.ack and atrack.can the data does not go back to the server?
but despite that with 5.5 it works fine

Anton Tananaev2 years ago

No, it's completely unrelated to non-existent parameters. I just wanted to know where you found those.

Anton Tananaev2 years ago

Can you show me logs from 5.5?

Abdops2 years ago
2023-03-02 12:12:23  INFO: [Tda0971a0] id: 86319205999231, time: 2023-03-02 12:12:22, lat: 36.43993, lon: 4.52813, speed: 10.3, course: 170.0
2023-03-02 12:12:23  INFO: [T0c654a53: atrack < 105.235.128.172] fe020003111190147f1912e2
2023-03-02 12:12:23  INFO: [T0c654a53: atrack > 105.235.128.172] fe020003111190147f1912e2
2023-03-02 12:12:23  INFO: [T9acf068f: atrack < 105.235.131.101] 405070be00c1020f000311118fd559946400848b6400848b6400848b002dd082022eda9100df02001a9fe600060100060000000007d007d0001000900028120000cc43546712000000320000090000000000000000000000000000000032313630373a35323239313a31382d32313630373a313334313635323939323a32352d32313630373a313334313731383532383a32332d32313630373a343236303033363630383a32322d303a303a302d303a303a302d303a303a3000002100ff00005cfc4400000000
2023-03-02 12:12:23  INFO: [T9acf068f: atrack > 105.235.131.101] fe02000311118fd55994020f
Anton Tananaev2 years ago

You forgot to include the most important part - the decoded data after the HEX.

Abdops2 years ago
2023-03-02 09:25:37  INFO: [T5ba3a546] connected
2023-03-02 09:25:37  INFO: [T5ba3a546: atrack < 105.235.131.86] fe020003111190147fb60905
2023-03-02 09:25:37  INFO: [T5ba3a546: atrack > 105.235.131.86] fe020003111190147fb60905
2023-03-02 09:25:38  INFO: [T5e63eec6: atrack < 105.235.136.124] 40507f4600a40709000311119014816c64005d8164005d8164005d81004f8d220226f9f0003302005b8620000601004e0000000007d007d0000f01220028170000f6ba7c9d170000037e0000090000000000000000000000000000000033313930313a36333136323a32332d33333430313a323233363936313932353a382d303a303a302d303a303a302d303a303a302d303a303a302d303a303a3000005000003c000c038800000000
2023-03-02 09:25:38  INFO: [T5e63eec6: atrack > 105.235.136.124] fe02000311119014816c0709
2023-03-02 09:25:39  INFO: [T5ba3a546: atrack < 105.235.131.86] 40501f2300db09060003111190147fb664005d8064005d8064005d81002da8a6022f16f3009c73001f10f900060000000100000007d007d0001100840028140000cf825467140000003b0000090000000000000000000000000000000032313630373a35333132323a32302d32313632343a333932363332373239363a32362d32313630383a32333030333133363a32362d32313632343a313334323936333731323a32322d32313632343a313334333535333533363a32302d32313630383a333930373332313835363a31392d303a303a3000000000ffb0fff803e400000000
2023-03-02 09:25:39  INFO: [T5ba3a546: atrack > 105.235.131.86] fe020003111190147fb60906
2023-03-02 09:25:39  INFO: [T5e63eec6] id: 863192059885435, time: 2023-03-02 09:25:37, lat: 36.10878, lon: 5.21347, speed: 42.1, course: 51.0
2023-03-02 09:25:39  INFO: [T5ba3a546] id: 863192059432156, time: 2023-03-02 09:25:36, lat: 36.64050, lon: 2.99229, course: 156.0
2023-03-02 09:25:42  INFO: [T74523ffa: atrack < 105.235.130.147] 4050483f00d804e7000311119014896164005d8564005d8464005d84004574a60227187600bb020058ab11000701003a0000000007d007d0000e012300280b0000855482790b0000032d0000090000000000000000000000000000000033333430313a33343133323a31312d32313030313a3730313438343834313a31392d32313030313a3730323830303638313a31392d32313030313a3637393038393230343a31382d32313030313a3637393134393536383a31362d32313030313a3837333732353935323a31352d303a303a3000003e00ff7802fc023400000000
2023-03-02 09:25:42  INFO: [T74523ffa: atrack > 105.235.130.147] fe02000311119014896104e7
2023-03-02 09:25:42  INFO: [T74523ffa] id: 8631920594328, time: 2023-03-02 09:25:41, lat: 36.11660, lon: 4.55185, speed: 31.3, course: 187.0
2023-03-02 09:25:42  INFO: [T7db6bd8d: atrack < 105.235.132.79] 4050eeb700965d8b000311119014854a64005d8564005d8564005d85004cea1e0230327600fb02000be4b0000601001c0000000007d007d00010011c00281a000017b777891a000000110000090000000000000000000000000000000033303630313a363037313a32362d303a303a302d303a303a302d303a303a302d303a303a302d303a303a302d303a303a3000001c0000000000000000000000
2023-03-02 09:25:42  INFO: [T7db6bd8d: atrack > 105.235.132.79] fe02000311119014854a5d8b
2023-03-02 09:25:42  INFO: [T7db6bd8d] id: 863192059097653, time: 2023-03-02 09:25:41, lat: 36.71308, lon: 5.04067, speed: 15.1, course: 251.0
2023-03-02 09:25:44  INFO: [T4dc214ba: atrack < 105.235.131.248] 40504985009711880003111190147f1964005d8764005d8764005d87004d795702309f4200aa020013013000060100000000000007d007d00010011c0028180000eec2778918000000320000090000000000000000000000000000000033303630313a36313132323a32342d303a303a302d303a303a302d303a303a302d303a303a302d303a303a302d303a303a3000000000ffcc006c03ec00000000
2023-03-02 09:25:44  INFO: [T4dc214ba: atrack > 105.235.131.248] fe020003111190147f191188
2023-03-02 09:25:44  INFO: [T4dc214ba] id: 863192059432576, time: 2023-03-02 09:25:43, lat: 36.74093, lon: 5.07734, course: 170.0
2023-03-02 09:25:46  INFO: [T1a6428ca: atrack < 105.235.129.240] 4050e62b0097050300031111901453a364005d8964005d8864005d88002e3f6b0230866b0072020023aab600060100460100000007d007d0000f008b0028180000c385546a18000000c500000900000000000000000000ffffffff000032313631303a35303035333a32342d303a303a302d303a303a302d303a303a302d303a303a302d303a303a302d303a303a3000004600fc90008001c400000000
2023-03-02 09:25:46  INFO: [T1a6428ca: atrack > 105.235.129.240] fe0200031111901453a30503
2023-03-02 09:25:46  INFO: [T1a6428ca] id: 863192059765483, time: 2023-03-02 09:25:45, lat: 36.73457, lon: 3.03089, speed: 37.8, course: 114.0
2023-03-02 09:25:47  INFO: [Ta06fde2d: atrack < 105.235.130.130] 405056960259084d000311119014b4cb64005d1264005d1164005d8800323da5022f8d71007e02003cac3f00050100270100000007d007d00013009000281200008c012a96120000003700000900000000000000000000ffffffff000031303930323a33353834313a31382d32313630373a333539363039313339323a32302d32313630373a333539363032353835363a31362d32313630373a333932363938323635363a31342d32313630373a333432373030383531323a31332d303a303a302d303a303a3000002c000000000000000000000064005d1764005d1664005d8800323f0b022f8c27009302003cac3f000501001f0100000007d007d00013008a00281200008c012a96120000003800000900000000000000000000ffffffff000031303930323a33353834313a31382d32313630373a333539363039313339323a32302d32313630373a333539363032353835363a31362d32313630373a333932363938323635363a31342d32313630373a333432373030383531323a31332d303a303a302d303a303a30000027000000000000000000000064005d1964005d1864005d8800323f47022f8b9b00ac02003cac3f000501001b0100000007d007d00013008c00281200008c012a96120000003800000900000000000000000000ffffffff000031303930323a33353834313a31382d32313630373a333539363039313339323a32302d32313630373a333539363032353835363a31362d32313630373a333932363938323635363a31342d32313630373a333432373030383531323a31332d303a303a302d303a303a3000001f0000000000000000000000
2023-03-02 09:25:47  INFO: [Ta06fde2d: atrack > 105.235.130.130] fe02000311119014b4cb084d
2023-03-02 09:25:47  INFO: [Ta06fde2d] id: 863192059555555, time: 2023-03-02 09:23:46, lat: 36.67083, lon: 3.29258, speed: 21.1, course: 126.0
Anton Tananaev2 years ago

Nothing after that?