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

Authetification problem #574

Closed
Frazou1 opened this issue May 24, 2024 · 2 comments
Closed

Authetification problem #574

Frazou1 opened this issue May 24, 2024 · 2 comments
Labels
Duplicate This issue or pull request already exists

Comments

@Frazou1
Copy link

Frazou1 commented May 24, 2024

Description

My integration tapo stop working

Reproduction Steps

Try to reauthentified in the integration and receive error : Invalid cloud password. Make sure you are entering the password for your cloud account and NOT the password which you created via the camera settings (unless they are the same). You need to enter password which you used with your email when signing into the Tapo app.

Expected behavior

The integration work

If applicable, add error logs.

2024-05-24 10:56:11.154 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Showing config flow for reauth - cloud.
2024-05-24 10:56:12.717 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Testing control of camera using Cloud Account.
2024-05-24 10:56:12.717 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Refreshing stok...
2024-05-24 10:56:12.718 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] New request:
2024-05-24 10:56:12.718 DEBUG (SyncWorker_24) [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-24 10:56:13.565 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] 200
2024-05-24 10:56:13.565 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}}
2024-05-24 10:56:13.566 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Connection is secure.
2024-05-24 10:56:13.566 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] New request:
2024-05-24 10:56:13.566 DEBUG (SyncWorker_24) [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-24 10:56:14.162 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] 200
2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}}
2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Status code: 200
2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Processing secure response.
2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Validating device confirm.
2024-05-24 10:56:14.163 DEBUG (SyncWorker_24) [custom_components.tapo_control] [pytapo] Incorrect device_confirm value, raising Exception.
2024-05-24 10:56:14.164 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Invalid cloud password provided.
2024-05-24 10:56:14.164 DEBUG (MainThread) [custom_components.tapo_control] [REAUTH][192.168.2.128] Showing config flow for reauth - cloud.

Device Firmware

1.39

Integration Version

5.4.18

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

HA Appliance

Search for similar issues

Yes

Additional information

No response

@Frazou1 Frazou1 changed the title Autehtnification problem Authetification problem May 24, 2024
@JurajNyiri
Copy link
Owner

JurajNyiri commented May 24, 2024

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.

@JurajNyiri JurajNyiri added the Duplicate This issue or pull request already exists label May 24, 2024
@JurajNyiri
Copy link
Owner

We have a bot now 👍 .

Screenshot 2024-05-24 at 18 15 53

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

2 participants