Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Geo-location is completely wrong

  • 6 odpovedí
  • 2 majú tento problém
  • 1 zobrazenie
  • Posledná odpoveď od Tonnes

more options

Hi,

When I am using a website that has access to the geo-location is says I am in France. Sadly I am stuck in the Netherlands, so it is off by a little over 1000 kilometers. This also happens to a coworker of mine, we used this site to test: https://google-developers.appspot.com/maps/documentation/javascript/examples/full/map-geolocation

I have attached a couple off screenshots to illustrate my problem. By the way, Chrome and Edge work fine.

Thanks in advance!

Hi, When I am using a website that has access to the geo-location is says I am in France. Sadly I am stuck in the Netherlands, so it is off by a little over 1000 kilometers. This also happens to a coworker of mine, we used this site to test: https://google-developers.appspot.com/maps/documentation/javascript/examples/full/map-geolocation I have attached a couple off screenshots to illustrate my problem. By the way, Chrome and Edge work fine. Thanks in advance!
Priložené obrázky

Upravil(a) thomas479 dňa

Vybrané riešenie

Does the website use SSL? As of Firefox 55, "Sites that don’t use SSL can no longer access Geolocation APIs to determine a user’s physical location" (see the associated bug). This may also be true for Chrome, but switched off.

Did your geolocation work properly in Firefox when you were in France, and with the same version? That would indicate some cached location is used, which you might be able to pinpoint by quickly creating a new profile.

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (6)

more options

What is shown isn't your actual location, but the location of your ISP, or maybe you're using a proxy.

Go to Advanced/Network/Connection and make sure No Proxy is selected.

more options

Hi mattcamp,

I have the network proxy turned off. As you can see on my screenshot (the right bit), my ISP is located in Coevorden, The Netherlands based on Geo IP. That is about 1050km away from the location reported by Firefox to the JavaScript API. Chrome/Edge report my location correctly, both in by the Geo IP and the JavaScript API.

more options

Vybrané riešenie

Does the website use SSL? As of Firefox 55, "Sites that don’t use SSL can no longer access Geolocation APIs to determine a user’s physical location" (see the associated bug). This may also be true for Chrome, but switched off.

Did your geolocation work properly in Firefox when you were in France, and with the same version? That would indicate some cached location is used, which you might be able to pinpoint by quickly creating a new profile.

more options

Tonnes said

Does the website use SSL? As of Firefox 55, "Sites that don’t use SSL can no longer access Geolocation APIs to determine a user’s physical location" (see the associated bug). This may also be true for Chrome, but switched off.

Yes, I tried using it on the site mentioned in the OP.

Did your geolocation work properly in Firefox when you were in France, and with the same version? That would indicate some cached location is used, which you might be able to pinpoint by quickly creating a new profile.

I have never been to that particular location in my live and this is a new laptop, with a new profile (with Sync though). I will try using a new profile, I will edit this message to report back in a bit

more options

I switched profile and now everything is working as it should. Very strange!

Thanks guys!

more options

Thanks for your feedback, glad to see it works now.

One question though: did you use the profile you were using for 56 (and perhaps 55) Beta for 54 release again (at least once) after using it for any of those versions? If so, that may have caused parts of the profile to be corrupt, possibly including geolocation related settings or info. On the other hand, that would rather affect 54 versions after downgrading.

If not, it may just have been a per-website or global permissions issue (geo.enabled?) that you can still get a hold of when your other profile is still accessible, which may prevent you from migrating settings and add-ons. See this question for more on that, as well as the Page Info page / support article.