Iframe panel - not able to view externally

Running Traefik as RP + Home assistant .

In Home Assistant using Iframe for viewing different webUi,
When connecting outside pages are not display , getting message "Unable to iframe that load website over http:// if home assistant served over https://".
Is there something can be done to enable that?

Compose file:


services:




  traefik:
    image: traefik:v2.4.7
    container_name: traefik
    networks:
      inframain:
        ipv4_address: 172.29.0.4
    restart: always
    command:
      - --log.level=INFO
      - --log.filePath=etc/traefik/log/traefik.log
      - --accessLog.filePath=etc/traefik/log/access.log
      - --accessLog.bufferingSize=100
      - --providers.docker=true
      - --providers.docker.exposedbydefault=false
      - --api
      #allow access on 8888 
      - --api.insecure=true
      
      - --entrypoints.traefik.address=:8888

      - --entrypoints.web.address=:80
      - --entrypoints.web.http.redirections.entrypoint.to=websecure
      - --entrypoints.web.http.redirections.entrypoint.scheme=https

      - --entrypoints.websecure.address=:443
      - --entrypoints.websecure.http.tls.certresolver=myresolver
      - --certificatesresolvers.myresolver.acme.dnschallenge=true
      - --certificatesresolvers.myresolver.acme.email=${CF_API_EMAIL}
      - --certificatesresolvers.myresolver.acme.storage=acme.json   
      - --certificatesresolvers.myresolver.acme.dnschallenge.provider=cloudflare
            # specify dynamic configuration file:
      - --providers.file.filename=/dynamic.yaml
      - --providers.file.watch=true
    ports:
      - 80:80
      - 443:443
      - 8888:8888
    environment:
      - CF_API_EMAIL=${CF_API_EMAIL}
      - CF_API_KEY=${CF_API_KEY}
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/var/run/docker.sock
      - ./traefik/acme.json:/acme.json    
      - ./traefik/:/etc/traefik/log/
      #for accessing non docker application (qnap)
      - ./traefik/dynamic.yaml:/dynamic.yaml
    labels:
      traefik.enable: true

      # Dashboard
      traefik.http.routers.traefik.rule: Host(`traefik.${DOMAINNAME}`)
      traefik.http.routers.traefik.entrypoints: websecure
      traefik.http.routers.traefik.service: api@internal
      traefik.http.routers.traefik.middlewares: auth
      traefik.http.middlewares.auth.basicauth.users: ${TRAEFIK_USER}:${TRAEFIK_PASS}
            
  homeassistant:
    container_name: homeassistant
    image: homeassistant/home-assistant:latest
    volumes:
      - /share/Avi/HA/:/config
      - /etc/localtime:/etc/localtime:ro
      - /share/CACHEDEV1_DATA/Music/:/media
      - /share/CACHEDEV1_DATA/Pictures/:/photos
    restart: always
    ports:
      - 8123:8123  
      - 9009:9009  
    networks:
      - inframain
    depends_on:
        - traefik
        - mosquitto
    labels:
      traefik.enable: true
      traefik.http.routers.hasss.rule: Host(`ha.${DOMAINNAME}`)
      traefik.http.routers.hasss.entrypoints: websecure
      traefik.http.services.hasss.loadbalancer.server.port: 8123
      COMPOSE_PATH: ${PWD}

I think this is browser or application related, but has nothing to do with Traefik.

That does not sound like a Traefik error message, but you can enable Traefik logs to make sure.

You should probably update your Traefik version.

Thanks @bluepuma77 - actully i managed to add traefik labels to this docker,expose it outside and use external address in the iframe panel.

I really want to update the Traefik version but afraid something will break up.
based on the compose i share - do u see anything i should change to newest version?

I don’t think anything will break - and you get bugfixes