And you didn't reset it?
Have you checked if the data was received in that order?
I have installed the application on several Android devices, there are no problems with other devices, only on this device zeroing can occur several times a day. Here are the logs on different days:
2023-01-16 11:51:37 WARN: Device 20 cache missing
2023-01-16 11:51:37 INFO: [T62a8bb61] error - NullPointerException
2023-01-16 11:51:37 INFO: [T62a8bb61] disconnected
.
.
.
2023-01-17 03:49:25 WARN: Device 20 cache missing
2023-01-17 03:49:25 INFO: [T7bff5a46] error - Cannot invoke "org.traccar.model.Device.getUniqueId()" because "device" is null - NullPointerException (MainEventHandler:104 < ... < BaseDataHandler:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < GeocoderHandler:81 < ...)
2023-01-17 03:49:25 INFO: [T7bff5a46] disconnected
.
.
.
2023-01-17 04:09:26 WARN: Device 20 cache missing
2023-01-17 04:09:26 INFO: [T113c0c7f] error - Cannot invoke "org.traccar.model.Device.getUniqueId()" because "device" is null - NullPointerException (MainEventHandler:104 < ... < BaseDataHandler:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < GeocoderHandler:81 < ...)
2023-01-17 04:09:26 INFO: [T113c0c7f] disconnected
Reinstalled the application. While I'm watching.
Where can I see in what order the data is received?
You can check the server time.
The time on the server is accurate.
https://imageup.ru/img267/4167683/2.png.html
There is a possibility that the wrong time was set on the device. The driver says he changed the time. I checked the exact time now.
I'm not talking about your server clock. I'm talking about the server time from the positions.
The time corresponds.
Then the order is correct.
I will monitor the situation. I think it was because of the wrong time on the device.
https://imageup.ru/img247/4168232/1.png.html
It didn't work. There is still a problem. The distance is reset to zero. There is an error in the logs that I don't understand.
2023-01-17 18:13:35 INFO: [T4218e41b] connected
2023-01-17 18:13:35 INFO: [T4218e41b: osmand < 176.59.214.190] 504f5354202f3f69643d303030332674696d657374616d703d31363733393631323134266c61743d35352e30383631393537266c6f6e3d36302e303836353839322673706565643d302e3334383333323136383932383830322662656172696e673d37392e373839373431353136313133323826616c7469747564653d3332332e313030303036313033353135362661636375726163793d362e36383430303030313532353837383926626174743d36302e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f69642031323b20534d2d58323035204275696c642f535031412e3231303831322e303136290d0a486f73743a2036322e3136352e33372e32323a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2023-01-17 18:13:35 INFO: [T4218e41b: osmand > 176.59.214.190] 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2023-01-17 18:13:35 WARN: Device 20 cache missing
2023-01-17 18:13:35 INFO: [T4218e41b] error - NullPointerException
2023-01-17 18:13:35 INFO: [T4218e41b] disconnected
This error likely indicates that you removed an active device. Have you tried the common troubleshooting steps, like restarting the service?
I didn't delete the active device. The service was periodically restarted. Today I found the same problem on another Android device. Both devices were released last year. The rest of the old ones have no problems on them yet, they work perfectly.
I can't solve the problem. The total distance is still being reset.
https://imageup.ru/img215/4170027/1.png.html
https://imageup.ru/img279/4170030/2.png.html
2023-01-19 06:35:23 INFO: [T9155d880] connected
2023-01-19 06:35:23 INFO: [T9155d880: osmand < 176.59.214.190] 504f5354202f3f69643d3836323633382674696d657374616d703d31363734303932313232266c61743d35342e39323237383238266c6f6e3d36302e303632393135392673706565643d302e353635353931303733303631373034362662656172696e673d3335382e3535363138323836313332383126616c7469747564653d3336302e3435352661636375726163793d31342e37383939393939363138353330323726626174743d3130302e30266368617267653d7472756520485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f69642031323b20534d2d58323035204275696c642f535031412e3231303831322e303136290d0a486f73743a2036322e3136352e33372e32323a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2023-01-19 06:35:23 INFO: [T9155d880: osmand > 176.59.214.190] 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2023-01-19 06:35:23 WARN: Device 27 cache missing
2023-01-19 06:35:23 INFO: [T9155d880] error - Cannot invoke "org.traccar.model.Device.getUniqueId()" because "device" is null - NullPointerException (MainEventHandler:104 < ... < BaseDataHandler:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < *:29 < ... < GeocoderHandler:81 < ...)
2023-01-19 06:35:23 INFO: [T9155d880] disconnected
<entry key='filter.accuracy'>80</entry>
<entry key='filter.distance'>45</entry>
I added this yesterday, but the problem is present.
<entry key='report.ignoreOdometer'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.static'>true</entry>
<entry key='web.console'>true</entry>
Are you sure you're using the official version of Traccar without any code modifications?
https://imageup.ru/img23/4166593/bezymiannyi.png.html