-
Notifications
You must be signed in to change notification settings - Fork 412
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
Processing OSM map throws java.net.SocketTimeoutException, external connectivity? (firewall/setting) #1620
Comments
This might be ORS trying to download elevation data. Does this also happen when you disable elevation in your profile configurations? |
@sfendrich thanks for the fast response, yes, it seems it is also happening when disabling elevation. This is my current ors-config file, I have tried disabling every mention to Update: turns out even though I modified the ors-config.json, the |
Here are the URLs currently used by ORS depending on which elevation provider is configured: The underlying GraphHopper also lists the following URLs, but I don't know whether these elevation providers are supported by ORS. If you do not want to open your firewall, you could also download the elevation data manually and put it into the elevation cache dir. |
Thank you very much @sfendrich , this was exactly what I was looking for! I can close the issue now. |
Is there an existing issue for this?
Problem description
I am deploying a self-hosted ORS docker image (v7.2.0) on an enterprise AWS cloud account. When booting up the ORS server, it throws the following error while processing the default (example Heildeberg) OSM file:
java.lang.RuntimeException: Couldn't process file /home/ors/ors-core/data/osm_file.pbf, error: java.net.SocketTimeoutException: Read timed out
Given that it is a socket timeout exception, my understanding is that it is due to an attempt to perform an external (internet-faced) connection. These connections are tightly blocked at my company's firewall. Is it possible to disable any internet-connection operation done in the server startup so that it only works with local files? If not, it is possible to know the exact list of URLs that ORS will attempt to connect to so that I can whitelist them on the firewall?
Thank you very much in advance.
Proposed solution
A config can be setup so that it disables some feature (elevation?) that attempts to fetch data from the internet. ELSE provide list of URLs that ORS will attempt to connect to.
Additional context
No response
Forum Topic Link
No response
The text was updated successfully, but these errors were encountered: