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

Can´t login to cloud account - wrong password / temporary suspension #599

Closed
MikeDeltaHH opened this issue May 30, 2024 · 1 comment
Closed
Labels
Duplicate This issue or pull request already exists

Comments

@MikeDeltaHH
Copy link

Description

Since this morning, the integration with my two C225 cameras (firmware 1.0.28) no longer works.
The authentication for both cameras has expired and the password for the cloud account is no longer accepted - but the password is correct, I can log into the cloud account via the app, I have changed the password for testing purposes, but without success.
After a few failed login attempts via the integration, the login is also delayed (Temporary Suspension: Try again in xxx seconds).
The cameras work in the native app, the stream can also be called up via VLC Player, only in the integration nothing works anymore so that I run out of ideas and ask for support...

Reproduction Steps

Authentication on the cloud account without success

Expected behavior

Successful authentication on the cloud account

If applicable, add error logs.

2024-05-30 09:12:08.927 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Showing config flow for reauth - cloud.
2024-05-30 09:12:20.562 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Testing control of camera using Cloud Account.
2024-05-30 09:12:20.563 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] Refreshing stok...
2024-05-30 09:12:20.565 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:12:20.566 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:12:20.699 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:12:20.699 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] {'result': {'data': {'code': -40401, 'time': 7, 'max_time': 10, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}, 'error_code': -40413}
2024-05-30 09:12:20.700 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] Connection is secure.
2024-05-30 09:12:20.703 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:12:20.703 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:12:20.824 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:12:20.824 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] {'result': {'data': {'code': -40401, 'time': 6, 'max_time': 10, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}, 'error_code': -40413}
2024-05-30 09:12:20.825 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] Status code: 200
2024-05-30 09:12:20.825 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] Processing secure response.
2024-05-30 09:12:20.825 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] Validating device confirm.
2024-05-30 09:12:20.825 DEBUG (SyncWorker_11) [custom_components.tapo_control] [pytapo] Incorrect device_confirm value, raising Exception.
2024-05-30 09:12:20.826 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Invalid cloud password provided.
2024-05-30 09:12:20.826 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Showing config flow for reauth - cloud.
2024-05-30 09:12:21.213 ERROR (MainThread) [custom_components.xiaomi_miot.fan] Ventilator(zhimi.fan.za4): Got MiioException while fetching the state: Unable to discover the device 192.168.2.70, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}, 'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 10/10
2024-05-30 09:12:24.598 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Showing config flow for reauth - cloud.
2024-05-30 09:12:32.712 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Testing control of camera using Cloud Account.
2024-05-30 09:12:32.714 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] Refreshing stok...
2024-05-30 09:12:32.716 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:12:32.716 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:12:32.820 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:12:32.820 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] {'result': {'data': {'code': -40401, 'time': 1, 'max_time': 10, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}, 'error_code': -40413}
2024-05-30 09:12:32.821 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] Connection is secure.
2024-05-30 09:12:32.823 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:12:32.824 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:12:32.959 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:12:32.959 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] {'result': {'data': {'code': -40401, 'time': 0, 'max_time': 10, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}, 'error_code': -40413}
2024-05-30 09:12:32.960 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] Status code: 200
2024-05-30 09:12:32.960 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] Processing secure response.
2024-05-30 09:12:32.960 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] Validating device confirm.
2024-05-30 09:12:32.960 DEBUG (SyncWorker_52) [custom_components.tapo_control] [pytapo] Incorrect device_confirm value, raising Exception.
2024-05-30 09:12:32.962 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Invalid cloud password provided.
2024-05-30 09:12:32.962 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Showing config flow for reauth - cloud.
2024-05-30 09:12:51.214 ERROR (MainThread) [custom_components.xiaomi_miot.fan] Ventilator(zhimi.fan.za4): Got MiioException while fetching the state: Unable to discover the device 192.168.2.70, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}, 'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 10/10
2024-05-30 09:13:21.216 ERROR (MainThread) [custom_components.xiaomi_miot.fan] Ventilator(zhimi.fan.za4): Got MiioException while fetching the state: Unable to discover the device 192.168.2.70, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}, 'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 10/10
2024-05-30 09:13:51.218 ERROR (MainThread) [custom_components.xiaomi_miot.fan] Ventilator(zhimi.fan.za4): Got MiioException while fetching the state: Unable to discover the device 192.168.2.70, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}, 'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 10/10
2024-05-30 09:14:08.910 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Showing config flow for reauth - cloud.
2024-05-30 09:14:12.169 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Testing control of camera using Cloud Account.
2024-05-30 09:14:12.169 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] Refreshing stok...
2024-05-30 09:14:12.174 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:14:12.174 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:14:12.295 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:14:12.295 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] {'result': {'data': {'code': -40401, 'time': 5, 'max_time': 10, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}, 'error_code': -40413}
2024-05-30 09:14:12.295 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] Connection is secure.
2024-05-30 09:14:12.296 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:14:12.296 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:14:12.442 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:14:12.443 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] {'result': {'data': {'code': -40401, 'time': 4, 'max_time': 10, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}, 'error_code': -40413}
2024-05-30 09:14:12.443 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] Status code: 200
2024-05-30 09:14:12.443 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] Processing secure response.
2024-05-30 09:14:12.443 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] Validating device confirm.
2024-05-30 09:14:12.443 DEBUG (SyncWorker_32) [custom_components.tapo_control] [pytapo] Incorrect device_confirm value, raising Exception.
2024-05-30 09:14:12.447 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Invalid cloud password provided.
2024-05-30 09:14:12.447 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.20] Showing config flow for reauth - cloud.
2024-05-30 09:14:15.356 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Showing config flow for reauth - cloud.
2024-05-30 09:14:18.199 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Testing control of camera using Cloud Account.
2024-05-30 09:14:18.200 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] Refreshing stok...
2024-05-30 09:14:18.203 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:14:18.203 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:14:18.344 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:14:18.344 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] {'data': {'code': -40404, 'sec_left': 1694}, 'error_code': -40401}
2024-05-30 09:14:18.345 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] Connection is insecure.
2024-05-30 09:14:18.347 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] New request:
2024-05-30 09:14:18.347 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'hashed': True, 'password': 'REDACTED', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False}
2024-05-30 09:14:18.510 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] 200
2024-05-30 09:14:18.511 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] {'data': {'code': -40404, 'sec_left': 1694}, 'error_code': -40401}
2024-05-30 09:14:18.511 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] Status code: 200
2024-05-30 09:14:18.512 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Temporary suspension.
2024-05-30 09:14:18.513 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.45] Showing config flow for reauth - cloud.

Device Firmware

1.0.28

Integration Version

5.4.13

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Intel NUC

Search for similar issues

Yes

Additional information

No response

Copy link

This issue was automatically closed because it is a duplicate.

The issue you are searching for:

  • Is pinned under issues
  • Has a section in main readme file with big title right at the top
  • Has 3 red exclamations marks in the title
  • Contains a workaround both for accounts still working and the ones affected.

And a warning was sent a month ago as an update via HACS.

You can find it at #551.

Please do not post me too comments or any other comment that does not provide any value to the discussion as everyone monitoring it gets notified. If the comments with no value continue maintainer will be forced to lock the issue to contributors only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

1 participant