All Tile entities become unavailable when second tile account is being added · Issue #57912 · home-assistant/core · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Tile integration with only one tile account does work and current data will be polled from tile cloud service.
As soon as a second Tile account is added via Integrations, all tile entities (from first account and second account) become unavailable.
After removing one of the accounts, the entities of the other one will be available again.
logs say, credentials are invalid, which is not the case, since they work if only one account is being connected.
Best
What is version of Home Assistant Core has the issue?
core-2021.10.5
What was the last working version of Home Assistant Core?
Hey there @bachya, mind taking a look at this issue as it has been labeled with an integration (tile) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)
Thanks, @MarpleA. I'm able to reproduce, but am not sure of the cause yet.
One thing I see: as soon as a second API is added (and before we started receiving invalid credential errors), the logs show a lot of HTTP 419 errors:
2021-10-17 19:37:28 ERROR (MainThread) [homeassistant.components.tile] Error fetching Keys data: Error while retrieving data: Error requesting data from tiles/REDACTED: 419, message='', url=URL('https://production.tile-api.com/api/v1/tiles/REDACTED')
HTTP 419 denotes an authentication timeout (i.e., previously valid authentication has expired). It's odd that it would expire so quickly after creation, but I wonder if pytile is using some common value between all API objects. Will investigate.
Uh oh!
There was an error while loading. Please reload this page.
The problem
Using the Tile integration with only one tile account does work and current data will be polled from tile cloud service.
As soon as a second Tile account is added via Integrations, all tile entities (from first account and second account) become unavailable.
After removing one of the accounts, the entities of the other one will be available again.
logs say, credentials are invalid, which is not the case, since they work if only one account is being connected.
Best
What is version of Home Assistant Core has the issue?
core-2021.10.5
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
tile
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tile/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Error fetching Wallet 01 Tile data: Error while retrieving data: Invalid credentials
Error fetching Keyring 01 Tile data: Error while retrieving data: Invalid credentials
Error fetching Carkey 01 Tile data: Error while retrieving data: Invalid credentials
Additional information
No response
The text was updated successfully, but these errors were encountered: