New issue
Advanced search Search tips

Issue 753242 link

Starred by 19 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Chrome
Pri: 2
Type: Bug-Regression


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

Network location provider at 'https://www.googleapis.com/' : Returned error code 403.

Reported by zac.spit...@gmail.com, Aug 8 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. navigator.geolocation.getCurrentPosition(function success(pos){console.log(pos);}, function error(pos){console.log(pos);})

What is the expected behavior?
just get a location back!

It's doing this on both a ethernet connected win10 desktop and a win10 laptop on wifi 

(via separate isp connections, one is static, one is dynamic)

What went wrong?
PositionError {code: 2, message: "Network location provider at 'https://www.googleapis.com/' : Returned error code 403."}

Did this work before? N/A 

Chrome version: 59.0.3071.115  Channel: n/a
OS Version: 10.0
Flash Version: 

It tends to regularly fail during the afternoons in Australia
 
needs to be run in dev tools on localhost or a https website with location allowed

Comment 2 by m...@jxeeno.com, Aug 8 2017

This occurs on Mac too.

I'm running:

OS Version: 10.11.6
Chrome version: Version 59.0.3071.115 (Official Build) (64-bit)

As described, usually occurs in the AEST afternoons (around 2-ish till 6-ish).
I get this same error on my production SSL site that uses a Lets Encrypt Certificate.  Also i get the error using a self signed certificate with chrome version 59-62.  Firefox, safari all work fine.

Comment 4 by m...@jxeeno.com, Aug 8 2017

Did a bit of digging.  It appears the API key limit was exceeded (presumably there's one embedded in Google Chrome).

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceeded",
    "message": "This API requires billing to be enabled on the project. Visit https://console.developers.google.com/billing?project=77185425430 to enable billing.",
    "extendedHelp": "https://console.developers.google.com/billing?project=77185425430"
   }
  ],
  "code": 403,
  "message": "This API requires billing to be enabled on the project. Visit https://console.developers.google.com/billing?project=77185425430 to enable billing."
 }
}

Can confirm that this is related to Chrome's internal api key used for google maps geo location running out of daily quota.  The issue stopped occurring at 12 am PST.  Please fix this.
Cc: dougt@chromium.org
Components: Blink>Location
Owner: scheib@chromium.org
Cc: amoylan@chromium.org
Status: Started (was: Unconfirmed)
Thank you for reporting. We have adjusted API limits that should ease this immediately. Our monitoring is clearly not sufficient and we will follow up with process improvements to avoid this recurring.
Owner: cco3@chromium.org
Started getting this a couple of days ago on Chromium/Ubuntu. Other browsers work fine.

I've been using the machine to develop software that uses Google Maps API. reinstalled the whole os and it worked again for a short while now failing again.

The internal API key runnig out of quota seems logical to my behaviour.

Quick fix or a workaround would be great!

Version 60.0.3112.78 (Developer Build) Built on Ubuntu , running on Ubuntu 17.04 (64-bit)
#11, thank you for reporting this again.  I've looked and do see UMA reporting errors roughly a week after #9.  So, we will be looking again at this issue.

However, this issue is about Chrome's API keys (not chromium), so I want to be clear on expectations.


Components: Blink>Geolocation
Components: -Blink>Location
Labels: OS-Chrome
Owner: scheib@chromium.org
Status: Fixed (was: Started)
daily and 100second quota were adjusted. 
Cc: vamshi.kommuri@chromium.org
 Issue 814100  has been merged into this issue.
this is happening again, but only in Canary in the afternoon in Australia, the error message is different, just reports a timeout
Cc: pkasting@chromium.org
Status: Untriaged (was: Fixed)
pkasting@, could you take a look please?
before you fix this, it's a good way to reproduce https://bugs.chromium.org/p/chromium/issues/detail?id=542923
Owner: ----
I reported the latest problem with Canary timing out back on Feb 22, it's still happening
Cc: -pkasting@chromium.org
@18: Not sure why I'm looped in here; I don't know anything about geolocation or quotas.
Owner: mattreynolds@chromium.org
Status: Assigned (was: Untriaged)
Geolocation is now timing out in Chrome Stable 65.0.3325.146, try google maps on the web
In a development website with HTTPS I always get that error.

Geolocation error: Network location provider at 'https://www.googleapis.com/' : Returned error code 403
Chrome: Version 71.0.3578.98 (Official Build) (64-bit)
OS: MacOS

ERROR
{code: 2, message: "Network location provider at 'https://www.googleapis.com/' : No response received."}

Using https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API jsFiddle example, works in Firefox.

Sign in to add a comment