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

CSP directive blocks access to Overpass server #1993

Closed
mmd-osm opened this issue Sep 13, 2018 · 5 comments
Closed

CSP directive blocks access to Overpass server #1993

mmd-osm opened this issue Sep 13, 2018 · 5 comments

Comments

@mmd-osm
Copy link
Contributor

mmd-osm commented Sep 13, 2018

Chrome 69 refuses to access Overpass API due to:

:connect_src => %w[nominatim.openstreetmap.org overpass-api.de router.project-osrm.org graphhopper.com],

Error message:
Refused to connect to 'https://lz4.overpass-api.de/api/interpreter' because it violates the following Content Security Policy directive: "connect-src 'self' piwik.openstreetmap.org nominatim.openstreetmap.org overpass-api.de router.project-osrm.org graphhopper.com".

-> Both lz4.overpass-api.de and z.overpass-api.de need to be added here as well. overpass-api.de is just an alias for those two production servers.

@tomhughes
Copy link
Member

Well we work on the basis of hostnames so it shouldn't matter how many servers they resolve to, or are you saying that overpass-api.de is actually redirecting to those names?

@tomhughes
Copy link
Member

It looks to me like they are just two DNS entries and there is no redirection going on. Certainly the query tool seems to be working for me in Firefox.

@tomhughes
Copy link
Member

And in Chrom(ium) as well.

@mmd-osm
Copy link
Contributor Author

mmd-osm commented Sep 13, 2018

Which Chrome version are you on? I'm getting this error since today on Version 69.0.3497.92 (Official Build) (64-bit)

@mmd-osm
Copy link
Contributor Author

mmd-osm commented Sep 13, 2018

Ah, sorry for the noise, that's Switcheroo extension triggering this Javascript error... Closing here.

@mmd-osm mmd-osm closed this as completed Sep 13, 2018
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