Timeout Errors with Service Metrics API

44 views
Skip to first unread message

Mas Gol

unread,
Apr 8, 2026, 7:07:04 AM (8 days ago) Apr 8
to A gathering place for the Open Rail Data community

Dear Support Team,

I hope you are well.

I am currently using the Service Metrics API (/api/v1/serviceMetrics) to retrieve historical data, but I am frequently encountering timeout and server errors, including:

504 Gateway Time-out
500 Unhandled exception
ReadTimeout errors

These occur even when querying small date ranges (daily or weekly) and using reduced time windows.

Could you please advise if there are any known issues, request limits, or recommended query sizes for this API?

Thank you for your help.

Kind regards,
Mas 

Peter Hicks

unread,
Apr 8, 2026, 7:10:34 AM (8 days ago) Apr 8
to openrail...@googlegroups.com
Hello

On Wednesday, 8 April 2026 at 12:07, Mas Gol <m.gol...@gmail.com> wrote:

Dear Support Team,

Just to note, this is community advice rather than specific support.

I am currently using the Service Metrics API (/api/v1/serviceMetrics) to retrieve historical data, but I am frequently encountering timeout and server errors, including:

504 Gateway Time-out
500 Unhandled exception
ReadTimeout errors

These occur even when querying small date ranges (daily or weekly) and using reduced time windows.

Could you please advise if there are any known issues, request limits, or recommended query sizes for this API?

This has been an issue for the Historical Service Performance (HSP) API for many years now.  Apparently it's due to 'heavy load', but I'm not sure where that load is - whether it's client requests, or an undersized server.

Your best option is to keep trying I'm afraid.


Peter

Mas Gol

unread,
Apr 8, 2026, 7:53:25 AM (8 days ago) Apr 8
to openrail...@googlegroups.com

Thanks, Peter. I appreciate the information. I'll keep trying.
Best regards,

Mas


--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openraildata-talk/f46wv7XB-d096iTs5P4gK7UAIz_3bHHAsfZxeamG9pgX2pPvn-whJ6BDiGjKaZhN93qlZGLNdTuslRfjKWGWR-pFiUnRVFuXCixRHL_IWfI%3D%40poggs.co.uk.
Reply all
Reply to author
Forward
0 new messages