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

Subscription not found error in Chrome console --> Card NOT updating #11132

Closed
3 tasks done
AmoebeLabs opened this issue Jan 9, 2022 · 2 comments
Closed
3 tasks done
Labels
Bug Current Bug in UI - Extra Attention

Comments

@AmoebeLabs
Copy link

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

Some cards are not updating after switching to another view and back.

A refresh helps, but also clicking another card for the "more-info" dialog: suddenly the card in question starts updating again...

Describe the behavior you expected

Cards always update!

Steps to reproduce the issue

  1. Select a view
  2. Switch to another view
  3. Switch back, and see card is NOT updating
    ...

Not all views do this, so the steps are easy, but the problem doesn't for every view.

What version of Home Assistant Core has the issue?

core-2021.12.8

What was the last working version of Home Assistant Core?

core-2021.12.5 if I'm right.

In which browser are you experiencing the issue with?

Chrome (PC) and Safari on iPad/iPhone

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

See Additional information for screenshot.

The browser shows an uncaught error, "Subscription not found."

Additional information

HA Subscription not found

@AmoebeLabs AmoebeLabs added the Bug Current Bug in UI - Extra Attention label Jan 9, 2022
@spacegaier
Copy link
Member

Is this in relation to specific cards (so issue always appears with the same ones)? Any custom cards being used here?

With the current information it is nearly impossible to pinpoint and replicate the issue.

The error from your screenshot is actually raised by the HA backend when something tried to unsubscribe from HA events for which there is not actually any subscription to begin with (/components/websocket_api/commands.py, method handle_unsubscribe_events).

@AmoebeLabs
Copy link
Author

The error from your screenshot is actually raised by the HA backend when something tried to unsubscribe from HA events for which there is not actually any subscription to begin with (/components/websocket_api/commands.py, method handle_unsubscribe_events).

At least the error explains why a card is not updating 😄

Is this in relation to specific cards (so issue always appears with the same ones)? Any custom cards being used here?

It is random and in most cases affects the last card in the view.

With the current information it is nearly impossible to pinpoint and replicate the issue.

It happened randomly, so I could not reproduce it easily.

However, since updating to the currently latest version of HA, I can't reproduce it anymore.

So, @spacegaier , close this issue, and re-open it again if I see this again and can reproduce it? Seems no use of letting this issue open from my point of view.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Current Bug in UI - Extra Attention
Projects
None yet
Development

No branches or pull requests

2 participants