• 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 Media Scanning & Identification Can't download images. Metadata text downloads fine.

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Can't download images. Metadata text downloads fine.

    forsklt
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #1
    2024-09-04, 05:13 AM (This post was last modified: 2024-09-04, 05:15 AM by forsklt. Edited 2 times in total.)
    Text metadata for content downloads properly, images fail to download. Solution I have found is to restart jellyfin (and swag) then images will download as they should, for about 5 minutes then indefinite loading loop. When clicking the cloud icon to download them in the pop up window (images do load) it just stalls and I end up having to refresh the page to get out of the loading loop. Same issue happens with the plugin catalog, will load for the first 5ish min on restart then indefinitely load. I have ipv6 disabled in both jellyfin and OS (omv). I also find my library not updating without a restart.

    Running 10.9.10 using Docker Compose


    Logs:
    [02:56:14] [ERR] [72] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. URL POST /Items/ede8add241426aac41c1fa9417085e0e/RemoteImages/Download.
    [02:57:50] [ERR] [50] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Items/b90d04d91707a1ffa9046a32cb323c2a/RemoteImages/Download.
    System.Net.Http.HttpRequestException: Error while copying content to a stream.
    ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
    ---> System.Net.Sockets.SocketException (104): Connection reset by peer
      at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
      at System.Net.Sockets.NetworkStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)
      at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Net.Sockets.SocketAsyncEventArgs.TransferCompletionCallbackCore(Int32 bytesTransferred, Memory
    1 socketAddress, SocketFlags receivedFlags, SocketError socketError)
      at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()
      at System.Threading.ThreadPoolWorkQueue.Dispatch()
      at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
    --- End of stack trace from previous location ---

    Appreciate any help let me know if any other information is needed.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-04, 05:38 PM
    Did you set any resource constraints on the container?
    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]
    forsklt
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    2024-09-04, 08:49 PM
    No resource constraints on container
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-04, 08:56 PM
    Can you share your full jellyfin log via pastebin? And your SWAG config (censor your domain).
    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]
    forsklt
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #5
    2024-09-04, 11:25 PM
    logs: https://pastebin.com/gNjRJfZ8
    services:
    swag:
    image: lscr.io/linuxserver/swag:latest
    container_name: swag
    cap_add:
    - NET_ADMIN
    environment:
    - PUID=1001
    - PGID=100
    - TZ=US/Eastern
    - URL=****
    - VALIDATION=http
    - SUBDOMAINS=www,tv,request #optional
    - CERTPROVIDER= #optional
    - PROPAGATION= #optional
    - EMAIL=**** #optional
    - ONLY_SUBDOMAINS=false #optional
    - EXTRA_DOMAINS= #optional
    - STAGING=false #optional
    volumes:
    - /data/swagcertConfused-faceconfig
    ports:
    - 443:443
    - 80:80
    restart: unless-stopped
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-09-05, 03:08 AM
    You do not have caching enabled in SWAG, correct? Does SWAG produce logs?

    Also, it looks like you have DEBUG logging enabled with an extra logging.json file, correct? Can you remove that and directly modify logging.default.json to enable debugging? Starting in 10.9, the way that DEBUG logging works is not the same as our documentation indicates. (Writes on to-do list of documentation to update).
    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]
    forsklt
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #7
    2024-09-06, 10:57 PM (This post was last modified: 2024-09-06, 10:57 PM by forsklt.)
    logs with the right debug: https://pastebin.com/hFY3g9Ut
    swag does not produce any useful logs. just the version and 'server ready' is all. looking at swag docs i dont see any mention of caching
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-09-06, 11:48 PM (This post was last modified: 2024-09-06, 11:48 PM by TheDreadPirate.)
    I looked at the SWAG git and couldn't find anything in the nginx config that would cause this.

    When this happens again, can you open a bash shell into both the SWAG container and Jellyfin container and run these commands.

    This will open a bash shell into the container. Replace "jellyfin" with "swag" to open a bash shell for that container.

    Code:
    sudo docker exec -it jellyfin bash

    Now we are verifying that the container's networking isn't broken and that it can actually reach TMDB.

    Run this command in the container.

    Code:
    curl -vvv https://image.tmdb.org/t/p/original/uqIVJR1fmkiwpcIsIcV0vxiyY4z.jpg -o /tmp/futurama.jpg
    ls -l /tmp/
    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]
    forsklt
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #9
    2024-09-09, 02:11 AM (This post was last modified: 2024-09-09, 02:23 AM by forsklt. Edited 1 time in total.)
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Host image.tmdb.org:443 was resolved.
    * IPv6: 2400:52e0:1a00::718:1
    * IPv4: 185.93.1.249
    * Trying 185.93.1.249:443...
    * Connected to image.tmdb.org (185.93.1.249) port 443
    * ALPN: curl offers h2,http/1.1
    } [5 bytes data]
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    } [512 bytes data]
    * CAfile: /etc/ssl/certs/ca-certificates.crt
    * CApath: /etc/ssl/certs
    0 0 0 0 0 0 0 0 --:--:-- 0:00:51 --:--:--

    does not download (both jellyfin and swag same log) ... it can download running outside container on the same user as the containers
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-09-09, 02:51 AM (This post was last modified: 2024-09-09, 02:53 AM by TheDreadPirate.)
    So it was able to resolve and it was able to connect, but it doesn't look like it got past the client hello.

    Are both SWAG and Jellyfin on a bridge network? It looks like SWAG is. Can you switch one or both of them to host networking for testing?

    Do you have any unusual network configurations for the bridge network?

    Also, I've never seen the "cap_add" + "NET_ADMIN" used before. What is it for? I took a look at Docker's documentation, but I'm not sure I've fully wrapped my head around it.
    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]
    Pages (2): 1 2 Next »

    « 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