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.