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

Add fallback api urls specifically for Russia #276

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

zer0-dev
Copy link
Contributor

As mentioned in #246, Overpass is blocked in Russia. I've added fallback url to local Overpass instance. At the moment, only the most reliable one from Mail.ru. It's only called when the previous attempt fails.

Also removed https://overpass.osm.ch/api/interpreter as it only covers Switzerland, which sometimes resulted in 'API returned no data' error.

Not sure if this PR fixes #246. There may be some other reason, as it should eventually result in a timeout error anyway, and this issue is about infinite loading, and the author says VPN doesn't help. Maybe something preventing request even from being started in the first place.

@louis-e
Copy link
Owner

louis-e commented Jan 12, 2025

Good to know, thanks a lot!

@louis-e louis-e merged commit 6e3406f into louis-e:main Jan 12, 2025
3 checks passed
@zer0-dev zer0-dev deleted the russia_overpass_workaround branch January 12, 2025 20:57
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

Successfully merging this pull request may close these issues.

[BUG] infinity fetching data
2 participants