Open vhamburger opened 5 days ago
Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (cast
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
cast documentation cast source (message by IssueLinks)
Ok - so nothing changed - I did not update anything - I did not change anything in my network. But since today 11:00 it started working again. There is no error anymore about the web socket API. However - Dashboards are super sluggish and slow. It takes about 20-30 seconds to flick a button after touching it....
Ok - so I am happy to share my error with the community in the hopes it helps someone else (kind of like in the aviation community - blameless culture improves security, here - stupid config sharing improves home assistant ;) I noticed today that one of my laptop IPs got banned by home assistant. When opening the ip_bans.yaml file I saw three entries - two from my main VLAN and one from my IoT VLAN (yes - IoT is a separate VLAN and that is highly recommended). Anyhow, the banned IP from the IoT VLAN was indeed my NEST device!! That is why it could not connect to the web socket API. However, I did not get any "blocked IP" error in Home Assistant, I just got the web socket error.
I wonder how the IP got banned in the first place - that seems to be a different story...
So if any one of you has this "Cannot connect to WebSocket API" error - double check your ip_bans.yaml just in case your device is on there ;D I am happy it works but also feel a bit stupid that I did not realize this earlier.
So I hope this helps others who may have a similar issue in the future!
I was running in the past, but have not used in a while. Went to use it again today and had issues. Cast connects with the device.
and shows the home assistant screen. From the device, I can turn it on or off. From Brows media, I can open and play a radio station. But when I try top launch a dashboard, it says not connected, followed by Unable to connect to Home Assistant Web socket API.
I am trying to launch a dashboard which used to use in the past.
Not sure what my issue is.
The problem
Since upgrading to 2024.10 my dashboard casting is not longer working with my NEST home. I checked all network settings - nothing changed. Checked NGINX, external and internal URL. I get the following error message in logs:
What version of Home Assistant Core has the issue?
core-2024.10.2
What was the last working version of Home Assistant Core?
core-2024.9.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
HA Cast
Link to integration documentation on our website
https://www.home-assistant.io/integrations/cast/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response