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

v2.0.0 breaks integration with Archer AC5400X #113

Closed
joluas opened this issue Nov 5, 2024 · 6 comments
Closed

v2.0.0 breaks integration with Archer AC5400X #113

joluas opened this issue Nov 5, 2024 · 6 comments

Comments

@joluas
Copy link

joluas commented Nov 5, 2024

Describe the bug
When updating from v1.19.0 to v2.0.0 the integration with Archer AC5400X no longer works.

  • Before update:
    image
    image

  • After update:
    image

  • Encrypted password:
    image
    image
    image
    image

Even when considering https://github.com/AlexandrErohin/home-assistant-tplink-router/releases/tag/v2.0.0 and changing from encrypted password to plain text password the issue persist.

  • Non encrypted password:
    image
    image
    image
    image

Reverting back to v1.19.0 solves the issues.

Logs
This error originated from a custom integration.

Logger: custom_components.tplink_router.config_flow
Source: custom_components/tplink_router/config_flow.py:78
integration: TP-Link Router (documentation, issues)
First occurred: 6:27:28 PM (8 occurrences)
Last logged: 6:31:15 PM

TplinkRouter Integration Exception - TplinkRouter - C1200 - TplinkC1200Router - Cannot authorize! Error - 'stok'; Response - {'errorcode': 'login failed', 'success': False, 'data': {'failureCount': 2, 'attemptsAllowed': 8}}
TplinkRouter Integration Exception - TplinkRouter - C1200 - TplinkC1200Router - Cannot authorize! Error - 'stok'; Response - {'errorcode': 'login failed', 'success': False, 'data': {'failureCount': 3, 'attemptsAllowed': 7}}
TplinkRouter Integration Exception - HTTPSConnectionPool(host='192.168.0.1', port=443): Max retries exceeded with url: /cgi/getParm?_=1730766537416 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (ssl.c:1000)')))
TplinkRouter Integration Exception - Your router is not supported. Please add your router support to https://github.com/AlexandrErohin/TP-Link-Archer-C6Uby implementing methods for AbstractRouter class
TplinkRouter Integration Exception - HTTPSConnectionPool(host='192.168.0.1', port=443): Max retries exceeded with url: /cgi/getParm?
=1730766675157 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (_ssl.c:1000)')))

Additional Information (please complete the following information)

  • Router Hardware Version: Archer AC5400X
  • Router Firmware Version: 1.1.7 Build 20240510 rel.17306(5553)
  • Home Assistant Version:
  • Core: 2024.10.1
  • Supervisor: 2024.10.3
  • Operating system: 13.2
  • TP-Link Router Integration Component Version: v2.0.0
@AlexandrErohin
Copy link
Owner

Hi
What command did you use to get encrypted password?

@joluas
Copy link
Author

joluas commented Nov 5, 2024

There was a page on how to get encrypted password. The link was this -> https://github.com/AlexandrErohin/home-assistant-tplink-router#encrypted_pass The link appears to not be working any more.

When moving from v1.19.0 to v2.0.0 I did not got a new encrypted password, I just left the same configuration that was already working in v1.19.0

@AlexandrErohin
Copy link
Owner

AlexandrErohin commented Nov 5, 2024

@joluas Could you try to delete tplink entity from HA. Then install v2.0.0. Reboot HA and add tplink with local password without encryption?
Restart HA helped here #111

@joluas
Copy link
Author

joluas commented Nov 5, 2024

@AlexandrErohin I can certainly try this weekend. If you dont mind, could you please give me the steps to get the encrypted password again as I cant find them in the repo any more.

This is just in case I need to reinstall v1.19.0 again.

Thanks

@AlexandrErohin
Copy link
Owner

AlexandrErohin commented Nov 6, 2024

@joluas The bug has fixed. Please try v2.0.1 You need to use Web Encrypted Password https://github.com/AlexandrErohin/home-assistant-tplink-router?tab=readme-ov-file#web-encrypted-password

@joluas
Copy link
Author

joluas commented Nov 6, 2024

@AlexandrErohin I can confirm that it is working again using web encrypted password in v2.0.1
image

Thanks!

@joluas joluas closed this as completed Nov 6, 2024
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

2 participants