Open gist901 opened 2 years ago
on my ORBI I just need port 80, without SSL, tried that?
did you try rebooting the router and then trying netgear.login_try_port()
Yes, I have tried rebooting the router and running the following: ( I have also tried defining my host IP as well )
It looks like it does authenticate here but then I do not know why your script doesn't exit:
Starting new HTTPS connection (1): www.netgear.com:443
https://www.netgear.com:443 "GET /home/services/routerlogincom HTTP/1.1" 301 176
https://www.netgear.com:443 "GET /home/services/routerlogincom/ HTTP/1.1" 200 None
Here is the full output
netgear = Netgear(password='mypass')
netgear.login_try_port()
Starting new HTTP connection (1): routerlogin.net:80
http://routerlogin.net:80 "GET /soap/server_sa/ HTTP/1.1" 401 None
Starting new HTTP connection (1): routerlogin.net:5000
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "GET /soap/server_sa/ HTTP/1.1" 302 110
Starting new HTTPS connection (1): www.netgear.com:443
https://www.netgear.com:443 "GET /home/services/routerlogincom HTTP/1.1" 301 176
https://www.netgear.com:443 "GET /home/services/routerlogincom/ HTTP/1.1" 200 None
Login v2, port '5000', ssl, 'False'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
Login v1, port '5000', ssl, 'False'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
Get Info
Login re-attempt within the login, ignoring.
Login v1, port '5555', ssl, 'True'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
Get Info
Login re-attempt within the login, ignoring.
Login v2, port '5555', ssl, 'True'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
Login v2, port '443', ssl, 'True'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
Login v1, port '443', ssl, 'True'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
Get Info
Login re-attempt within the login, ignoring.
Login v1, port '80', ssl, 'False'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
Get Info
Login re-attempt within the login, ignoring.
Login v2, port '80', ssl, 'False'
Starting new HTTPS connection (1): routerlogin.net:443
https://routerlogin.net:443 "POST /soap/server_sa/ HTTP/1.1" 403 118
login using all known port-ssl combinations failed.
could you please also specify the host using IP and the username as well as the password while initializing the Netgear class?
Hi there,
I have run into authentication issue where I receive the following error:
Max retries exceeded with url: /soap/server_sa/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E25540B520>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it
I am currently running pynetgear version
.91
. I can successfully login to my Netgear Admin console via the web browser.I have also tried as you suggested
netgear.login_try_port()
and receive the error stated above for each connection attempt:login using all known port-ssl combinations failed. Out[3]: False
Here is the full error output for one of the connection attempts: