geolocation has stopped working (in Fedora's Firefox builds)
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
People
(Reporter: greta_watson, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Steps to reproduce:
- https://www.locast.org
- select the button that says to allow geolocation
Actual results:
Website says I denied geolocation
Expected results:
Geolocation should have been provided to Locast.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Thanks for reporting the issue. I couldn't reproduce it with a German IP address and Firefox 75.0b4:
Unfortunately Locast is not available in your area.Please Donate today
to help us bring locast to your area.
Comment 3•5 years ago
|
||
I tried to repro from Spain and got the location prompt, but it worked just fine... :/
Locast works only in the US. It knows enough that it will give you the not available message from outside the US without accurate geolocation. So, for you it appears to work.
A colleague from the US tested it with Firefox 74 on Windows 10 and it works for him.
When I use Google Chrome, with Fedora 30, it works fine. When I use Firefox with Fedora 30, it does not work.
Problem also occurs on https://gps-coordinates.org/what-is-my-zip-code.php. When using Google Chrome, I get latitude and longitude. When I am using Firefox, I don't.
Also, when using Firefox, if I don't select either choice (allow or deny location access), I get the message that I'm not in a location that is supported by Locast.
Comment 9•5 years ago
|
||
Does it happen from an official build like the ones from https://nightly.mozilla.org? Fedora ships with various patches. I'm with Nightly on Fedora 32 and all those URLs seem to work fine.
Reporter | ||
Comment 10•5 years ago
|
||
I got a disk for Fedora 28 KDE spin some time ago, and installed that. Then I ran the upgrade using the dnf upgrade process, going to 29. Repeated that from 29 to 30. Do "sudo dnf -y update" manually from the command line (xfce4-terminal) every couple of days.
Comment 11•5 years ago
|
||
Greta, can you please copy and paste the values of the following preferences from your Firefox's about:config page?
geo.enabled
geo.provider.network.url
geo.provider.use_gpsd (if it exists)
Is geolocation broken on all websites (including Google Maps)?
Reporter | ||
Comment 12•5 years ago
|
||
geo. enabled true
geo. provider.network.url https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%
geo.provider.use_gpsd does not exist
I have no clue how to tell if it is broken on Google Maps. It is broken on all the websites that ask for permission to access the location.
Comment 13•5 years ago
|
||
geo. provider.network.url https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%
Thanks. So your Firefox is using Google's Location Service ("GLS") to find your latitude and longitude. GLS requires a Google API key. Mozilla has a Google API key, but if your Firefox build is compiled by the Fedora Project itself, then Fedora is presumably filling in their own Google API key. Perhaps their API key has hit some request limit? I recommend asking on a Fedora support forum or bug tracker if other Fedora users have geolocation problems.
You can also try downloading an official Mozilla Firefox build (which will use Mozilla's Google API key) to see if the problem is still reproducible:
Reporter | ||
Comment 14•5 years ago
|
||
I downloaded the official Mozilla Firefox build. The problem did not occur. So, I guess this should be filed as a bug in Fedora's version of Firefox, and this one should be closed as not a bug in the official Mozilla Firefox build.
Thank-you for all your support. For the time being, I will use the official Mozilla Firefox build.
Comment 15•5 years ago
|
||
(In reply to Greta from comment #14)
I downloaded the official Mozilla Firefox build. The problem did not occur. So, I guess this should be filed as a bug in Fedora's version of Firefox, and this one should be closed as not a bug in the official Mozilla Firefox build.
Thanks for testing! If you file a Fedora bug report or get an answer in a Fedora forum, can you please share in this bug? I am curious to know what is happening and how Mozilla might be able to help prevent this problem in the future.
I will close this bug as "MOVED", meaning the bug has been delegated to a different organization.
Updated•5 years ago
|
Reporter | ||
Comment 16•5 years ago
|
||
The Mozilla Bugzilla bug I filed against Fedora Firefox is: 1814456. I will update here if/when I get more information.
Comment 17•5 years ago
|
||
Thanks, Greta!
Comment 18•5 years ago
|
||
We used to set quota by you guys: see bug 1377987. Francois did that for us, maybe he's could help. We use the project id firefox-for-fedora
and we have the same google api key for the safe browsing and location. Maybe that could be a problem too.
Comment 19•5 years ago
|
||
(In reply to Jan Horak [:jhorak] from comment #18)
We used to set quota by you guys: see bug 1377987. Francois did that for us, maybe he's could help. We use the project id
firefox-for-fedora
and we have the same google api key for the safe browsing and location. Maybe that could be a problem too.
I think Francois is no longer working at MoCo (though if he could help it'd be great)... Maybe Chutten knows who the right contact for this kind of stuff would be otherwise?
Comment 20•5 years ago
|
||
Lonnen has been working on geoloc.
Comment 21•5 years ago
|
||
Sadly I don't, but :Sylvestre is the contact my contact suggested, so... : D
Comment 22•5 years ago
|
||
Ah ah, I used to be in charge of this but Lonnen took the lead at some point :)
Comment 23•5 years ago
|
||
In the reorg this moved. /ccing WillKG and JWhitlock
Comment 24•5 years ago
|
||
I don't have any contacts at Google, or access to the Google API keys. It's not clear to me what was done on bug 1377987. I'll ask around to see if there is a new person in charge of this.
Updated•5 years ago
|
Comment 25•5 years ago
|
||
(In reply to Jan Horak [:jhorak] from comment #18)
We used to set quota by you guys: see bug 1377987. Francois did that for us, maybe he's could help. We use the project id
firefox-for-fedora
and we have the same google api key for the safe browsing and location.
That quota extension was specific to the Safe Browsing API. I'm not aware of Google granting quota extensions free-of-charge for the Geolocation API.
Comment 26•5 years ago
|
||
We reached out to Google on behalf of another distro last week, but we don't have an answer yet. I agree with :francois, I haven't heard of instances of Google granting free quota extensions for the Geolocation API, and in general has moved to lower quotas and charge earlier for APIs.
Comment 27•5 years ago
|
||
The best I can get from Google is to open an issue at:
https://enterprise.google.com/supportcenter/managecases
And they can investigate. There isn't anything we can do on our end.
Description
•