core: Blink - Stopped Working and Can't Reconfigure. Possible Authentication Issue.

The problem

My blink integration seems to have stopped working this evening.

I have tried disabling it and setting up a new instance, but the issue is the same.

I have tested my username / password via the blink app and via Alexa. Both of these work just fine.

When looking at my logs, I see the following error:

Logger: blinkpy.auth Source: components/blink/init.py:50 First occurred: 22:58:59 (2 occurrences) Last logged: 22:59:00

Unable to access https://rest-e002.immedia-semi.com/api/v3/accounts/xxxxxx/homescreen after token refresh. Unable to access https://rest-e002.immedia-semi.com/networks after token refresh.

What version of Home Assistant Core has the issue?

core-2023.8.2

What was the last working version of Home Assistant Core?

core-2023.8.2

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Blink

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: blinkpy.auth
Source: components/blink/__init__.py:50 
First occurred: 22:58:59 (2 occurrences) 
Last logged: 22:59:00

Unable to access https://rest-e002.immedia-semi.com/api/v3/accounts/xxxxxx/homescreen after token refresh.
Unable to access https://rest-e002.immedia-semi.com/networks after token refresh.

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Reactions: 4
  • Comments: 23

Most upvoted comments

Mine is working now just hit reload in HA and all entities refreshed

Ditto.

2023-09-25 18:31:31.830 ERROR (SyncWorker_8) [blinkpy.auth] Login endpoint failed. Try again later.
2023-09-25 18:31:31.832 ERROR (SyncWorker_8) [blinkpy.auth] Unable to refresh token.
2023-09-25 18:31:32.137 ERROR (SyncWorker_8) [blinkpy.auth] Login endpoint failed. Try again later.
2023-09-25 18:31:32.139 ERROR (SyncWorker_8) [blinkpy.auth] Unable to refresh token.
2023-09-25 18:31:38.722 DEBUG (SyncWorker_6) [blinkpy.helpers.util] Setting base url to https://rest-u019.immedia-semi.com.
2023-09-25 18:31:38.722 DEBUG (SyncWorker_6) [blinkpy.api] Making GET request to https://rest-u019.immedia-semi.com/api/v3/accounts/REDACTED/homescreen
2023-09-25 18:31:39.071 INFO (SyncWorker_6) [blinkpy.auth] Token expired, attempting automatic refresh.
2023-09-25 18:31:39.071 INFO (SyncWorker_6) [blinkpy.auth] Attempting login with https://rest-prod.immedia-semi.com/api/v5/account/login
2023-09-25 18:31:39.241 ERROR (SyncWorker_6) [blinkpy.auth] Login endpoint failed. Try again later.
2023-09-25 18:31:39.243 ERROR (SyncWorker_6) [blinkpy.auth] Unable to refresh token.
2023-09-25 18:31:39.245 DEBUG (SyncWorker_6) [blinkpy.blinkpy] Initialized last_refresh to 1695684384 == 2023-09-25 18:26:24
2023-09-25 18:31:39.245 DEBUG (SyncWorker_6) [blinkpy.api] Making GET request to https://rest-u019.immedia-semi.com/networks
2023-09-25 18:31:39.484 INFO (SyncWorker_6) [blinkpy.auth] Token expired, attempting automatic refresh.
2023-09-25 18:31:39.484 INFO (SyncWorker_6) [blinkpy.auth] Attempting login with https://rest-prod.immedia-semi.com/api/v5/account/login
2023-09-25 18:31:39.548 ERROR (SyncWorker_6) [blinkpy.auth] Login endpoint failed. Try again later.
2023-09-25 18:31:39.551 ERROR (SyncWorker_6) [blinkpy.auth] Unable to refresh token.

However, the official mobile app throws an error when i go to “Clips” I get “Authentication failed”. I just store stuff to local USB and don’t really have anything in the cloud but I guess it auths to check for data in the cloud anyway. So this is probably just an outage.

The Blink integration failing causes the authentication to get hung up. I was able to reset my password and get into the mobile apps fine. I think what’s more likely is the login endpoints changed and need to be updated.