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

Use https for references to openstreetmap.org. #793

Merged
merged 2 commits into from
Mar 14, 2018
Merged

Use https for references to openstreetmap.org. #793

merged 2 commits into from
Mar 14, 2018

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Mar 7, 2018

Recently, all http requests to openstreetmap.prg get a 307 response to forward them to the https server. It is more efficient to access the https server directly. OSM has been running https servers for several years now (at least since 2014), so this should be as stable as OSM is in general.

I haven't figured out how to proxy https requests to karma. Perhaps we'd have to run karma in https mode, but my first foray into that didn't work. For now, the one test (the lines example) just uses the http openstreetmap.org reference in the test.

Recently, all http requests get a 307 response to forward them to the
https server.  It is more efficient to access the https server directly.
OSM has been running https servers for several years now (at least since
2014), so this should be as stable as OSM is in general.

I haven't figured out how to proxy https requests to karma.  Perhaps
we'd have to run karma in https mode, but my first foray into that
didn't work.  For now, the one test (the lines example) just uses the
http openstreetmap.org reference in the test.
@aashish24
Copy link
Member

awesome.. this is very quick. I am assuming that you addressed the testing issue?

@manthey
Copy link
Contributor Author

manthey commented Mar 7, 2018

This uses http with a proxy for testing (see PR comment).

Also, Chrome 65 headless with mesa has what looks like a bug that caused travis to fail on existing tests, so this PR is dependent on #792.

@manthey manthey changed the base branch from chrome-65-testing to master March 14, 2018 19:44
@manthey manthey merged commit 673b2bd into master Mar 14, 2018
@manthey manthey deleted the https-osm branch March 14, 2018 20:10
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.

2 participants