-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Tonight, here was a switch to DST (summer time) and the clock went from 2 o'clock directly to 3 o'clock. This triggered something and I got 1000 lines of exceptions in the log. Is this the output of the "exception_log" function?
Between 3 o'clock and 6 o'clock, my wifi is off. Normally, this is no problem. pyShelly is version 0.3.5
2022-03-27 03:00:36 ERROR (FirmwareManage) [pyShelly] Error http GET: https://api.shelly.cloud/files/firmware, HTTP Error 502: Bad Gateway, Traceback (most recent call last):
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/firmware.py", line 29, in _http_get
f = urlopen(url)
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/compat.py", line 44, in urlopen
return urllib.request.urlopen(x)
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/usr/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 502: Bad Gateway
Traceback (most recent call last):
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/firmware.py", line 29, in _http_get
f = urlopen(url)
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/compat.py", line 44, in urlopen
return urllib.request.urlopen(x)
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/usr/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 502: Bad Gateway
2022-03-27 03:12:16 ERROR (FirmwareManage) [pyShelly] Error http GET: https://api.shelly.cloud/files/firmware, <urlopen error [Errno 110] Connection timed out>, Traceback (most recent call last):
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1257, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1303, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1252, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1012, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 952, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 1419, in connect
super().connect()
File "/usr/lib/python3.9/http/client.py", line 923, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/firmware.py", line 29, in _http_get
f = urlopen(url)
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/compat.py", line 44, in urlopen
return urllib.request.urlopen(x)
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>
Traceback (most recent call last):
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1257, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1303, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1252, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1012, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 952, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 1419, in connect
super().connect()
File "/usr/lib/python3.9/http/client.py", line 923, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/firmware.py", line 29, in _http_get
f = urlopen(url)
File "/home/nuc/.homeassistant/deps/lib/python3.9/site-packages/pyShelly/compat.py", line 44, in urlopen
return urllib.request.urlopen(x)
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>
Metadata
Metadata
Assignees
Labels
No labels