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

Tuya login error response #59052

Closed
IonutNeagu opened this issue Nov 4, 2021 · 13 comments
Closed

Tuya login error response #59052

IonutNeagu opened this issue Nov 4, 2021 · 13 comments

Comments

@IonutNeagu
Copy link

The problem

Tuya login error response: {'code': 1106, 'msg': 'permission deny', 'success': False, 't': 1636018230072}

What version of Home Assistant Core has the issue?

core-2021.11.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

tuya

Link to integration documentation on our website

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: components/tuya/__init__.py:66
First occurred: 11:30:31 (1 occurrences)
Last logged: 11:30:31

Error setting up entry Tuya for tuya
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 66, in async_setup_entry
    hass.data[DOMAIN].pop(entry.entry_id)
KeyError: '8a302d09d3XXXXXXXX5268ec028b25'

Additional information

No response

@probot-home-assistant
Copy link

tuya documentation
tuya source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @tuya, @zlinoliver, @METISU, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@frenck
Copy link
Member

frenck commented Nov 4, 2021

duplicate of #58145

@frenck frenck closed this as completed Nov 4, 2021
@javierugarte
Copy link

mmmm I updated to version 2021.10 and configured Tuya V2 and everything worked fine but when updating to 2021.11 it has stopped working. I think it is not the same problem when configure Tuya V2

@frenck
Copy link
Member

frenck commented Nov 4, 2021

Tuya V2

Tuya V2 is a custom integration. The Home Assistant project does not support custom integrations.

@javierugarte
Copy link

I mean Tuya IoT Platform from 2021.10 version

@Xorpereira
Copy link

Same issue. Was working just before the 2021.11 update.

Logger: homeassistant.config_entries
Source: components/tuya/init.py:66
First occurred: 09:30:04 (1 occurrences)
Last logged: 09:30:04
Error setting up entry xxxx@xxx.com for tuya

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/tuya/init.py", line 66, in async_setup_entry
hass.data[DOMAIN].pop(entry.entry_id)
KeyError: '1fd4a71a6bed73de4ae4643a3330329e'

Logger: homeassistant.components.tuya
Source: components/tuya/init.py:99
Integration: Tuya (documentation, issues)
First occurred: 09:30:04 (1 occurrences)
Last logged: 09:30:04
Tuya login error response: {'code': 1106, 'msg': 'permission deny', 'success': False, 't': 1636018202909}

Removed the integration and tried to set it up again and I'm getting permission denied. Unlinked the app in the IoT Platform and relinked with the same results.

Unless Tuya changed something right now on their end it seems something is wrong with the new update and seems unrelated with #58145.

@ssm84
Copy link

ssm84 commented Nov 4, 2021

same problem, was working last night after update...not working anymore now!!
Identical issue of @Xorpereira..... identical!

@realtek2017
Copy link

I am getting the same issue - has something changed?

@Xorpereira
Copy link

Seems to be fixed. Might actually have been an issue on Tuya side coincidental with us updating to 2021.11.
I'm able to set up the integration and control my lights through HA again.

@Stooovie
Copy link

Stooovie commented Nov 4, 2021

Same. Worked for 20 hours after updating to 2021.11, not working anymore.

@TruantRiccardo
Copy link

same problem:
ERROR (MainThread) [homeassistant.components.tuya] Tuya login error response: {'code': 1106, 'msg': 'permission deny', 'success': False, 't': 1636045369957}

@home-assistant home-assistant locked and limited conversation to collaborators Nov 4, 2021
@frenck
Copy link
Member

frenck commented Nov 4, 2021

Locking this issue, as it is a duplicate. Please don't make a habit of responding to closed issues, that is in general not helpful.

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

No branches or pull requests

8 participants