GPS connected and reporting but positions are not recorded.

maclofin3 months ago

Several days checking and debugging and I found something that could be interesting.

This IMEI is disconnected: 865413058612812

But I see that it stop record position after a call to locationiq failed and it disconnect the device and connect again and after that, it should start to report normally but start to report without record the positions.

2024-09-02 12:30:03  INFO: [T7098bdbd: startek < 147.75.51.169] &&p141,865413058612812,000,40,,240902163003,A,18.873243,-71.515906,14,0.8,21,69,463,168708,370|1|0C09|00008A01,31,001D,02,00,0579|0197|0000|0000,1,AB\r\n
2024-09-02 12:30:03  INFO: Event id: 865413058612812, time: 2024-09-02 12:30:03, type: alarm, notifications: 2
2024-09-02 12:30:09  INFO: [T589fcbfd: startek < 145.40.69.43] &&M159,865235057370807,000,0,,240902163010,A,18.494876,-69.893606,14,0.8,0,268,55,3660746,370|2|2EF5|00041D01,31,0000003D,00,00,0508|01A0|006C|0000,1,010000|020000,,76\r\n
2024-09-02 12:30:09  INFO: [T589fcbfd] id: 865235057370807, time: 2024-09-02 12:30:10, lat: 18.49488, lon: -69.89361, course: 268.0
2024-09-02 12:30:11  INFO: [Tbe2e6129: startek < 145.40.69.41] &&F141,865413058738443,000,0,,240902163011,A,18.378775,-70.470611,12,0.8,83,157,166,130223,370|2|539B|0000CC76,12,001D,02,00,0576|019F|0000|0000,1,A4\r\n
2024-09-02 12:30:11  INFO: [Tbe2e6129] id: 865413058738443, time: 2024-09-02 12:30:11, lat: 18.37878, lon: -70.47061, speed: 44.8, course: 157.0
2024-09-02 12:30:13  INFO: [T7098bdbd] error - us1.locationiq.com - UnknownHostException (... < JsonGeocoder:126 < NotificationManager:129 < *:177 < ProcessingHandler:186 < AlertEventHandler:50 < ...)
2024-09-02 12:30:13  INFO: [T7098bdbd] disconnected
2024-09-02 12:30:13  INFO: Event id: 865413058612812, time: 2024-09-02 12:30:13, type: deviceOffline, notifications: 1
2024-09-02 12:30:20  INFO: [T7fe4492f] connected
2024-09-02 12:30:20  INFO: [T7fe4492f: startek < 147.75.51.169] &&q140,865413058612812,000,0,,240902163018,A,18.873891,-71.514215,14,0.8,60,67,457,168916,370|1|0C09|00008A01,25,001D,02,00,0583|0197|0000|0000,1,81\r\n
2024-09-02 12:30:20  INFO: Event id: 865413058612812, time: 2024-09-02 12:30:20, type: deviceOnline, notifications: 1

The odd thing is that I deleted all locationIQ config file configurations a month ago and restart the server a lot of times.

The only place that I have locationIQ is in the maps settings of the Traccar frontend server.

Screenshot 2024-09-02 131047.png

Should I change it to openstreetMap?

Anton Tananaev3 months ago

LocationIQ is the default geocoding provider. How did you disable it exactly?

maclofin3 months ago

Mmm, then I deactivated only the map view, under preferences -> default maps.

Then is the locationIQ is the default geocoding provider, how to avoid that with this error the devices goes into the issue of not recording position?

Anton Tananaev3 months ago

It has nothing at all to do with maps. If you want to disable geocoding, you have to do it in the config file. Please read the documentation.

maclofin3 months ago

Ok, but a simple UnknownHostException from the geocoder should not bring the error that the devices do not save the positions, I think that would need a fix, the ideal would be for it to continue reporting and recording without problems.

Anton Tananaev3 months ago

Contributions are welcome.

maclofin3 months ago

Could I have a budget to solve it with your paid support service?

Anton Tananaev3 months ago

Yes, email us to discuss it.