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

ConnectTimeout when adding as basemap #246

Open
BastienGauthier opened this issue Aug 2, 2024 · 3 comments
Open

ConnectTimeout when adding as basemap #246

BastienGauthier opened this issue Aug 2, 2024 · 3 comments

Comments

@BastienGauthier
Copy link

Hello,

I work with geopandas 1.0.1 and contextily 1.6.0. I tried to add a basemap using contextily, but with no success, even when switching the source via cx.providers. Note that I usually do this with folium or plotly without issue. Nevertheless, I am on my professional computer, so a firewall issue would not surprise me.

The depicted error after ax.add_basemap(...) :

ConnectTimeout: HTTPSConnectionPool(host='tile.openstreetmap.org', port=443): Max retries exceeded with url: /9/257/175.png (Caused by ConnectTimeoutError(, 'Connection to tile.openstreetmap.org timed out. (connect timeout=None)'))

Regards,

@martinfleis
Copy link
Member

Is it a recurring issue? It may as well be a temporary issue caused by some hiccups on the tile server.

@BastienGauthier
Copy link
Author

I retried today with the same error : it seems like a recurring issue indeed.

@martinfleis
Copy link
Member

Can you share a reproducible example?

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

2 participants