wttr.in
wttr.in copied to clipboard
Constantly wrong location shown since some time
I use the curl "wttr.in/?format=3"
command on my Linux laptop.
For months, it has shown the correct location (Krumbach, Germany)—even after IP changes— but since maybe 1 or 2 weeks it constantly shows the data for Bochum, Germany, which is hundreds of kilometres away.
I’m on the same network (WLAN, Fritz!Box router, Deutsche Telekom VDSL) and my IP hasn’t changed since 2021-04-14. According to https://www.wieistmeineip.de/ I have both an IPv6 and an IPv4 address.
I cannot hard-code "Krumbach" into the call (which would deliver the correct data) but rely on wttr.in’s geolocation features so when I’m on the road my laptop will show the weather for the location I’m currently at.
Anything I can do to assist finding the problem?
Can you please share your IP with me ([email protected]
) or here?
(you can check it with curl ifconfig.me
for example)
Sure, I sent you an email.
Thank you! Investigating
I've replied to your email; please, ping if you received no reply
Thanks for checking. Seems some IPv6 geo databases return real wrong results. Sent you some more emails.
Just to keep others informed: After some testing and discussions "behind the scenes", we find that the available databases sometimes deliver grossly wrong results, especially with IPv6 addresses (since there are so much more of them). This is not a fault of wttr.in per se.
Trying to geolocate based on IPs is still a very imprecise science. Just think of all the ever-changing home customer DSL connections.
Even if we attach several location providers, the question is still how we could detect what provider should be used in this case; maybe it could be configured on the network basis
Yeah that's weird, it used to always pick up on my location but now it's showing the town over as the locations unless I manually specify. I have moved to a different house but in the same city, so maybe that's the issue?
Could you please test it again; several problems in this area were fixed recently
Same problem here I'm in Québec city, Province of Québec, Canada and it returns the temperature for "Nichikun" wich is a very small place exactly in the center of the province of Quebec. But this place is hundred of kilometers north of Quebec city and a lot colder ! Isn't there any way to specify the correct city when we call wttr ???