question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown location (problem with geolocation)

See original GitHub issue

Just came across wttr.in, and of course, it doesn’t work (by default) for me (I did learn about all of the options when coming here).

Anyway:

$ curl wttr.in
>>>    _  _    ___  _  _        
>>>   | || |  / _ \| || |         
>>>   | || |_| | | | || |_         
>>>   |__   _| |_| |__   _|         
>>>      |_|  \___/   |_|       
>>>                          
>>>   404 UNKNOWN LOCATION: Seattle47.4902, Washington, United States   
>>>                    
----
Weather report: Oymyakon

[...]

 We were unable to find your location 
 so we have brought you to Oymyakon, 
 one of the coldest permanently inhabited locales on the planet. 

It looks like the code sort of discovered (but didn’t parse correctly) the location.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
chubincommented, Feb 14, 2021

I can acknowledge it. It is a bug

3reactions
AlexAegiscommented, Feb 14, 2021

Same thing here!

404 UNKNOWN LOCATION: Budapest47.5636, Hungary   
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does Google shown “unknown” for locat…
From our understanding, when using the Google Maps app, you are seeing "unknown" for your location, is that right? Does this only happen...
Read more >
navigator.geolocation.getCurrentPosition returns "Unknown ...
navigator.geolocation.getCurrentPosition returns "Unknown error acquiring position" ... I'm working currently with the geolocation API. ... I can't ...
Read more >
Google Has Your Location Wrong? 8 Fixes to Restore to Normal
Fix 4: Check internet connectivity ... The primary reason for Google Maps giving wrong location details is due to bad or no internet...
Read more >
Understand & manage your location when you search on ...
When you search on Google, like with Maps, Search or Google Assistant, your current location is used to give you more helpful results....
Read more >
Device_tracker and geocoded location 'Unknown'
For what it is worth, I had the same issue. I was having inconsistent results with my device_tracker geocode location so I removed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found