-
Notifications
You must be signed in to change notification settings - Fork 262
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
Websocket errors #181
Comments
If you try to control with your voice the players still don't update? The log is indicating it's successfully reconnecting. Controlling the devices doesn't properly update it anymore? |
No, devices not updating. |
Does it keep happening or does it only happen sporadically? |
This happens sporadically. Sometime it works a few days without the error, and sometime I get the error twice a day. |
I'll see if there's anything we can do from our side to ensure the old websocket connection is properly closed when we create a new one, but after that I'm not certain what the issue is if the websocket is successfully reconnecting. |
Not sure if you use aiohttp, but if you do check if you have the following parameter for TCPConnector call: enable_cleanup_closed=True |
Got same issue. Following is in the log file when it started to happen:
And from then on errors just keep on repeating, seemingly about 2 error entries / minute. Alexa components are not working then anymore. |
@ehendrix23 This is a slightly different issue from the earlier logs in that you're not reconnecting vs @Dielee who's logs were. However, are you sure you had internet on the HA device? |
I included it as clearly something occurred right then, however after this it was connected to the internet as everything else kept on functioning. A lot of these other components require connection to the internet as well (i.e. August, MyQ). So there might have been a glitch from a networking perspective but it would not have been for long as nothing else reported any issues. |
I can not reopen my old issue, so I open up a new one.
As described in #160 my log shows websocket errors. If this error occurs, my players gets not updated.
In HA they are furthermore listed as 'playing', but in the alexa app they are stopped.
So there is no playing music anymore, but HA don't now it.
To make it work again, I have to reboot HA.
But everything works as aspected.WebSocket Error [SSL: BAD_LENGTH] bad length (_ssl.c:1949)
error from callback <bound method WebsocketEchoClient.on_open of <WebsocketEchoClient(Thread-28, started daemon 1751721072)>>: [Errno 32] Broken pipe
WebSocket Error [Errno 104] Connection reset by peer
Component version: 1.2.5
HA Version: 0.92.2
DEBUG LOG:
alexa_media_log.txt
The text was updated successfully, but these errors were encountered: