You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have deployed both osrm-backend and osrm-frontend instances via docker compose on a server.
And everything works fine independently. I can make requests from postman to backend and get the route info.
I can also open the frontend in the browser and see the map.
But, the problem is, on every routing request which frontend makes to the backed, it appends a query string in the from of hints=
and this particular query string makes the backend raise error.
So, what is this hints= all about? and how can I disable the frontend from sending it to backed? because without this hints= everything works just fine.
This is the exact error response from the backend:
{
"message": "Number of elements in hints size 1 does not match coordinate size 2",
"code": "InvalidOptions"
}
Hi guys
I have deployed both osrm-backend and osrm-frontend instances via docker compose on a server.
And everything works fine independently. I can make requests from postman to backend and get the route info.
I can also open the frontend in the browser and see the map.
But, the problem is, on every routing request which frontend makes to the backed, it appends a query string in the from of
hints=
and this particular query string makes the backend raise error.
So, what is this
hints=
all about? and how can I disable the frontend from sending it to backed? because without thishints=
everything works just fine.This is the exact error response from the backend:
{
"message": "Number of elements in hints size 1 does not match coordinate size 2",
"code": "InvalidOptions"
}
Request url which is sent by frontend to backend:
http://localhost:5000/route/v1/driving/10.000654,53.550341;13.3888599,52.5170365?steps=true&hints=
Thanks in advance for your amazing work
Environment in use:
os: debian 11
map-area: europe
osrm-backend: v5.26
osrm-frontend: latest
map-layer: osm
The text was updated successfully, but these errors were encountered: