Unable to generate Trip Report more than a day

Zuhairia year ago

Hi,

We've been facing an issue which one of our device Teltonika FMB125 was unable to generate a Trip Report more than 1 day and when we tried to select a date range, there was nothing shown. i've already check the from the logs but there is no errors when generate this report. now i can only select 1 day to generate the report which is time consuming as i need a month instead for this device.

log when generate remote more than 1 day

1 day trip report generate

2 day trip report generate

Other device 1month trip report generate

we have no problem on generating trip report for other device except for this unit and i've check on the tc_positions and there is a data for this device.

tc_positions data

this is the only config that i'm currently using

     <entry key='geolocation.enable'>true</entry>
     <entry key='geolocation.reuse'>true</entry>  
     <entry key='geolocation.processInvalidPositions'>true</entry>  
     <entry key='filter.zero'>true</entry>
     <entry key='filter.invalid'>true</entry>    
     <entry key='geocoder.enable'>true</entry>
     <entry key='geocoder.onRequest'>true</entry>
     <entry key='geocoder.ignorePositions'>true</entry>
     <entry key='geocoder.reuseDistance'>3000</entry>  
     <entry key='geocoder.cacheSize'>60000</entry>
     <entry key='filter.enable'>true</entry>
     <entry key='filter.duplicate'>true</entry>
     <entry key='processing.computedAttributes.deviceAttributes'>true</entry> 
     <entry key='teltonika.timeout'>300</entry>
     <entry key='osmand.timeout'>300</entry>
Anton Tananaeva year ago

Have you tried changing report.fastThreshold?

Zuhairia year ago

Hi Anton, didnt try yet on this. will let u know once i tested it

Zuhairia year ago

Hi Anton,

i've tried adding <entry key='report.fastThreshold'>600</entry> and tested few time by changing the duration but its still unable to generate the trip report for the said device.

however from the log there is an error shown as below

2024-01-05 11:14:56  INFO: Started Server@1c2880e8{STARTING}[10.0.15,sto=0] @8662ms
2024-01-05 11:14:59  INFO: user: 4, action: login, from: 127.0.0.1
2024-01-05 11:15:19  INFO: user: 4, report: trips, from: 2023-12-24 00:00, to: 2023-12-30 23:59, devices: [10], groups: []
2024-01-05 11:15:31  INFO: user: 4, report: trips, from: 2023-12-01 00:00, to: 2023-12-31 23:59, devices: [10], groups: []
2024-01-05 11:15:32  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:195 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:33  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:185 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:35  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:185 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:36  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:195 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:38  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:195 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:39  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:185 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:41  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:185 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:42  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < ReportUtils:195 < *:272 < *:395 < *:298 < TripsReportProvider:65 < ...)
2024-01-05 11:15:57  INFO: user: 4, report: trips, from: 2023-12-24 00:00, to: 2023-12-30 23:59, devices: [3], groups: []
Anton Tananaeva year ago

The value doesn't make sense. You have to set it higher than the default.

Zuhairia year ago

Hi Anton,

yes, i've also did tried few times using a higher than default from 600 up to 60000 <entry key='report.fastThreshold'>60000</entry> however it also giving the same error as mention earlier. the report still unable to generate for the said device

Kaloyan Kaneva year ago

The value is in seconds. One day by default.

That mean the value is 86400 seconds by default!