Jump to content

Emby on Roku slow (Docker-compose/Traefik/LetsEncrypt)


pinkfamily7

Recommended Posts

pinkfamily7

I currently run a media server that I've run Emby through a Docker instance (via Compose) and Traefik for about 3 months now (I rebuilt my server at about that time.)  While Emby does load on the Roku app, the menus, icons, and even the streams seem to take a long time to load-- something that doesn't seem to happen on any other type of device (Amazon, PC, or Android applications).  I've noticed that it may have something to do with the reverse proxy settings, as it seems other threads mentioned that sometime between May-July Roku may have done something that affects Emby's performance when used via reverse proxy?

emby:
    image: linuxserver/emby
    container_name: emby
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    volumes:
      - ${USERDIR}/docker/emby:/config
      - /share:/data
      - /share/transcoding:/transcode #optional
    ports:
      - "9006:8096"
      - "8920:8920" #optional
#    devices:
#      - /dev/dri:/dev/dri #optional
    restart: unless-stopped
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.backend=emby"
#      - "traefik.frontend.rule=Host:${DOMAINNAME}; PathPrefix: /sonarr"
      - "traefik.frontend.rule=Host:emby.${DOMAINNAME}"
      - "traefik.port=8096"
      - "traefik.docker.network=traefik_proxy"
      - "traefik.frontend.headers.SSLRedirect=true"
      - "traefik.frontend.headers.STSSeconds=315360000"
      - "traefik.frontend.headers.browserXSSFilter=true"
      - "traefik.frontend.headers.contentTypeNosniff=true"
      - "traefik.frontend.headers.forceSTSHeader=true"
      - "traefik.frontend.headers.SSLHost=example.com"
      - "traefik.frontend.headers.STSIncludeSubdomains=true"
      - "traefik.frontend.headers.STSPreload=true"
      - "traefik.frontend.headers.frameDeny=true"

I'm not sure if anybody knows enough about Traefik to know what additional label I may need to improve Emby on Roku's performance, especially at the loading screen, but I would certainly take any guidance available.

 

edit:  99% of my usage to my Emby server is remote.  While I do have physical access to the server, I don't generally use it when I'm able to access it locally, and I don't have any "local" Roku's.

Edited by pinkfamily7
Link to comment
Share on other sites

It's probably related to the reverse proxy settings. We've seen users report this before and they've resolved it via changes to settings.

 

You may want to check out @@pir8radio's nginx settings in his profile.

Link to comment
Share on other sites

pinkfamily7

Thanks, I've checked his settings and unfortunately there is nothing in his nginx settings that is mindblowingly obviously that I could use to change my Traefik settings.  All of the glaringly obvious things are already configured by Traefik... and the others don't seem to have a Traefik analogue.  I did find a configuration for Jellyfish that I'm going to try out, but all the only changes I had to make for that was to comment out/remove these. 

#      - "traefik.frontend.headers.browserXSSFilter=true"
#      - "traefik.frontend.headers.contentTypeNosniff=true"
#      - "traefik.frontend.headers.frameDeny=true"

I'll give that a shot for a day or so, I guess.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...