Firefox: Geolocation error POSITION_UNAVAILABLE

revision 0212cc3cb35acfe717e76bd0eec575885fced437

raw

phork0.txt

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

History