Bug Report – Issues with Trip/Stop and Event Report Export

Haider 4 months ago

Hi,

I noticed a possible bug in the reporting system.

When I generate Trip and Stop reports, the results display correctly for Today and Yesterday.

However, if I select This Week, This Month, or any Custom Date Range, the report shows blank.

The same issue occurs with Event Reports. For example, when I apply filters like Ignition On/Off, the report displays fine in the UI, but when I try to Export it, I get an error:

This site can’t be reached
The webpage at
https://demo.traccar.org/api/reports/events/xlsx?from=2025-07-31T19%3A00%3A00.000Z&to=2025-08-31T18%3A59%3A59.999Z&deviceId=5118&deviceId=6153&deviceId=6152&type=ignitionOn&type=ignitionOff&type=alarm&type=geofenceExit&type=geofenceEnter&type=deviceFuelDrop&type=deviceFuelIncrease&type=deviceOnline
might be temporarily down or it may have moved permanently to a new web address.

ERR_INVALID_RESPONSE

Can you please check if this is a bug with the report generation or export functionality?

Thanks.

Anton Tananaev 4 months ago

What's the response exactly? What's the HTTP code and payload?

Haider 4 months ago

Thanks for the response.

For Trip & Stop reports, the page just shows blank when selecting "This Week," "This Month," or a custom date range.

For Event reports, when I try exporting, I don’t get any payload back — the browser directly shows:

This site can’t be reached
ERR_INVALID_RESPONSE

I also tested this on all Traccar demo servers, and the same issue occurs there as well.

Anton Tananaev 4 months ago

Trip & Stop reports issue is likely related to fast reports.

As for events report, it's working fine for me. Just tested it.

Haider 4 months ago

Hi,

I’ve recorded a short video showing the issue in action for better clarity:
https://youtu.be/nVHCPh0lE4M

Please check it out

Haider 4 months ago

Thanks for pointing that out. If the Trip & Stop report issue is related to fast reports, can you please guide me on how I can fix or work around this?

Anton Tananaev 4 months ago

You can change the threshold for fast reports and see if it solves the problem.

Haider 4 months ago

I had 2 months of backup on my server, so I added:

<entry key='report.fastThreshold'>5184000</entry>

This fixed the Trip & Stop report issue.

Haider 4 months ago

Did you also check the video I shared about the Event Report export issue?

Anton Tananaev 4 months ago

Yeah, but I cannot reproduce that specific issue.

Nabil MAKHLAF 4 months ago

I have this issue too, the events reports shows correctly the moving and stop events but the fast report is always blank,

Anton Tananaev 4 months ago

Are you using the latest version? There's a known issue.

Nabil MAKHLAF 4 months ago

OK I will check it