chairemobilite / trRouting

Transit Routing server app using Connection Scan Algorithm and flexible parameters
GNU General Public License v3.0
24 stars 10 forks source link

connection refused when osrm is not available or crashed #287

Closed kaligrafy closed 6 months ago

kaligrafy commented 6 months ago

[error] -- unknown exception in accessibility calculation -- Connection refused [system:61 at /opt/homebrew/include/boost/asio/detail/reactive_socket_connect_op.hpp:97:37 in function 'do_complete'] Caught exception "Connection refused [system:61 at /opt/homebrew/include/boost/asio/detail/reactive_socket_connect_op.hpp:97:37 in function 'do_complete']"

is caused by osrm not responding. Can we detect this and output a better error message?