home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.07k stars 29.73k forks source link

Can't log on Overkiz Cozytouch Addon #84061

Closed fabienmaquin closed 1 year ago

fabienmaquin commented 1 year ago

The problem

When I try to log on Overkiz addon (with Cozytouch settings), i got the following screen

(Error says "unexpected error" in english)

image

What version of Home Assistant Core has the issue?

core-2022.12.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Overkiz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/overkiz/

Diagnostics information

Logger: homeassistant.components.overkiz Source: components/overkiz/config_flow.py:59 Integration: overkiz (documentation, issues) First occurred: 18:28:26 (1 occurrences) Last logged: 18:28:26

No CozyTouch token provided. Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/overkiz/config_flow.py", line 78, in async_step_user await self.async_validate_input(user_input) File "/usr/src/homeassistant/homeassistant/components/overkiz/config_flow.py", line 59, in async_validate_input await client.login(register_event_listener=False) File "/usr/local/lib/python3.10/site-packages/pyoverkiz/client.py", line 177, in login jwt = await self.cozytouch_login() File "/usr/local/lib/python3.10/site-packages/pyoverkiz/client.py", line 303, in cozytouch_login raise CozyTouchServiceException("No CozyTouch token provided.") pyoverkiz.exceptions.CozyTouchServiceException: No CozyTouch token provided.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @imicknl, @vlebourl, @tetienne, @nyrodev, mind taking a look at this issue as it has been labeled with an integration (overkiz) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `overkiz` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign overkiz` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


overkiz documentation overkiz source (message by IssueLinks)

ColinGski commented 1 year ago

Hi,

I probably have the same issue. After updating home assistant core to version 2022.12.6, the overkiz integration stopped working with error "No Cozytouch token provided". Rolling back the update fixes the issue (I had version 2022.11.3).

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/overkiz/init.py", line 59, in async_setup_entry await client.login() File "/usr/local/lib/python3.10/site-packages/pyoverkiz/client.py", line 177, in login jwt = await self.cozytouch_login() File "/usr/local/lib/python3.10/site-packages/pyoverkiz/client.py", line 303, in cozytouch_login raise CozyTouchServiceException("No CozyTouch token provided.") pyoverkiz.exceptions.CozyTouchServiceException: No CozyTouch token provided.

ghostsam45 commented 1 year ago

Hi, same issue

No CozyTouch token provided. Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/overkiz/config_flow.py", line 78, in async_step_user await self.async_validate_input(user_input) File "/usr/src/homeassistant/homeassistant/components/overkiz/config_flow.py", line 59, in async_validate_input await client.login(register_event_listener=False) File "/usr/local/lib/python3.10/site-packages/pyoverkiz/client.py", line 177, in login jwt = await self.cozytouch_login() File "/usr/local/lib/python3.10/site-packages/pyoverkiz/client.py", line 303, in cozytouch_login raise CozyTouchServiceException("No CozyTouch token provided.") pyoverkiz.exceptions.CozyTouchServiceException: No CozyTouch token provided.

vyruz1986 commented 1 year ago

Same problem here after updating from 2022.12.4 to 2022.12.6, however restoring the 12.4 backup did not fix it for me 😔

emilsz commented 1 year ago

Same issue for me.

vyruz1986 commented 1 year ago

After updating to 2022.12.7 yesterday, it started working again 🤔 I'm wondering whether there are intermittent issues with the Cozytouch services instead...

Dadji commented 1 year ago

Same issue for me two

ColinGski commented 1 year ago

After updating to 2022.12.7 I've been asked to authenticate again by the integration and it solved my problem. I don't know if this is due to the fact that I updated or to the fact that I changed my password in the cozytouch app.

At least, it now works again.

iMicknl commented 1 year ago

Does anyone still have this issue? I was on holidays, so wasn't able to respond earlier.

emilsz commented 1 year ago

It started working all by it self for me, so most likely something server related.

iMicknl commented 1 year ago

Yes, I would believe so as well. If this happens more often, we will need to see if we can add a better error message.

fabienmaquin commented 1 year ago

Yes kinda same on me, it works but I got this error I feel it's more overkiz related

iMicknl commented 1 year ago

@home-assistant close

iMicknl commented 1 year ago

@home-assistant close