Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netgear ReadTimeout, service 'DeviceConfig:1', method 'CheckNewFirmware', host 192.168.1.1:443 ssl True #117595

Open
pjdubya opened this issue May 16, 2024 · 1 comment

Comments

@pjdubya
Copy link

pjdubya commented May 16, 2024

The problem

Similar to that discussed in #82267 I am seeing this ERROR in my logs regularly (at least once per day).

Logger: pynetgear.router
Source: /usr/local/lib/python3.12/site-packages/pynetgear/router.py:171
First occurred: May 15, 2024 at 3:46:55 PM (1 occurrences)
Last logged: May 15, 2024 at 3:46:55 PM

Netgear ReadTimeout, service 'DeviceConfig:1', method 'CheckNewFirmware', host 192.168.1.1:443 ssl True

What version of Home Assistant Core has the issue?

2024.5.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Netgear

Link to integration documentation on our website

https://www.home-assistant.io/integrations/netgear/

Diagnostics information

Not yet collected but have enabled debug logging and will update next time this issue triggers.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

In the other issue (#82267), @starkillerOG asked the other user to run a python script to collect additional information about whether the router supported the CheckNewFirmware option. I ran that script, with the output as follows:

Login v2, port '5000', ssl, 'False'
Starting new HTTP connection (1): 192.168.1.1:5000
RequestException while logging in host 192.168.1.1:5000 ssl False: HTTPConnectionPool(host='192.168.1.1', port=5000): Max retries exceeded with url: /soap/server_sa/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002A8E70BA030>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Login v1, port '5000', ssl, 'False'
Starting new HTTP connection (1): 192.168.1.1:5000
RequestException while logging in host 192.168.1.1:5000 ssl False: HTTPConnectionPool(host='192.168.1.1', port=5000): Max retries exceeded with url: /soap/server_sa/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002A8E733C410>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Call GetInfo
Login re-attempt within the login, ignoring.
Could not successfully get GetInfo
Login v1, port '5555', ssl, 'True'
Starting new HTTPS connection (1): 192.168.1.1:5555
RequestException while logging in host 192.168.1.1:5555 ssl True: HTTPSConnectionPool(host='192.168.1.1', port=5555): Max retries exceeded with url: /soap/server_sa/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002A8E733FEC0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Call GetInfo
Login re-attempt within the login, ignoring.
Could not successfully get GetInfo
Login v2, port '5555', ssl, 'True'
Starting new HTTPS connection (1): 192.168.1.1:5555
RequestException while logging in host 192.168.1.1:5555 ssl True: HTTPSConnectionPool(host='192.168.1.1', port=5555): Max retries exceeded with url: /soap/server_sa/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002A8E73804D0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Login v2, port '443', ssl, 'True'
Starting new HTTPS connection (1): 192.168.1.1:443
https://192.168.1.1:443 "POST /soap/server_sa/ HTTP/1.1" 200 383
Login succeeded using non default port '443' and ssl 'True'.
Starting new HTTPS connection (1): 192.168.1.1:443
https://192.168.1.1:443 "POST /soap/server_sa/ HTTP/1.1" 200 397
True

{}

Also I'm not sure if this is related, but an FYI that I'm also seeing the following Netgear error in the logs, but at a different time than the one mentioned here:

Logger: pynetgear.router
Source: /usr/local/lib/python3.12/site-packages/pynetgear/router.py:266
First occurred: May 15, 2024 at 10:38:10 AM (1 occurrences)
Last logged: May 15, 2024 at 10:38:10 AM

503 Service Unavailable after retry, the API may be overloaded 'DeviceInfo:1', 'GetAttachDevice2'.

@home-assistant
Copy link

Hey there @hacf-fr, @Quentame, @starkillerOG, mind taking a look at this issue as it has been labeled with an integration (netgear) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of netgear can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign netgear Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


netgear documentation
netgear source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants