-
Notifications
You must be signed in to change notification settings - Fork 60
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
I can't start, got error code 3 connecting routing system #25
Comments
full docker-compose pls? also the |
I don't use docker-compose, I use dockerFile. I didn't changed config file. This is my trace: Uploading [====================] 100% (ETA 0.0s) This might take several minutes. PLEASE BE PATIENT... ⠙ Building your source code... ---> Running in da556a8de278 ---> Running in 85fc9845715e ---> Running in e3a5d3908be6 ⠋ Building your source code... ---> Running in b864ef736c3d make: Entering directory '/vroom/src' ---> Running in c7e43f60ff56 ---> Running in da611b1da0e1 You are in 'detached HEAD' state. You can look around, make experimental If you want to create a new branch to retain commits you create, you may git checkout -b HEAD is now at 365754d Bump version number. Removing intermediate container da611b1da0e1 ---> 23a6fb50e6cb ---> 44fa8f92eb11 ---> Running in 36e4d53c8913 ⠏ Building your source code...
---> f1df61115897 ---> Running in 99b67f3ca1d1 ---> Running in 978afb9d7c5b ---> Running in e213da66571c ---> Running in 096c3ffdbc4f ---> Running in 72acca1ed520 Deployed successfully api-vroom |
this is not reproducible for me.. you're using default here. meaning do you have osrm or ors available on that machine? |
with that config, what's the failing request then? |
how i can check if OSRM is up in docker? |
not sure what you mean here.. did you explicitly start a OSRM instance? |
how i can check in container if OSRM instance already up |
no idea if it has a health endpoint. just make a request.. http://project-osrm.org/docs/v5.23.0/api/ how are you running osrm? what is the failing request? |
You are receiving error because you need to install osrm locally or use any external service and add that serivice api in your config. Incase of ors, you can visit their website. And then in vehicles, you need to use the profile accordingly (Car is for osrm). If you dont specify a profile, VRoom will make it Car profile (its default in Vroom) but in docker, ors is default. |
Not sure if related. But I'm trying to deploy one image VROOM+ORS and I keep getting the following error when I'm testing the following request: Failed Request
Failed Response
Interestingly it works when I change the coordinates to something "closer" Success Request
Success Response
docker-compose.yml
config.ymlI tried to change the host from
I'm basically composing Which would be something like:
Would appreciate any help. Tks! |
The reason why it "works" in your second example is that there is only one location in the problem so we use a trivial matrix and bypass the routing engine call. Just slightly change any of the coordinates and you'll hit the same error. So it all comes down to: there is something wrong which prevents reaching your ORS endpoint. |
You're not doing anything wrong actually. However, use You're probably hitting this one: GIScience/openrouteservice#839. Follow the advice I gave there. You can confirm when you're looking at the ORS logs. |
closing this. weirdest title anyways. @renannery if your issue still persists, probably you'll need to debug the ORS container. The setup in this repository should work if the OSRM and ORS images and runtime containers are not faulty. |
I followed the steps and build my test in https://api-vroom.cr.onway.app/
But when I try with test request sometimes I got (using VROOM_ROUTER="ors"):
2020-11-06T13:05:18.465245743Z Fri, 06 Nov 2020 13:05:18 GMT: [Error]
2020-11-06T13:05:18.465584149Z Fri, 06 Nov 2020 13:05:18 GMT: Failed to connect to 0.0.0.0:5000
2020-11-06T13:05:18.465862641Z Fri, 06 Nov 2020 13:05:18 GMT:
Changing enviroment variables and using (VROOM_ROUTER="osrm") I got:
2020-11-06T13:12:49.048898242Z Fri, 06 Nov 2020 13:12:49 GMT: [Error]
2020-11-06T13:12:49.049249511Z Fri, 06 Nov 2020 13:12:49 GMT: Invalid profile: car.
2020-11-06T13:12:49.049500938Z Fri, 06 Nov 2020 13:12:49 GMT:
Any help?
The text was updated successfully, but these errors were encountered: