HA crashing after a few days. Wundground bug?

Interesting situation here. I believe there is a bug either with HA wunderground or wunderground’s back end.
I have been having an issue where HA just stops responding. The web GUI will not re-load. I was watching a terminal session when it crashed around 11:43pm last night. That was the last updates any of my sensors received. The UI just kept saying that various items were taking over 10 seconds to load. over and over again. HA was not polling any of my sensors, sun was not updating, nothing. When I did a ctrl-c to stop the terminal, all of a sudden all these sensor parameters from the several hours went scrolling across the screen very quickly. It was like at around 11:43pm something in the background paused HA from working, then when I went to stop the terminal all the sensor values from the last several hours were released from a buffer somewhere. Hard to explain.

Below is the home-assistant log from around 11pm 5-4-17. The only error around that time was 9:30pm where Wunderground reported a API key did not exist. Then by 5-5-17 3pm HA just completely gave up and kept reporting all my sensors were taking over 10seconds to respond.

The log below shows when HA was first started on 5-2-17 around 11:20pm. Wondering if anyone could offer some assistance in tracking down what is occurring. Not sure if others are seeing a similar situation. I’m running 0.43.2 on a Pi3. It is not unusual to see “x sensor is taking over 10 second” in the error logs. I have been seeing that for a while now, and believe that is not causing my issue.

device_tracker.ddwrt also has some trouble when for some reason it was unable to talk with my wrt54g router and python had some errors.

17-05-02 23:20:05 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
17-05-02 23:20:05 WARNING (MainThread) [homeassistant.setup] Setup of switch is taking over 10 seconds.
17-05-02 23:20:05 WARNING (MainThread) [homeassistant.setup] Setup of binary_sensor is taking over 10 seconds.
17-05-02 23:20:07 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
17-05-02 23:20:07 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
17-05-02 23:20:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform dht is taking over 10 seconds.
17-05-02 23:39:27 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
17-05-03 03:17:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 03:46:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 05:19:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 05:50:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 06:28:50 ERROR (Thread-6) [homeassistant.components.sensor.wunderground] Check WUnderground API (‘this key does not exist’,)
17-05-03 06:28:50 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-03 06:28:50 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-03 06:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 08:41:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 11:01:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 15:57:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 15:58:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 18:15:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 18:21:48 ERROR (Thread-4) [homeassistant.components.sensor.wunderground] Check WUnderground API (‘this key does not exist’,)
17-05-03 18:21:48 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-03 18:21:48 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-03 18:31:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 19:33:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 20:04:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-03 20:07:50 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
17-05-03 21:53:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-04 02:48:06 ERROR (Thread-10) [homeassistant.components.sensor.wunderground] Check WUnderground API (‘this key does not exist’,)
17-05-04 02:48:07 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 02:48:07 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 03:34:36 ERROR (Thread-6) [homeassistant.components.sensor.wunderground] Check WUnderground API (‘this key does not exist’,)
17-05-04 03:34:36 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 03:34:36 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 04:27:53 ERROR (Thread-1) [homeassistant.components.device_tracker.ddwrt] Connection to the router timed out
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py”, line 386, in _make_request
six.raise_from(e, None)
File “”, line 2, in raise_from
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py”, line 382, in _make_request
httplib_response = conn.getresponse()
File “/usr/lib/python3.4/http/client.py”, line 1172, in getresponse
response.begin()
File “/usr/lib/python3.4/http/client.py”, line 351, in begin
version, status, reason = self._read_status()
File “/usr/lib/python3.4/http/client.py”, line 313, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), “iso-8859-1”)
File “/usr/lib/python3.4/socket.py”, line 371, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/requests/adapters.py”, line 423, in send
timeout=timeout
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py”, line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/retry.py”, line 347, in increment
raise six.reraise(type(error), error, _stacktrace)
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/packages/six.py”, line 686, in reraise
raise value
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py”, line 388, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File “/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py”, line 308, in _raise_timeout
raise ReadTimeoutError(self, url, “Read timed out. (read timeout=%s)” % timeout_value)
requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host=‘10.200.1.1’, port=80): Read timed out. (read timeout=4)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/ddwrt.py”, line 142, in get_ddwrt_data
timeout=4)
File “/usr/local/lib/python3.4/dist-packages/requests/api.py”, line 70, in get
return request(‘get’, url, params=params, **kwargs)
File “/usr/local/lib/python3.4/dist-packages/requests/api.py”, line 56, in request
return session.request(method=method, url=url, **kwargs)
File “/usr/local/lib/python3.4/dist-packages/requests/sessions.py”, line 488, in request
resp = self.send(prep, **send_kwargs)
File “/usr/local/lib/python3.4/dist-packages/requests/sessions.py”, line 609, in send
r = adapter.send(request, **kwargs)
File “/usr/local/lib/python3.4/dist-packages/requests/adapters.py”, line 499, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host=‘10.200.1.1’, port=80): Read timed out. (read timeout=4)
17-05-04 06:43:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-04 08:08:25 ERROR (Thread-4) [homeassistant.components.sensor.wunderground] Check WUnderground API (‘this key does not exist’,)
17-05-04 08:08:26 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 08:08:26 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 15:22:24 ERROR (Thread-1) [homeassistant.components.sensor.wunderground] Check WUnderground API (‘this key does not exist’,)
17-05-04 15:22:24 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 15:22:24 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 16:05:49 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
17-05-04 21:29:11 ERROR (Thread-6) [homeassistant.components.sensor.wunderground] Check WUnderground API (‘this key does not exist’,)
17-05-04 21:29:11 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-04 21:29:11 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: unknown
17-05-05 08:54:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.serverroom_temperature is taking over 10 seconds.
17-05-05 15:41:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.freezer_temperature is taking over 10 seconds.
17-05-05 15:41:31 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.pws_feelslike_f is taking over 10 seconds.
17-05-05 15:41:31 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.status_volume_1 is taking over 10 seconds.
17-05-05 15:41:35 WARNING (MainThread) [homeassistant.components.sensor] Updating dht sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:41:52 WARNING (MainThread) [homeassistant.components.sensor] Updating wunderground sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:41:52 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from ddwrt took longer than the scheduled scan interval 0:00:30
17-05-05 15:41:52 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:42:06 WARNING (MainThread) [homeassistant.components.sensor] Updating dht sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:42:23 WARNING (MainThread) [homeassistant.components.sensor] Updating wunderground sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:42:23 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from ddwrt took longer than the scheduled scan interval 0:00:30
17-05-05 15:42:23 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:42:37 WARNING (MainThread) [homeassistant.components.sensor] Updating dht sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:42:54 WARNING (MainThread) [homeassistant.components.sensor] Updating wunderground sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:42:54 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from ddwrt took longer than the scheduled scan interval 0:00:30
17-05-05 15:42:54 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:43:08 WARNING (MainThread) [homeassistant.components.sensor] Updating dht sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:43:25 WARNING (MainThread) [homeassistant.components.sensor] Updating wunderground sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:43:25 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from ddwrt took longer than the scheduled scan interval 0:00:30
17-05-05 15:43:25 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:43:39 WARNING (MainThread) [homeassistant.components.sensor] Updating dht sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:43:56 WARNING (MainThread) [homeassistant.components.sensor] Updating wunderground sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:43:56 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from ddwrt took longer than the scheduled scan interval 0:00:30
17-05-05 15:43:56 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:44:10 WARNING (MainThread) [homeassistant.components.sensor] Updating dht sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:44:27 WARNING (MainThread) [homeassistant.components.sensor] Updating wunderground sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:44:27 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from ddwrt took longer than the scheduled scan interval 0:00:30
17-05-05 15:44:27 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
17-05-05 15:44:41 WARNING (MainThread) [homeassistant.components.sensor] Updating dht sensor took longer than the scheduled update interval 0:00:30