-
Notifications
You must be signed in to change notification settings - Fork 414
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
during health check ups "status": "not ready" #1677
Comments
192.168.10.15 - - [04/Feb/2024:04:51:00 +0000] "GET /ors/v2/health HTTP/1.1" 503 42 |
docker logs -f ors-app openrouteservice configurationExtract war file to /home/ors/tomcat/webapps/ors . ____ _ __ _ _ 04 Feb 05:16:48 INFO [ors.Application] - Starting Application v7.1.1 using Java 17.0.7 on 06717c55a79a with PID 1 (/home/ors/tomcat/webapps/ors/WEB-INF/classes started by root in /home/ors) Will the error here have any impact |
From the log output it seems you haven't configured any profile:
Still it seems to build a graph for the car profile. However, at the point where your log-file ends the graph is not yet finished building and ORS not fully started. |
@wangjiegui Thanks for reporting. It's as @sfendrich mentioned. The endpoint is returning 200 once the graphs are built and ors is ready. Until then, it reports whatever spring-boot allows us to report. Until a certain point it's 503, it could also be something else, depending on the internal tomcat startup phase. My advice here, make sure you define the profiles and rely on 200 as the indicator for ors is started, graphs are built and one can start querying. Closing the issue. |
Is there an existing issue for this?
Where did you encounter this issue?
live API
Request URL
http://localhost:8080/ors/v2/health
POST Request Body
Response
Response
PASTE HERE
Current behavior
Expected behavior
during health check ups "status": "not ready"
The steps used are:
docker-compose:
Openrouteservice Version
nightly
Build date
No response
Graph date
No response
Forum Topic Link
No response
The text was updated successfully, but these errors were encountered: