ha-asusrouter: [Bug] Asus Router Connection Error
The problem
I updated the OS to beta 2025.6.0b3. Then the AsusRouter integration didn’t work. It wouldn’t connect. It gave an unknown error. I tried reinstalling it, but it didn’t help!
Your device model
RT-AX55
Firmware type
Stock
Firmware version
3.0.0.4.386_53119
Integration version with the issue
0.35.0
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
Core 2025.6.0b3
Is there anything useful in the logs?
Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `192.168.1.1`: ('Cannot connect to `192.168.1.1` on port `8443`. Failed in `_send_request` with error: `Server disconnected`', None)
Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `192.168.1.155`: ('Cannot connect to `192.168.1.155` on port `8443`. Failed in `_send_request` with error: `Server disconnected`', None)
Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `192.168.1.240`: ("Cannot connect to `192.168.1.240` on port `8443`. Failed in `_send_request` with error: `Cannot connect to host 192.168.1.240:8443 ssl:default [Connect call failed ('192.168.1.240', 8443)]`", None)
Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `192.168.1.1`: ('Cannot connect to `192.168.1.1` on port `80`. Failed in `_send_request` with error: `Cannot connect to host 192.168.1.1:80 ssl:default [None]`', None)
Diagnostics information
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 5
- Comments: 34 (5 by maintainers)
Ok, so
0.35.2is available now via HACS - please, check 😊I’ve got access to an RT-AC66U (with
3.0.0.4.380.70_0) and found an issue happening with HA 2025.6.0+. This exact issue is fixed and it looked like the one discussed hereHopefully, this would also solve the issue you guys have
I installed version 0.26! This works! Until it is fixed, I will use this!
I think we got there now 🤫 To be released soon
Works great. Thanks for your time and effort!
Still not OK - 0.35.1 and 2025.6.1
RT-AX55, Stock FW: 3.0.0.4.386_53119, and RT-AC58U, Stock FW: 3.0.0.4.382_52504
Same here, error: Failed setup, will retry: (‘Cannot connect to
...on port.... Failed in_send_requestwith error:Server disconnected’, None)The issue is observed on RT-AC66U B1 model, ZenWiFi XT9 is working ok.
Since, apparently, everything works now for most of you, I will close this issue 😉
Great news to wake up to - fixed for me as well, thank you.
On Sun, 15 Jun 2025, 09:18 TyronBrandt, @.***> wrote:
Now work for me too.
Thanks very much!
And it’s a yes from me too.
Many thanks for sorting so quickly.
Perfect! Thanks!!! Good job!!!
Working - 0.35.2 and 2025.6.1 !!! RT-AX55, Stock FW: 3.0.0.4.386_53119, and RT-AC58U, Stock FW: 3.0.0.4.382_52504
Thank you for the fast fix!
Can confirm it’s working for me now 😃 Thanks a lot!
It’s fixed! Thanks so much!
Works for me, tks a lot
As per: DSL-AC68U with Merlin firmware 386.07_2-gnuton1.
0.35.1 and 2025.6.1 still gives same error for me.
Same error here as well.
Thank you @Vaskivskyi !
Hi @Vaskivskyi tks for your time, but on RT-AC87U and HA 2025.6.0 I have the same error (‘Cannot connect to
192.168.1.1on port80. Failed in_send_requestwith error:Server disconnected’, None)I can confirm that the error is because of
iohttpbeing updated in Home Assistant. Creating a virtual environment and installingaiohttp==3.11.18with the following code:I get everything working. FYI: I had to do
ssl_context, because my router only accepts SSL connections, but needed to pass verification on the self-signed certificate. If I then installaiohttp==3.12.12, which is the new version inside Home Assistant, I get the exact same error we’re all experiencing.We can’t override bundle version in the requirements section of the
manifest.json, so the code will have to be updated, and that’s above my knowledge. I can say that similar errors have been found in other integrations, and their fixes might help @Vaskivskyi. Here’s one of those issue with the reason it’s failing (something to do with cookies): https://github.com/home-assistant/core/issues/146585#issuecomment-2967897731 and the PR with the fix https://github.com/home-assistant/core/pull/146697My router is RT-AC68U with Merlin firmware v386.14_2