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

Add log message for timeout during elevation download #1867

Open
1 task done
jhaeu opened this issue Oct 18, 2024 · 2 comments
Open
1 task done

Add log message for timeout during elevation download #1867

jhaeu opened this issue Oct 18, 2024 · 2 comments

Comments

@jhaeu
Copy link
Contributor

jhaeu commented Oct 18, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Feature/Enhancement Proposal

Related to #1866 :
When elevation is enabled, ORS tries to download required, not cached elevation files during startup.
If a timeout occurs during elevation timeout, startup fails and only a misleading log message is shown:

Failed to either read or execute the ors configuration and its parameters: java.lang.RuntimeException: Couldn't process file /home/ors/files/osm_file.pbf, error: java.net.SocketTimeoutException: Connect timed out

Add a helpful log message, also containing the download URL.

Additional context

No response

Possible Implementation

No response

Forum Topic Link

No response

@alex-mitrani
Copy link

I second this, I'm having what seems to be the same problem with a very similar error message:

Failed to either read or execute the ors configuration and its parameters: java.lang.RuntimeException: Couldn't process file C:\Users\amitrani\Documents\GitHub\openrouteservice\Brazil\brazil-latest.osm.pbf, error: java.net.SocketTimeoutException: Connect timed out

I tried turning off the elevation functionality with elevation: false and this seems to have allowed the setup process to run without error, so it seems likely that the error was due to the process being unable to download elevation tiles. A more informative error message would be very helpful to understand the issue.

Thanks

@joewragg
Copy link

joewragg commented Oct 24, 2024

I'm having the same problem, I cannot build graphs

Any way to disable building the elevation cache as I am not using the elevation API at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants