Casting security camera's to google not longer working

Hello,

i can no longer cast my camera’s to my google display/chromecast.
It used to work before but now when i try to cast it it makes the “pling” sound, and then the screen is black with a blue cast symbol in the middle.
I am running duckdns as well if that has something to do with it.

I have the camera’s as an entity picture card, and they work fine.

camera:
  - platform: generic
    name: Buiten Camera
    still_image_url: http://192.xxx.xxx.xx/jpg/image.jpg
    stream_source: rtsp://192.xxx.xxx.xx:554/11

The log shows the following message:

Failed to cast media https://192.xxx.xxx.xx:8123/api/hls/------long string off letters------/master_playlist.m3u8 from internal_url (https://192.xxx.xxx.xx:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

anyone know what i need to change ?

i solved the issue, i added the following in configuration.yaml:

homeassistant:
  customize: !include customize.yaml
  external_url: https://YOUR-DOMAIN-NAME.duckdns.org:8123
  internal_url: https://YOUR-DOMAIN-NAME.duckdns.org:8123