mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: Unable to Access Internet from Docker (Metadata, Plugins, etc.) #4427
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jboucher614 on GitHub (Dec 12, 2022).
Please describe your bug
Hi, my Jellyfin instance is currently unable to access the internet to view plugins and load metadata. When I try to go to Plugins > Catalog, I get an endless spinning loading wheel.
The internal Jellyfin logs show a few errors like this one:
Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages".My Jellyfin Docker logs show this:
Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://[redacted]:8096/jellyfin/Packages?PackageType=UserInstalled to [redacted] in 0:01:40.0075526 with Status Code 500I'm running Debian Stable with a Jellyfin Docker container (jellyfin/jellyfin) on the latest image, 10.8.8. The Jellyfin Docker network is "host," and it runs on user 1000 (which is correct for my setup). I recently reconfigured it to be accessed at https://[exampleURL.org]/jellyfin and is accessible via NGINX proxy manager. I also recently enabled UFW on the host machine.
I've tried:
Please let me know if anyone else has had a similar issue or knows of a fix. Thank you!
Jellyfin Version
10.8.0
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@EgorBakanov commented on GitHub (Dec 12, 2022):
I had same problem with jellyfin and multiple other services on docker. Turns out I misconfigured docker MTU. Check out this articles:
@jboucher614 commented on GitHub (Dec 12, 2022):
Thank you for your comment. Unfortunately this doesn't apply to me as I'm using the "host" network and I verified that "ip link" shows network MTU of 1500. My server and Jellyfin login are accessible, but I'm unable to connect Jellyfin to metadata and plugin providers.
@jboucher614 commented on GitHub (Dec 13, 2022):
I figured it out. My machine had a problem with connecting to ipv6
@cclloyd commented on GitHub (Feb 13, 2024):
For me, using sysctl to disable ipv6 worked.
In my instance, this was adding
'--kubelet-arg=allowed-unsafe-sysctls=net.ipv6.*' \to my k3s systemd definition, and in my deployment yaml, I addedThis is easier to accomplish in plain docker.