Gecoding errors

David Cole3 years ago

I've seen these errors.

2022-04-07 13:08:28  WARN: Geocoding failed - HTTP 429 Too Many Requests - ClientErrorException (...)

Based on a search found that the google api key being used is having issues.
I thought I had it turned off, but I see inside my docker container that default.xml is there and has geocoder is enabled. I assume this is your key.

What is the recommended way of updating this (to turn it off).
Replicate the default.xml and force it into the container via volumes.
Replicate the geo-coding settings in traccar.xml to override them?

I assume the default.xml can change depending on software version, which is why option 1 is less desirable.

Anton Tananaev3 years ago

Add this to the traccar.xml to disable:

<entry key='geocoder.enable'>false</entry>
David Cole3 years ago

Thanks. That just turns off traccar figuring out the address based on incoming tracking data right?
Wont stop it being loaded on a map.

Anton Tananaev3 years ago

Yes.