Firefox: Geolocation error POSITION_UNAVAILABLE

revision 365617bb925ba3ef2418244adffdddb80bafed72

raw

README.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Websites using the HTML5 geo api on Firefox 76 from Ubuntu 18.04 get errors::
 
 GeolocationPositionError
 â€‹code: 2 (POSITION_UNAVAILABLE)
 message: "Unknown error acquiring position"
 
The browser tools help (Burger menu -> web developers -> browser tools -> network tab) and show::
 
    {
      "error": {
        "code": 429,
        "message": "Quota exceeded for quota group 'default' and limit 'Requests per day' of service 'geolocation.googleapis.com' for consumer 'project_number:424119844901'.",
        "errors": [
          {
            "message": "Quota exceeded for quota group 'default' and limit 'Requests per day' of service 'geolocation.googleapis.com' for consumer 'project_number:424119844901'.",
            "domain": "global",
            "reason": "rateLimitExceeded"
          }
        ],
        "status": "RESOURCE_EXHAUSTED"
      }
    }
 
The configuration is in ``about:config``, ``geo.provider.network.url``.
Default::
 
 https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%
 
New one that works::
 
  https://location.services.mozilla.com/v1/geolocate?key=test
 
 
See also:
- https://stackoverflow.com/a/51534563/282601

History