2

I just updated Ubuntu 20.04 to 20.10, and I'm finding a lot of these geoclue errors in /var/log/syslog...

Nov 25 13:35:05 Satellite-E55 geoclue[105775]: Failed to query location: Forbidden

It appears in /etc/geoclue/geoclue.conf that it's making an inquiry to a Mozilla server with...

 url=https://location.services.mozilla.com/v1/geolocate?key=geoclue

Which returns the following error...

error   
errors  
0   
domain  "usageLimits"
reason  "dailyLimitExceeded"
message "You have exceeded your daily limit."
code    403
message "You have exceeded your daily limit."

And I guess that this is a common error, as everybody uses key=geoclue.

They give instructions in /etc/geoclue/geoclue.conf on how to use a Google server, but it requires its own API Key, and I haven't been able to find out how to get that.

# To use the Google geolocation service instead of mozilla's, simply uncomment
# this url while changing API_KEY to your Google API key and comment out or
# remove the url above.
#
# WARNING: Please make sure that you are complying with the Google's ToS and
#          policies if you uncomment this:

url=https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY

Is there a common/easy way to fix this? Why is this a new error in 20.10?

heynnema
  • 73,649

0 Answers0