Closed IncognitoTGT closed 6 months ago
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!
(message by CodeOwnersMention)
netgear documentation netgear source (message by IssueLinks)
Having the same issue on my Orbi SXR80 and it seems to be that the self signed SSL cert on the router pages is being rejected.
https://community.netgear.com/t5/Orbi-Pro-WiFi-for-Small-Business/SSL-error/m-p/2347112
Is there any to fix it?
Not sure, I'm not the developer, or a developer for that matter. Still not sure this is the issue but this is the error I get when I connect to the router from my HA instance:
60D0E5BA7F000000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1889:
If you poke around that link it suggests some fixes for Chrome, or the cert itself, neither of which apply. Again assuming this is the issue.
I'm going to poke around the code today and see if I can force it to connect without SSL. Maybe I can plug port 80 somewhere.
Can you connect to your router admin page in chrome?
So yes, I can connect in any browser. I actually tried adding http:// to the beginning of the URL when trying to set it up but it still gave the same error.
Hmm, can you run this from your HA instance and see what it gives you?
wget http://[YOUR ROUTER IP]
I did it with curl since wget would download a file. I also passed my login to the router to curl and I get the HTML page that says it doesn't support JS.
According to #93263 it seems like someone got it working on a similar model, which is odd.
I'm not sure what the problem was in #93263, seems like it might have been the routerlogin.net domain not resolving via the UI.
Did curl hive you an SSL error too? You might need -v for verbose. When I did I got the self signed cert error:
I did http:// instead of https.
On Nov 26, 2023, at 12:19, Nosrep @.***> wrote:
I'm not sure what the problem was in #93263 https://github.com/home-assistant/core/issues/93263, seems like it might have been the routerligin.net domain not resolving via the UI.
Did curl hive you an SSL error too? You might need -v for verbose. When I did I got the self signed cert error:
TLSv1.3 (IN), TLS handshake, Server hello (2): TLSv1.2 (IN), TLS handshake, Certificate (11): TLSv1.2 (OUT), TLS alert, unknown CA (560): SSL certificate problem: self-signed certificate Closing connection curl: (60) SSL certificate problem: self-signed certificate — Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/104481#issuecomment-1826839996, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARGEUVSVA3WVIEMWHMPPBMLYGN23XAVCNFSM6AAAAAA7ZYA77SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHAZTSOJZGY. You are receiving this because you authored the thread.
Ok, if you are getting an SSL error then we may have different issues. Mine is looking more like the self certified issue so I'm going to split that off to another issue.
@IncognitoTGT what did you fill in in the host field during setup? I will look into the SSL errors, but that may take some time before getting that fixed. I want to switch from requests to aiohttp but that is a massive change so I need quite some time to work on that....
“10.53.19.1"
On Nov 29, 2023, at 02:56, starkillerOG @.***> wrote:
@IncognitoTGT https://github.com/IncognitoTGT what did you fill in in the host field during setup? I will look into the SSL errors, but that may take some time before getting that fixed. I want to switch from requests to aiohttp but that is a massive change so I need quite some time to work on that....
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/104481#issuecomment-1831389310, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARGEUVU7W2NZZBNXBRB4MT3YG3TDHAVCNFSM6AAAAAA7ZYA77SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRGM4DSMZRGA. You are receiving this because you were mentioned.
@IncognitoTGT is that the local IP of your router, seems weird.... I would expect something like "192.168.1.1" or "192.168.1.0" or at least something starting with "192"....
Yes lol.
On Nov 29, 2023, at 07:00, starkillerOG @.***> wrote:
@IncognitoTGT https://github.com/IncognitoTGT is that the local IP of your router, seems weird.... I would expect something like "192.168.1.1" or "192.168.1.0" or at least something starting with "192"....
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/104481#issuecomment-1831760933, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARGEUVSPCKZZL2UP26UJ6N3YG4PU7AVCNFSM6AAAAAA7ZYA77SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRG43DAOJTGM. You are receiving this because you were mentioned.
In my case I tried 192.168.180.123, http://192.168.180.123 and https://192.168.180.123. Same with routerlogin.net.
Update?
i am also having this issue. but i am using 10.0.0.1 , admin, password, and i know they are correct. and ive docker exec into home-assistant and checked the ping is functional network traffic. unless this is forcing over to ssl and rejecting due to self-sign, i cant imagine why this wouldnt work. and my router has https forced turned off. so 1+ for problem with integration as far as i can tell
R6700v3
Firmware Version
V1.0.4.128_10.0.104
@hacf-fr @Quentame @starkillerOG . im happy to help troubleshoot if you give me anything additional to run/test/look for
@IncognitoTGT is that the local IP of your router, seems weird.... I would expect something like "192.168.1.1" or "192.168.1.0" or at least something starting with "192"....
@starkillerOG: 10. is a perfectly fine address range for local area network (while not everything "starting with 192" is). See https://en.wikipedia.org/wiki/Private_network#Private_IPv4_addresses
That said: I have the same issues with a netgear GC110 with an IP address from the 192.168. range.
This issue's finally active after 1.5 months
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
When I try to use the Netgear integration with my router in Home Assistant, it gives the error
Connection or login error: please check your configuration
. In the logs, it shows2023-11-24 21:05:17.903 ERROR (SyncWorker_4) [pynetgear.router] login using all known port-ssl combinations failed.
I went into the container and pinged the router ip so that isn't a problem.What version of Home Assistant Core has the issue?
core-2023.11.2
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response