본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Geo-location is completely wrong

  • 6 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: 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!
첨부된 스크린샷

글쓴이 thomas479 수정일시

선택된 해결법

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.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (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

선택된 해결법

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.