VROOM-Project / vroom

Vehicle Routing Open-source Optimization Machine
http://vroom-project.org/
BSD 2-Clause "Simplified" License
1.35k stars 340 forks source link

Error 403 #1053

Closed Spokplacenta closed 11 months ago

Spokplacenta commented 11 months ago

I recently installed vroom on my mac with brew and : brew install boost git cmake libzip libxml2 lua tbb ccache and brew instal GDAL

When I launch it with vroom with : vroom -i /Users/me/myFile.json

I have :

[Error] Invalid routing response: HTTP/1.1 403 Forbidden
Content-Length: 0
Server: AirTunes/745.13.4

{"code":3,"error":"Invalid routing response: HTTP/1.1 403 Forbidden\r\nContent-Length: 0\r\nServer: AirTunes/745.13.4\r\n\r\n"}
Orthae commented 11 months ago

Are you running any routing engine?

Orthae commented 11 months ago

Doing quick google it looks like Apple is using port 5000 for some of their stuff. FYI, you need routing engine, Vroom by default is looking for OSRM at port 5000.

https://www.reddit.com/r/webdev/comments/qg8yt9/apple_took_over_port_5000_in_the_latest_macos/

nilsnolde commented 11 months ago

is mac os becoming less suitable for dev in each release? jeez, port 5000 is one of the most ubiquitous dev ports, almost seems intentional :smile:

jcoupey commented 11 months ago

Well, I don't think there is much actionable on our side here. If you indeed are running a routing engine, you should make sure it's accessible to VROOM, e.g. in the case of OSRM by running it on a different port than 5000 if your system decided you can't use that one.