Tested just now (25 April, 10:00 UTC) and a query to the service with the "geoclue" key returns a valid location. I wonder if someone already increased the quota for that key and the issue can be considered solved, or if it's just a lucky coincidence and the daily limit was reset before I tried.
If the problem persists, there are two possible approaches: - Ensure the daily limit for the "geoclue" key is high enough (unlimited?) that it can reasonably sustain all the requests coming from Ubuntu (and other distros), and check with upstream geoclue that they are fine with distros using the upstream key - Request an Ubuntu-specific key (see https://location.services.mozilla.com/api) and distro-patch geoclue-2.0 to use that key -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to geoclue-2.0 in Ubuntu. https://bugs.launchpad.net/bugs/1826290 Title: geoclue mozilla location api key rate limited Status in geoclue-2.0 package in Ubuntu: Confirmed Bug description: I am using Ubuntu 19.04 geoclue version: 0.12.99-4ubuntu2 geoclue2 version: 2.5.2-1ubuntu1 The key used by geoclue in ubuntu to access the mozilla location service appears to be rate limited. Here's the relevant lines in /etc/geoclue/geoclue.conf # URL to the wifi geolocation service. The key can currenty be anything, just # needs to be present but that is likely going to change in future. url=https://location.services.mozilla.com/v1/geolocate?key=geoclue The comment is wrong, using an invalid key gives a 400 error. $ curl https://location.services.mozilla.com/v1/geolocate\?key=random_key {"error":{"code":400,"message":"Missing or invalid API key.","errors":[{"domain":"usageLimits","message":"Missing or invalid API key.","reason":"keyInvalid"}]}}% Using the current key gives a limit reached error $ curl https://location.services.mozilla.com/v1/geolocate\?key=geoclue {"error":{"code":403,"message":"You have exceeded your daily limit.","errors":[{"domain":"usageLimits","message":"You have exceeded your daily limit.","reason":"dailyLimitExceeded"}]}}% To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/geoclue-2.0/+bug/1826290/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp