Unable to reach Weather Underground

Posted on
Mon Apr 02, 2018 11:38 am
Monstergerm offline
Posts: 158
Joined: Sep 01, 2009

Unable to reach Weather Underground

Lately, I am getting a lot of these connection errors, often 10-15 errors during the day. Anybody else getting those? Anything wrong with the WU API server? I have no indication that my internet connection is down.

WUnderground 7 Error Unable to reach Weather Underground. (Line 1284) HTTPConnectionPool(host='api.wunderground.com', port=80): Read timed out. (read timeout=10) Sleeping until next scheduled poll.

Posted on
Mon Apr 02, 2018 11:48 am
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Unable to reach Weather Underground

Unfortunately, it seems that there is almost always something wrong with the Weather Underground API server. :(

The plugin tries to reach the API using the requests module and timeout after 10 seconds. I'll raise the limit to 20 seconds, but I have no confidence that will reduce the number of API connection errors to be honest. I'll also simplify the message and will write the full message to the debug log (technically, it's not an error).

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Apr 02, 2018 3:53 pm
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Unable to reach Weather Underground

lanbrown wrote:
Just do as IBM does in their error messages. Word the error like this:
"This is not a plugin issue, please contact Wunderground for further assistance."

LOL - I try to be more responsive than that. :D

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest