core: Netgear integration gives socket timeout
The problem
Timeout errors are displayed in the Core logs which I think are related to the netgear integration. More detailed logs arenshown further on.
requests.exceptions.ReadTimeout: HTTPConnectionPool(host=‘10.13.0.1’, port=80): Read timed out. (read timeout=30)
What version of Home Assistant Core has the issue?
core-2021.11.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
netgear
Link to integration documentation on our website
https://www.home-assistant.io/integrations/netgear
Example YAML snippet
No response
Anything in the logs that might be useful for us?
These from the Core logs:
2021-11-04 14:03:55 ERROR (SyncWorker_3) [pynetgear] Error talking to API
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.9/http/client.py", line 1371, in getresponse
response.begin()
File "/usr/local/lib/python3.9/http/client.py", line 319, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.9/http/client.py", line 280, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/lib/python3.9/socket.py", line 704, 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.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 447, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='10.13.0.1', port=80): Read timed out. (read timeout=30)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pynetgear/__init__.py", line 480, in _make_request
response = requests.post(self.soap_url, headers=headers,
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='10.13.0.1', port=80): Read timed out. (read timeout=30)
Additional information
I have an SRR60 and other config details details are the same as for issue 57754 which itself is resolved for my setup
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (10 by maintainers)
Commits related to this issue
- Check v1 login with an info call Sometimes a v1 login call can report succes while actually not beeing autorized to get info, v2 login does work in that case. See: https://github.com/home-assistant/... — committed to starkillerOG/pynetgear by starkillerOG 3 years ago
- Check login v1 with an info call (#90) Sometimes a v1 login call can report success while actually not being authorized to get info, v2 login does work in that case. See: https://github.com/home-ass... — committed to MatMaul/pynetgear by starkillerOG 3 years ago
I can give the router and satellite a reboot tomorrow - we shall see! The HA host is on ethernet and the back haul from router to satellite is also Ethernet. I’ll report back. …
On Fri, 5 Nov 2021 at 21:06, starkillerOG @.***> wrote: