Skip to content

Instantly share code, notes, and snippets.

@pnorman
Last active March 2, 2018 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnorman/977a728ca7b4e29fcd4f4046605d63a5 to your computer and use it in GitHub Desktop.
Save pnorman/977a728ca7b4e29fcd4f4046605d63a5 to your computer and use it in GitHub Desktop.
Your server might stop updating and scripts stop working when
planet.openstreetmap.org goes HTTPS-only. If you are using osmosis, you
MUST apply the updates below. Other software and scripts MAY need updates.
operations is working on switching some services to HTTPS-only, including
planet.openstreetmap.org. This has revealed a critical bug in Osmosis where
it fails to follow HTTP redirects.
If using osmosis with --read-replication-interval, please immediately
adjust the baseUrl of your configuration.txt file to point at
https://planet.openstreetmap.org, not http://planet.openstreetmap.org.
A sample configuration.txt file is below
# The URL of the directory containing change files.
baseUrl=https://planet.openstreetmap.org/replication/minute
# Allow 1 day of downloads
maxInterval = 86400
If you are writing your own scripts, please make sure they default to
https and they follow redirects.
How to follow redirects varies by library, but if using curl from the
command line, pass it the -L flag.
This issue is being tracked in the ticket https://github.com/openstreetmap/operations/issues/200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment