geolocation network error

Merzoug 6 years ago

Hello;
plz i want to use LBS geolocation with API provided by Google,
So, with current config :

<entry key='geolocation.enable'>true</entry>
<entry key='geolocation.type'>google</entry>
<entry key='geolocation.key'>xxxxxxxxxxxxxxxxx</entry>
<entry key='geolocation.processInvalidPositions'>true</entry>

I find this log result :

WARN: Geolocation network error - HTTP 429 Too Many Requests - ClientErrorException (...)
INFO: [851bd8a9] id: 7404846436, time: 2020-05-03 16:12:34, lat: 0.00000, lon: 0.00000, course: 0.0

But, when I set the value of 'geolocation.processInvalidPositions' to false, I receive the invalid positions (0,0) without the 'warning message'
I need help for this error please.

Anton Tananaev 6 years ago

The errors seems to be pretty self-explanatory.

Rodrik 6 years ago

Which device and protocol, are you using ?

Merzoug 6 years ago

Anton, maybe it's clear, but how can i fix it ?

Rodrik, i use kids-watch S4, with 5093 gprs-protocol.

Rodrik 6 years ago

Merzoug, most of kids trackers have common issues with the firmware. I faced lot of issues mostly indoor locations. I tried many brands, looks all copy past R&D (Replicate & Duplicate) technology. I will test it in my server and let you know the solution.

Anton Tananaev 6 years ago

Rodrik, the issue is clearly with the geolocation provider. Device and firmware is completely irrelevant here.

Merzoug, you should contact your geolocation provider.

Merzoug 6 years ago

Hello, thank you for your support !
which geolocation provider should I contact?
I said that I use the traccar service for the gprs protocol, since my watches do not work by gps, so I add the lines of reverse geolocation providers by the google API on the file 'traccar. xml '.
knowing that when I used '' OpenCelliD provider '' I received the positions of the watch in a normal way except that sometimes I lost the accuracy over a long period of time that's why I wanted to use the google API, but I found myself on the error of "Geolocation network error - HTTP 404 Not Found" or else "Geolocation network error - HTTP 429 Too Many Requests" with null positions (lat: 0.00000, lon: 0.00000)
I hope my problem is clear now !

Anton Tananaev 6 years ago

What is "reverse geolocation"?

You should contact the provider that returns you "Too Many Requests".

Merzoug 6 years ago

All i did was create a project on google cloud platform to get the api key and add a restriction which allows accepting requests from my server (where i run traccar service),
I think that's all I can do on google_provider!