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

Cannot login anymore since installation of the latest version 0.0.16 #197

Closed
browetd opened this issue Aug 24, 2023 · 4 comments
Closed

Comments

@browetd
Copy link

browetd commented Aug 24, 2023

Version of the custom_component

0.0.16

Configuration

Message received at startup

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/porscheconnect/__init__.py", line 94, in async_setup_entry
    access_tokens = await controller.getAllTokens()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyporscheconnectapi/client.py", line 32, in getAllTokens
    return await self._connection.getAllTokens()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyporscheconnectapi/connection.py", line 195, in getAllTokens
    token = await self._requestToken(application)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyporscheconnectapi/connection.py", line 202, in _requestToken
    await self._login()
  File "/usr/local/lib/python3.11/site-packages/pyporscheconnectapi/connection.py", line 149, in _login
    raise WrongCredentials(message.get('message', message.get('description', 'Unknown error')))
pyporscheconnectapi.exceptions.WrongCredentials

Describe the bug

Cannot login anymore since upgraded from 0.0.15 to 0.0.16 (WrongCredentials)
Was working fine with previous version and fix for the API to 0.1.5

Debug log


Add your logs here.

@browetd
Copy link
Author

browetd commented Aug 24, 2023

I tried to remove it and downgrade (but changing the API to 0.1.5) which was working but still "auth" issue... Maybe is it a temporary problem with API, website or... ?

@browetd browetd changed the title Cannot login anymore since installed latest version Cannot login anymore since installation of the latest version 0.0.16 Aug 24, 2023
@browetd
Copy link
Author

browetd commented Aug 24, 2023

I do not know why but Porsche suspended my logonid for too many attempts... Created a new password and now it is back online...

@browetd browetd closed this as completed Aug 24, 2023
@steffenhoelle
Copy link

I have the same issue here. Changing password does not solve the issue. When I try to install I get a ‚! auth‘ message after typing in my email & password

@browetd
Copy link
Author

browetd commented Aug 29, 2023

@steffenhoelle it seems that the access from home assistant is understood by Porsche as an unauthorized attempt (I got three time an Email from them telling me that someone is trying to get access to my account). And three time I "changed" my password by retyping the same one... :-) and the service was restored after... until the next Email from Porsche... But when connected, it is working fine though...

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

2 participants