Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gy-mate opened this issue Oct 23, 2024 · 4 comments
Open

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

gy-mate opened this issue Oct 23, 2024 · 4 comments

Comments

@gy-mate
Copy link

gy-mate commented Oct 23, 2024

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
Copy link
Member

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.

@tomhughes tomhughes transferred this issue from openstreetmap/openstreetmap-website Oct 23, 2024
@Firefishy
Copy link
Member

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

@gy-mate
Copy link
Author

gy-mate commented Oct 24, 2024

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

@AntonKhorev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants