-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Router webui not accessible after using pynetgear #62
Comments
this has been happening to me for quite some time as well on my r8000 when enabled via HA |
@iamtpage @JerLarge |
Notice that the CLI has completely changed thanks to @liaden :-) |
i had it set in HA to interval_seconds: 180 and it was still doing it. i had to use the --no-ssl flag, and that returns the list i wrote a script to call it every 20 seconds, and tell me what iteration it is on, but that still means i need to check if it kills the UI, which im not sure when it does that normally. ill periodically check it. so far it hasnt went down, though my program failed after 338 tries @20 seconds between them |
left it over night, and everything works fine still (iteration 1150 currently) and counting |
Let me know if there is anything that is unclear or missing from the CLI and I can try to make a fix to improve it. This first round was the best I could think of from my own perspective. |
@JerLarge ok so the difference between CLI and HA is that the login is done each time on CLI.
Then try to change |
perfect, that is almost exactly what i was using as a script, except i had something to count each loop through |
@JerLarge So you can't reproduce with that ? Are you sure you are not instantiating Netgear on each loop ? If not are you running that on your computer or on the home-assistant host ? |
I am running `import pynetgear, time netgear = Netgear(password='password', force_login_v2=True) x=0
and then i have another one that i switched too, which is the same but with force_login_v2=False i have it disabled in HA and have for a few months. Im just running on the script on the server that runs HA |
and neither of those replicate the error, though the script fails at somepoint here is v1 (force_login_v2=false) that ran since last night During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
I have absolutely no clue. The HA plugin does the same or I am missing something. Perhaps just trying to bump the version to 0.6.1 in home-assistant but I am pretty sure it will not fix it. (you need to modify the HA netgear py file, not only install with pip or HA will overrides it with the specified version on startup) |
Those look like standard networking issues between the server and the R8000, not uncommon to see a few when you are iterating 1700+ times
A better way to override would be to override the device tracker as a |
@JerLarge Oh and you can also try force_login_v2=True in home-assistant with 0.6.1 to see if it helps. |
@JerLarge also have you tried to configure your ha with nossl too ? Could be a stupid bug of your router with https. |
Is this issue still happening in pynetgear? In my nodejs version I also get reports of certain routers that lock-up when polled too often. You then need to power down/up the router to reset. This happens e.g. with the R7000 on recent firmwares (there are some reports that older R7000 firmware levels are more stable). On other routers this locking-up doesn't happen at all. By the way: in nodejs I use:
|
Version: 0.5.2
Router: Netgear R8000
Use case: homeassistant 0.89.2 device tracker
When I configured my device tracker and booted up homeassistant, I can no longer access the router's web ui via direct IP or routerlogin.net but accessing the device via
pynetgear
works just fineI can ping the device just fine, but accessing the web ui fails with a connection refused message. Stopping homeassistant doesn't resolve the issue either. Rebooting the router allows me to access the web ui again at least until I turn homeassistant back on
The text was updated successfully, but these errors were encountered: