Skip to content
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

Error on auto sending hints= from frontend to backend #347

Open
mononobi opened this issue Feb 8, 2022 · 1 comment
Open

Error on auto sending hints= from frontend to backend #347

mononobi opened this issue Feb 8, 2022 · 1 comment

Comments

@mononobi
Copy link

mononobi commented Feb 8, 2022

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 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"
}

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

@xor22h
Copy link

xor22h commented Feb 12, 2023

Same issue on my side... :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants