• 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 Getting "HLS Error / otherError / internalException" when playing in web client only

     
    • 0 Vote(s) - 0 Average

    Getting "HLS Error / otherError / internalException" when playing in web client only

    hheimbuerger
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:Germany
    #1
    2024-12-15, 01:01 PM
    When starting a specific video in the browser, I get an endless blue loading spinner over the video still image and no buttons, i.e. also no back arrow to return to the Jellyfin selection UI. I cannot find any error messages pointing to a specific root cause.

    Latest Jellyfin server (10.10.3), running in a Docker container. Tested with latest Vivaldi and latest Chrome.
    The same video loads just fine in other clients (tested with Android client and Android TV client).
    Other videos also load in the browser. This one is an old XVID MPEG4 360p

    The video opening is not logged on the server, i.e. "X is playing Y on Z" does not appear in the device activity list.
    However, transcoding seems to start just fine.

    Browser log:


    Stored JSON credentials: {}
    node_modules.jellyfi…095d8f634f60f309c:2 Begin ConnectionManager constructor
    main.jellyfin.bundle…095d8f634f60f309c:2 [jellyfin-web]
    version: 10.10.3
    commit:
    build: 10.10.3
    main.jellyfin.bundle…095d8f634f60f309c:2 loading installed plugins
    node_modules.jellyfi…095d8f634f60f309c:2 Begin connect
    node_modules.jellyfi…095d8f634f60f309c:2 Begin getAvailableServers
    node_modules.jellyfi…095d8f634f60f309c:2 Begin connectToServers, with 1 servers
    node_modules.jellyfi…095d8f634f60f309c:2 begin connectToServer
    node_modules.jellyfi…095d8f634f60f309c:2 tryReconnect: http://JELLYFIN_HOST:8096
    node_modules.jellyfi…095d8f634f60f309c:2 getTryConnectPromise http://JELLYFIN_HOST:8096
    node_modules.jellyfi…095d8f634f60f309c:2 ConnectionManager requesting url: http://JELLYFIN_HOST:8096/system/info/public
    node_modules.jellyfi…095d8f634f60f309c:2 fetchWithTimeout: timeoutMs: 20000, url: http://JELLYFIN_HOST:8096/system/info/public
    node_modules.jellyfi…095d8f634f60f309c:2 fetchWithTimeout: succeeded connecting to url: http://JELLYFIN_HOST:8096/system/info/public
    node_modules.jellyfi…095d8f634f60f309c:2 ConnectionManager response status: 200, url: http://JELLYFIN_HOST:8096/system/info/public
    node_modules.jellyfi…095d8f634f60f309c:2 Reconnect succeeded to http://JELLYFIN_HOST:8096
    node_modules.jellyfi…095d8f634f60f309c:2 returning instance from getOrAddApiClient
    node_modules.jellyfi…095d8f634f60f309c:2 Setting server address to http://JELLYFIN_HOST:8096
    node_modules.jellyfi…095d8f634f60f309c:2 resolving connectToServers with result.State: ServerSignIn
    main.jellyfin.bundle…095d8f634f60f309c:2 serviceWorker unsupported
    main.jellyfin.bundle…095d8f634f60f309c:2 [getTheme] getting theme "dark"
    main.jellyfin.bundle…095d8f634f60f309c:2 [ApiProvider] Could not get current user undefined
    node_modules.jellyfi…095d8f634f60f309c:2 returning instance from getOrAddApiClient
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/QuickConnect/Enabled
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/users/public
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/Branding/Configuration
    node_modules.jellyfi…095d8f634f60f309c:2 Error opening web socket: Error: Cannot open web socket without access token.
    node_modules.jellyfi…095d8f634f60f309c:2 returning instance from getOrAddApiClient
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/Users/authenticatebyname
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/Sessions/Capabilities/Full
    node_modules.jellyfi…095d8f634f60f309c:2 calling apiClient.ensureWebSocket
    node_modules.jellyfi…095d8f634f60f309c:2 opening web socket with url: wsConfused-face/JELLYFIN_HOST:8096/socket?api_key=c5c0028b33ec4c4385415aa3c2b296f5&deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEzMS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3MzQyNTc2MDkyMjY1
    node_modules.jellyfi…095d8f634f60f309c:2 returning instance from getOrAddApiClient
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/DisplayPrefere...lient=emby
    node_modules.jellyfi…095d8f634f60f309c:2 web socket connection opened
    node_modules.jellyfi…095d8f634f60f309c:2 Sending web socket message: KeepAlive
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/Users/9a37ae9…
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/Users/9a37ae9…...op%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/Users/9a37ae9…/Items/d0e1a67…
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/System/Endpoint
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting http://JELLYFIN_HOST:8096/Playback/Bitra...ize=500000
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting http://JELLYFIN_HOST:8096/Playback/Bitra...ze=1000000
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting http://JELLYFIN_HOST:8096/Playback/Bitra...ze=3000000
    node_modules.jellyfi…095d8f634f60f309c:2 Requesting url without automatic networking: http://JELLYFIN_HOST:8096/Users/9a37ae9…/Items/d0e1a67…
    main.jellyfin.bundle…095d8f634f60f309c:2 HLS Error: Type: otherError Details: internalException Fatal: false
    (anonymous) @ main.jellyfin.bundle…095d8f634f60f309c:2


    The main log seems to show that it kicked off the transcoding, though:
       

    [2024-12-15 13:41:37.937 +01:00] [INF] [50] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "172.17.0.1" request
    [2024-12-15 13:41:41.533 +01:00] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "me". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2024-12-15 13:41:41.872 +01:00] [INF] [45] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [2024-12-15 13:41:41.872 +01:00] [INF] [45] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -ss 00:20:45.000 -f avi -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -i file:\"/media/movies/The Movie (1953).avi\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 4442195 -maxrate 4442195 -bufsize 8884390 -profile:v:0 high -level 51 -g:v:0 75 -keyint_min:v:0 75 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(400\,304*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(400/a\,304))/2)*2,format=yuv420p\" -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 415 -hls_segment_filename \"/config/transcodes/7927bee9e1f4cbd06e0d377026dbdecf%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/transcodes/7927bee9e1f4cbd06e0d377026dbdecf.m3u8\""


    ffmpeg log has a couple of warnings, but seems to do fine with transcoding:


    ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
      built with gcc 12 (Debian 12.2.0-14)
    […]
    [hls @ 0x55ea19911c80] Opening '/config/transcodes/7927bee9e1f4cbd06e0d377026dbdecf415.ts' for writing
    [hls @ 0x55ea19911c80] Opening '/config/transcodes/7927bee9e1f4cbd06e0d377026dbdecf416.ts' for writing
    [hls @ 0x55ea19911c80] Opening '/config/transcodes/7927bee9e1f4cbd06e0d377026dbdecf417.ts' for writing
    frame=  248 fps=0.0 q=3.0 size=N/A time=00:00:00.00 bitrate=N/A speed=  0x   
    […]
    frame=26094 fps=521 q=8.0 size=N/A time=00:17:13.84 bitrate=N/A speed=20.7x   
    [hls @ 0x55ea19911c80] Opening '/config/transcodes/7927bee9e1f4cbd06e0d377026dbdecf762.ts' for writing
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-15, 07:03 PM
    Can you share your full jellyfin and a ffmpeg log via pastebin?
    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