Cast Camera To Google Nest Hub Gen2

Hello,
I can’t cast my camera to Google Nest Hub Gen2.
I CAN cast cameras to my AndroidTV.
I can cast to Chrome browser.
TTS is working on my Google Nest Hub Gen2.
I am using reverse proxy nginx add-on.
HA external_url is set: https://mydomain.com.
HA internal_url is set to: http://192.168.0.201:8123
After I try to cast cameras the following error occurs in the log:

‘Failed to cast media http://192.168.0.201:8123/api/hls/6cc2b1b89c7f5db78210596ee8ddf703a19f97a2afd00d2adb62c5345301c3ad/master_playlist.m3u8?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI0MTdjNDdlNWQzZmE0NzA2YWRlNmRiYWU2NmVkYzAxZiIsInBhdGgiOiIvYXBpL2hscy82Y2MyYjFiODljN2Y1ZGI3ODIxMDU5NmVlOGRkZjcwM2ExOWY5N2EyYWZkMDBkMmFkYjYyYzUzNDUzMDFjM2FkL21hc3Rlcl9wbGF5bGlzdC5tM3U4IiwicGFyYW1zIjpbXSwiaWF0IjoxNjg3NzE1MzgxLCJleHAiOjE2ODc4MDE3ODF9.FpNooD8tO1dP3fm8B0pa_HZzOtsqaZxnP7MXV9J-LPo from internal_url (http://192.168.0.201:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address’

If I change internal address to https://mydomain.com the error is similar but comes with https://mydomain.com

Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:387
Integration: Google Cast (documentation, issues)
First occurred: 07:24:59 (1 occurrences)
Last logged: 07:24:59

Failed to cast media https://mydomain.com/api/hls/f5985c8a71e418b146cf5cc9ac45f8f2754bcdcb2ae5fee2583edb064a3c803d/master_playlist.m3u8?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI5YWE2NmFiNGZhNjg0YmQxODExOGEwY2E4MDQ4NmE1NCIsInBhdGgiOiIvYXBpL2hscy9mNTk4NWM4YTcxZTQxOGIxNDZjZjVjYzlhYzQ1ZjhmMjc1NGJjZGNiMmFlNWZlZTI1ODNlZGIwNjRhM2M4MDNkL21hc3Rlcl9wbGF5bGlzdC5tM3U4IiwicGFyYW1zIjpbXSwiaWF0IjoxNjg3NzUzNDkwLCJleHAiOjE2ODc4Mzk4OTB9.AC4nXnT4quf9sBTEecXyop3j6QhLGSsT9w2_PPMmoII from internal_url (https://mydomain.com). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

I’ll add any additional config details on y setup if needed.

Best regards

Finally I did solve the issue. After I lost a lot of time I found where is the problem. I changed the resolution to 1920*1080 and now everything is working.

1 Like