"Snap to Road with GraphHopper not working - No API calls made"

Angelo Zuottolo5 days ago

Hello,
I am running a clean installation of Traccar Server v6.8.1 on a new Ubuntu 22.04 VM. My goal is to use the Snap to Road feature with GraphHopper.
The server is running, and it receives positions correctly, but it never makes any API calls to GraphHopper. I have verified this by checking the GraphHopper dashboard (0 requests) and the Traccar server logs (no warnings or errors related to routing).
Here is my configuration from traccar.xml:

<entry key='processing.computedAttributes.enable'>true</entry>
<entry key='processing.computedAttributes.snapToRoad'>true</entry>
<entry key='web.lilius'>true</entry>
<entry key='routing.type'>graphhopper</entry>
<entry key='routing.key'>MY_VALID_API_KEY</entry>

Here are the facts:
The API key is new and works correctly in a direct curl/python test.
The server has a working internet connection and can reach GraphHopper.
The Traccar log only shows the position being received, with no errors.
It seems the server is silently ignoring the routing configuration. Is there any other parameter or step I am missing to activate this feature? Thank you.

Anton Tananaev5 days ago

Have you verified your configuration against the official config documentation?

Angelo Zuottolo5 days ago

yes

Anton Tananaev5 days ago

Great please provide a screenshot from doc where you see those parameters.

Angelo Zuottolo5 days ago

Sorry i can't find it, how can i use a Snap To Road feature to see a realistic simulation of a route between 2 positions?