Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Error messages from Websockets #25

Closed
1 of 3 tasks
Taraman17 opened this issue Feb 24, 2023 · 3 comments
Closed
1 of 3 tasks

Error messages from Websockets #25

Taraman17 opened this issue Feb 24, 2023 · 3 comments

Comments

@Taraman17
Copy link
Contributor

Taraman17 commented Feb 24, 2023

Type of problem

  • I have a question.
  • A feature does not work as expected.
  • I found a bug (see error log below).

Version

2.1.0

Detailed description

After a while of running hacs-homee, I get lots of errors from websockets in the log and the integration stops working.
Reloading it gets it back to work for a while, but errors persist.
Disabling Integration makes errors disappear, so I'm pretty sure it's this one, although the logs don't say it directly.

I'm not sure if it is related to the last change or not. I can't test without it, since I only have devices that depend on that change.

Error log

2023-02-23 23:26:41.232 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [1476499464] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds. The system's load is too high or an integration is misbehaving

2023-02-23 16:53:42.928 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
websockets.exceptions.ConnectionClosedError: received 4404 (private use) TOKEN_INVALID; then sent 4404 (private use) TOKEN_INVALID
@FreshlyBrewedCode
Copy link
Owner

Looks like the logs are not coming directly from the homee integration. See the related issue in HA core: home-assistant/core#82562

@Taraman17
Copy link
Contributor Author

Can that be because I run the devcontainer in my network and two HA Instances connect to the Homee Cube?

@Taraman17
Copy link
Contributor Author

This was indeed caused by concurrent logins to homee from my devcontainer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants