openstreetmap / operations

OSMF Operations Working Group issue tracking
https://operations.osmfoundation.org/
99 stars 13 forks source link

Gateway time-out when opening a long relation history #1164

Open gy-mate opened 2 weeks ago

gy-mate commented 2 weeks ago

URL

https://www.openstreetmap.org/relation/7795942/history

How to reproduce the issue?

  1. Open the URL
  2. See the following error: Screenshot 2024-10-23 at 23 47 36

Screenshot(s) or anything else?

This relation is enormous: it has 275 members and 94 versions. But the website could handle these cases somehow (error handling / longer timeout / splitting versions to several pages), I think, considering that the relation of the Hungarian railway line 1 has more members and might also reach this version size in the near future: https://www.openstreetmap.org/relation/11965670

tomhughes commented 2 weeks ago

We do have a timeout but it looks like it's actually too long because cloudflare times out first. As far as I know we have no control over the cloudflare timeout but in any case that's an operational issue relating to the production deployment and not an issue with the web site code.

Firefishy commented 2 weeks ago

Cloudflare timeout is 100 seconds and we are unable to change it in the edition we are using.

gy-mate commented 2 weeks ago

@Firefishy For me it times out in just 30 seconds, not 100.

AntonKhorev commented 2 weeks ago

Maybe Cloudflare decides to display their timeout page when it receives a timeout status code from osm-website?