question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cast Unable to connect to the Home Assistant websocket API

See original GitHub issue

Home Assistant release with the issue: version: 0.99.2

Last working Home Assistant release (if known): None

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io

arch: amd64
boot: true
custom: false
image: homeassistant/qemux86-64-homeassistant
machine: qemux86-64

Component/platform: Cast

Description of problem: When using the cast website interactively - casting lovelace cards works. When using cast.show_lovelace_view the chromecasts display the HA logo ❤️Nabu Casa Logo with an error below reading: Not Connected Error: Unable to connect to the Home Assistant websocket API.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

websocket_api:

Working when called via gui IMG_20190920_182833

Not working when called via cast.show_lovelace_view IMG_20190920_182851

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:66 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
stale[bot]commented, Apr 14, 2020

There hasn’t been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

3reactions
BenWoodfordcommented, Oct 10, 2019

I resolved this by setting the private IP on my public DNS for the domain (as I use a subdomain for local stuff)

Really we do need the ability to override the URL used for Casting though

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lovelace Cast issues - Configuration
Hi all, I am trying to get the Lovelace cast integration set up. ... I get a “unable to connect to the home...
Read more >
Unable to connect to Home Assistant Cast : r/homeassistant
I'm running Hass on an rpi4 and it is reachable from outside my network. Any idea what i am doin wrong?
Read more >
Home Assistant Google Cast & Home Assistant Cast (HOW ...
Your browser can't play this video. ... The Home Assistant Google Cast integration allows you to add a Chromecast device in your Home ......
Read more >
[AIDE ]unable to connect to home assistant websocket api
Hello Apres avoir eu des soucis avec mon reverse proxy voir ici 400 BAD REQUEST J'ai eu comme erreur :rage: unable to connect...
Read more >
They Made Casting Dashboards EASIER! (Home Assistant)
In todays video we are looking at the new simpler method for casting our Home Assistant dashboard views and also some bits of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found