osmcha-frontend icon indicating copy to clipboard operation
osmcha-frontend copied to clipboard

bad gateway

Open grinapo opened this issue 4 weeks ago • 3 comments

Describe the bug

API seems to be in trance.

Changeset URL

No response

Environment

FF

Additional information

No response

grinapo avatar Nov 13 '25 09:11 grinapo

GET https://osmcha.org/api/v1/changesets/?page=1&page_size=25&date__gte=2025-11-11&date__lte=2025-11-13 09:40

502 Bad Gateway

502 Bad Gateway


nginx/1.29.0

grinapo avatar Nov 13 '25 09:11 grinapo

Seems like maybe it snapped out of the trance? Seems to be working quite smooth for me right now.

batpad avatar Nov 13 '25 10:11 batpad

Yes, but probably should be checked on the server what happened, since the GUI doesn't really like it, gets into infinte spinning and misleading the poor user into waiting for something never gonna happen. There ought to be a clear negative response, or the GUI shall handle the bad gw and timeout errors, and inform the user.

grinapo avatar Nov 14 '25 10:11 grinapo

Thanks for reporting this. There isn't anything interesting in the server logs from that time; it's likely that the server was overloaded with requests and began to fail its health checks, which causes the orchestrator to kill and restart it (and can lead to 502 errors for a short period while it comes back to life).

I've opened a separate issue (#873) to track the problem you mentioned with the frontend not showing this error state to the user.

jake-low avatar Nov 19 '25 20:11 jake-low