Mozilla positioning Service daily limit exceeded
I noticed that I did not seem to be getting any positioning (just cached earlier location) when GPS was not available (i.e inside buildings). I started looking into this and found the command to run the mozilla geoclue plugin in debug mode:
QT_LOGGING_RULES="*.debug=true" devel-su -p /usr/libexec/geoclue-mlsdb
But what I see in the output is error (key removed)
[D] unknown:0 - Cannot fetch position from online source: "Error transferring https://location.services.mozilla.com/v1/geolocate?key= - server replied: Forbidden" , falling back to offline source
I tried the URL in browser and the answer is:
{"error":{"code":403,"message":"You have exceeded your daily limit.","errors":[{"domain":"usageLimits","message":"You have exceeded your daily limit.","reason":"dailyLimitExceeded"}]}}
So it seems Jolla's API key's daily limit is reached (already at noon in Finland), and that's why the positioning does not work whitout GPS. It also seems the offline geolocation data is not installed by default, so fallback to offline source does not work either....
And btw, it seems that the cached location is not updated very consistently, I can get a cached location from many days ago (and hundreds of kilometers away) even if I've had a GPS fix after that
From I read on their website, Mozilla limits keys to approx. 100 000 requests/day and don't offer any other plan.
Dylan Van Assche ( 2018-09-18 13:25:43 +0200 )editStrange, I would kinda expect Jolla to have made provisions for a custom possibly paid plan to avoid exactly situations like this one.
MartinK ( 2018-09-18 17:10:43 +0200 )edit