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

Authentication error after system reboot #56

Closed
FrenchieKing757 opened this issue Dec 14, 2023 · 1 comment
Closed

Authentication error after system reboot #56

FrenchieKing757 opened this issue Dec 14, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@FrenchieKing757
Copy link

Originally had an issue logging in after adding the integration. Tried restarting HA and deleting integration. Finally added the Blueair username and password manually instead of iOS Keychain. Today my system reboots every morning at 3am and it failed on restart. It was fine for 2 days. Not sure if it was because of the update to HA Core 2023.12.2. Using Raspberry Pi 4 with HAOS 11.2, Supervisor 2023.11.6

`Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 3:34:06 AM (1 occurrences)
Last logged: 3:34:06 AM

Error setting up entry for ha_blueair
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ha_blueair/init.py", line 72, in async_setup_entry
_, devices = await get_devices(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/util_bootstrap.py", line 27, in get_devices
api_devices = await api.get_devices()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 116, in get_devices
"X-AUTH-TOKEN": await self.get_auth_token(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 42, in get_auth_token
self.auth_token = await self._get_auth_token()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 100, in _get_auth_token
raise LoginError("invalid password")
blueair_api.errors.LoginError: invalid password
`
IMG_0727

@spikeygg
Copy link

yeah, I'm seeing the same thing - I've opened a ticket for this yesterday: #55

@dahlb dahlb added the duplicate This issue or pull request already exists label Dec 18, 2023
@dahlb dahlb closed this as completed Dec 18, 2023
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

3 participants