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

Installation Problem #72

Open
Dengo91 opened this issue Jul 19, 2024 · 3 comments
Open

Installation Problem #72

Dengo91 opened this issue Jul 19, 2024 · 3 comments

Comments

@Dengo91
Copy link

Dengo91 commented Jul 19, 2024

Hi all,

if i trying to set up the Intigration i get the Following Problem. The Intigration was working a couple of weeks befor then i have same problems and i tryed to reinstall it and now i cant login again...

Logger: custom_components.cupra_we_connect.config_flow
Quelle: custom_components/cupra_we_connect/config_flow.py:75
Integration: cupra_we_connect (Dokumentation, Probleme)
Erstmals aufgetreten: 07:56:05 (1 Vorkommnisse)
Zuletzt protokolliert: 07:56:05

Unexpected exception during setup
Traceback (most recent call last):
File "/config/custom_components/cupra_we_connect/config_flow.py", line 75, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/cupra_we_connect/config_flow.py", line 50, in validate_input
await hass.async_add_executor_job(we_connect.login)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/weconnect_cupra/weconnect_cupra.py", line 166, in login
self.__session.login()
File "/usr/local/lib/python3.12/site-packages/weconnect_cupra/api/cupra/auth/my_cupra_session.py", line 47, in login
response = self.doWebAuth(authorizationUrl)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/weconnect_cupra/api/cupra/auth/my_cupra_session.py", line 191, in doWebAuth
raise APICompatibilityError('No user id provided')
weconnect_cupra.errors.APICompatibilityError: No user id provided

@anthony-wang
Copy link

anthony-wang commented Jul 19, 2024

Same issue on my side. Integration was running fine on v0.8.2.

Steps I took:

  1. Upgrade to v0.8.4
  2. Reboot HAOS

Expectation:
Cupra WeConnect integration to function properly as it has.

Observed:
Saw the same errors in the log as @Dengo91 reported above.

I also tried to then delete the "device" in the WeConnect integration and set-up again, but was not able to because of an unknown error.

  File "/usr/local/lib/python3.12/site-packages/weconnect_cupra/api/cupra/auth/my_cupra_session.py", line 191, in doWebAuth
    raise APICompatibilityError('No user id provided')
weconnect_cupra.errors.APICompatibilityError: No user id provided

Environment:

  • HAOS running on Proxmox
  • Core 2024.7.2
  • Supervisor 2024.06.2
  • Operating System 12.4
  • Frontend 20240710.0

@daernsinstantfortress
Copy link
Owner

Logout of official cupra app and log back in. Accept all legal disclaimer popups and it will probably work again.

@anthony-wang
Copy link

Logout of official cupra app and log back in. Accept all legal disclaimer popups and it will probably work again.

Thank you @daernsinstantfortress, doing the steps as you wrote in your message fixed the issue for me!

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

3 participants