• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Caddy slow streaming

     
    • 0 Vote(s) - 0 Average

    Caddy slow streaming

    Inconsistent network usage using Caddy for a reverse proxy
    Tim Medvedev
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #1
    2024-06-08, 03:27 PM
    So set up my server with Caddy as a reverse proxy several days ago, and am getting inconsistent streaming speeds and network usage. Something in the Caddy config is being changed after it runs for a bit and it kneecaps my connection and while thing stream they do so at 4mbps. 

    Not using Docker, should I be?

    My dns setup is Cloudflare without the Cloudflare proxy so just dns. Running Caddy in a Windows 11 terminal with only the reverse proxy from my domain to my localhost:8096 in my Caddyfile. After i run Caddy reload and stop it and run it again it will run properly, transcoding correctly and with high upload bandwidth, then seemingly something changes if I close the connection and open another one and it tanks to under 10mbps and works incredibly slowly. 

    I'm running the proxy on the jellyfin server machine so in Jellyfin i've set the known proxies to 127.0.0.1

    Is this something with certificates? Does something need to be set in Jellyfin? I am at a loss and am unsure and am really frustrated as it has moments of working just as I need it to then breaks without a clear error. Is it something with Caddy buffer settings? What are people using in a similar setup that works for them?

    The only thing showing up in the Caddy logs is "error": "writing: H3_REQUEST_CANCELLED"}.
    Tim Medvedev
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #2
    2024-06-08, 03:34 PM
    (2024-06-08, 03:27 PM)Tim Medvedev Wrote: So set up my server with Caddy as a reverse proxy several days ago, and am getting inconsistent streaming speeds and network usage. Something in the Caddy config is being changed after it runs for a bit and it kneecaps my connection and while thing stream they do so at 4mbps. 

    Not using Docker, should I be?

    My dns setup is Cloudflare without the Cloudflare proxy so just dns. Running Caddy in a Windows 11 terminal with only the reverse proxy from my domain to my localhost:8096 in my Caddyfile. After i run Caddy reload and stop it and run it again it will run properly, transcoding correctly and with high upload bandwidth, then seemingly something changes if I close the connection and open another one and it tanks to under 10mbps and works incredibly slowly. 

    I'm running the proxy on the jellyfin server machine so in Jellyfin i've set the known proxies to 127.0.0.1

    Is this something with certificates? Does something need to be set in Jellyfin? I am at a loss and am unsure and am really frustrated as it has moments of working just as I need it to then breaks without a clear error. Is it something with Caddy buffer settings? What are people using in a similar setup that works for them?

    The only thing showing up in the Caddy logs is "error": "writing: H3_REQUEST_CANCELLED"}.

    Just tried it in Git BASH instead of powershell or terminal and it worked with high bandwidth off the bat.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-06-08, 04:00 PM
    Can you share your full Jellyfin server log via pastebin? And what are the specs of the server besides Windows 11 as the OS?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Tim Medvedev
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #4
    2024-06-08, 04:09 PM (This post was last modified: 2024-06-08, 04:09 PM by Tim Medvedev.)
    (2024-06-08, 04:00 PM)TheDreadPirate Wrote: Can you share your full Jellyfin server log via pastebin?  And what are the specs of the server besides Windows 11 as the OS?

    Yep, server specs are a ryzen 5 1600 af and a GTX 1660 super, two jellyfin libraries one on HDD the other on SATA SSD, and then the application itself is on an NVME.

    Internet speed is 250 up and down with ports forwarded etc.

    https://github.com/Tim-Medvedev/jellyfin...log-682024 Here are the logs

    (2024-06-08, 04:09 PM)Tim Medvedev Wrote:
    (2024-06-08, 04:00 PM)TheDreadPirate Wrote: Can you share your full Jellyfin server log via pastebin?  And what are the specs of the server besides Windows 11 as the OS?

    Yep, server specs are a ryzen 5 1600 af and a GTX 1660 super, two jellyfin libraries one on HDD the other on SATA SSD, and then the application itself is on an NVME.

    Internet speed is 250 up and down with ports forwarded etc.

    https://github.com/Tim-Medvedev/jellyfin...log-682024 Here are the logs

    and 16gb ram
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-06-09, 01:48 AM
    How are you running caddy? With a caddy file or just running a one liner? Are you doing anything special in Caddy?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Tim Medvedev
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #6
    2024-06-09, 03:46 AM
    (2024-06-09, 01:48 AM)TheDreadPirate Wrote: How are you running caddy?  With a caddy file or just running a one liner?  Are you doing anything special in Caddy?

    Basically just the one liner for reverse proxy but in the caddy file

    Jellyfin.hostname.com {
         reverse proxy localhost:8096
    }

    No other config
    jibwf
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #7
    2024-12-09, 04:49 AM
    I am hitting the same issue. Any suggestions?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-12-09, 02:34 PM
    Are you using Cloudflare to proxy or tunnel your connection?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode