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

Homey can’t connect to R7000 #24

Closed
RexArne opened this issue Apr 2, 2019 · 21 comments
Closed

Homey can’t connect to R7000 #24

RexArne opened this issue Apr 2, 2019 · 21 comments

Comments

@RexArne
Copy link

RexArne commented Apr 2, 2019

After months of properly working, homey seems to have connection problems with my Netgear R7000.

I already restarted the app and router, but that doesn’t help.
See (part of) log message below

2019-04-02 13:46:58 [err] [ManagerDrivers] [netgear] [0] updateRouterDeviceState error: Not logged in
2019-04-02 13:46:58 [log] [ManagerDrivers] [netgear] [0] Firmware=V1.0.9.64_10.2.64 RegionTag=R7000_WW Region=ww Model=R7000 InternetConnectionStatus=Up ParentalControlSupported=1 CircleEnabled=0 OpenDNSEnabled=0 SOAPVersion=3.21 LoginMethod=2.0 ReadyShareSupportedLevel=29 XCloudSupported=1 DeviceMode=0
2019-04-02 13:46:58 [log] [ManagerDrivers] [netgear] [0] last repsonse from router:
2019-04-02 13:46:58 [log] [ManagerDrivers] [netgear] [0] error getting new Firmware info
2019-04-02 13:46:58 [log] [ManagerDrivers] [netgear] [0] error getting router info
2019-04-02 13:46:58 [err] [ManagerDrivers] [netgear] [0] Login error: Failed to login
2019-04-02 13:46:38 [err] [ManagerDrivers] [netgear] [0] updateRouterDeviceState error: Not logged in
2019-04-02 13:46:38 [log] [ManagerDrivers] [netgear] [0] Firmware=V1.0.9.64_10.2.64 RegionTag=R7000_WW Region=ww Model=R7000 InternetConnectionStatus=Up ParentalControlSupported=1 CircleEnabled=0 OpenDNSEnabled=0 SOAPVersion=3.21 LoginMethod=2.0

@gruijter
Copy link
Owner

gruijter commented Apr 2, 2019

Did you already try a cold restart of the router (power off and on)?

@RexArne
Copy link
Author

RexArne commented Apr 2, 2019 via email

@gruijter
Copy link
Owner

gruijter commented Apr 2, 2019

I can try with my own r7000, but not on short notice. In the mean time: did you also try changing the password?
And you can also try to block/unblock Homey itself via the genie app.

@gruijter
Copy link
Owner

gruijter commented Apr 7, 2019

I just tried connecting to my own R7000, and that went without problem. I have firmware V1.0.9.64_10.2.64
Did you try the solutions I provided in my previous post?

@RexArne
Copy link
Author

RexArne commented Apr 7, 2019 via email

@gruijter
Copy link
Owner

gruijter commented Apr 7, 2019

I will leave my R700 connected to Homey for a few days. See what happens.

Besides the login failure, can you see any other errors in the app log? Maybe you have bad wifi to Homey? Did you change the poll interval to a shorter time maybe? Try setting the poll interval to a longer time, e.g. 2 or 3 minutes to see if that helps.

@gruijter
Copy link
Owner

gruijter commented Apr 9, 2019

Just to let you know that my r7000 now also stopped responding after 2 days. I will investigate this further.

@RexArne
Copy link
Author

RexArne commented Apr 9, 2019 via email

@gruijter
Copy link
Owner

gruijter commented Apr 9, 2019

My r7000 was completely blocked. Wifi was on but not working, and I couldn't even login over the webinterface. Had to do a power off/on. I have not had this before. Maybe the latest firmware is not so stable anymore. Or it was just a coincidence this happened. I have not had anyone else complaining about this, and there must be dozens of people that use the Homey app with the r7000. On my r7800 I have no issues at all. But I am working on some tweaks in the login procedure. Maybe that makes a change.

Yes, when setting the polling to 2 minutes it can take up to 2 minutes before Homey knows you are online.

@RexArne
Copy link
Author

RexArne commented Apr 9, 2019 via email

@gruijter
Copy link
Owner

This issue on pynetgear with an r8000 shows similar behavior. I'm not using SSL on Homey though.

MatMaul/pynetgear#62

@gruijter
Copy link
Owner

@RexArne I have a new version of the Homey app: v2.4.0

It has multiple fixes and improvements in the HTTP/SOAP handling with a router. Could you give that a try (cli install from github, or wait a few days for the appstore release)

@RexArne
Copy link
Author

RexArne commented Apr 11, 2019 via email

@RexArne
Copy link
Author

RexArne commented Apr 12, 2019

Installed v2.4.0 and changed the polling back to 20 seconds. I leave it for a few days and will give an update or sooner if it stops again

@RexArne
Copy link
Author

RexArne commented Apr 13, 2019

My R7000 stopped working again, after the update to 2.4.0 (and polling 20s). I had to power off/on again. I now changed the polling to 60 seconds and will test.

@gruijter
Copy link
Owner

gruijter commented Apr 13, 2019

That's unfortunate. I made some more changes in a new version v2.5.0. I have had this running on my R7000 for over a day with 2 Homeys polling it @20s interval, but need to test longer.

You can get it already now from Github.

Edit: also with v2.5.0 the R7000 hangs eventually. I have no clue what is causing this. I suspect an instability in the router firmware itself that gets triggered when polling it (memory leak probably). Maybe you can revert the router to an older firmware, or set the polling to a longer period if that prevents the hangup from happening.

@gruijter
Copy link
Owner

I read some posts on the internet that a downgrade to the previous firmware solves the issue of freezing. You could give that a try also.

https://kb.netgear.com/000060253/R7000-Firmware-Version-1-0-9-42

@RexArne
Copy link
Author

RexArne commented Apr 16, 2019 via email

@gruijter
Copy link
Owner

Any news from your side?

@RexArne
Copy link
Author

RexArne commented Apr 28, 2019 via email

@gruijter
Copy link
Owner

Thx for testing. I don't know what to do about that from the Homey app. It seems related to the router type and firmware version. I'll close the issue for now.

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

No branches or pull requests

3 participants
@RexArne @gruijter and others