• 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 Websockets dying and freezing playback

     
    • 0 Vote(s) - 0 Average

    Websockets dying and freezing playback

    nickshanks
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #1
    2024-05-10, 12:16 PM (This post was last modified: 2024-05-10, 12:17 PM by nickshanks. Edited 1 time in total.)
    This issue seems to occur on Jellyfin for Android TV and also the Kodi plugin, both on my Chromecast. I have ordered a Fire Stick 4K to test with.

    The Jellyfin app connects to my server over a Wireguard VPN. I can play content and then randomly the stream will just freeze. I have to back out and resume again in order for it to start working again. This occurs randomly, sometimes every couple of minutes, sometimes every hour but it's super annoying. I can see lines like the following in my logs:

    Code:
    jellyfin  | [13:08:15] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB
    jellyfin  | [13:08:16] [WRN] [37] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 10.13.13.9 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
    jellyfin  | [13:08:16] [INF] [37] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.13.13.9 closed
    jellyfin  | [13:08:17] [INF] [27] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.13.13.9 request
    jellyfin  | [13:09:06] [INF] [34] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
    jellyfin  | [13:09:18] [INF] [45] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.

    I'm assuming what's happening is somehow the websockets are dying and then the playback will continue from the buffer for another 5-10 seconds and then it freezes, because the websocket isn't there and therefore there's no stream coming in.

    Accessing the server through the web UI or through JMP (also over the same Wireguard VPN) seems to be ok, no freezes occur. It's either a Chromecast issue or a Jellyfin for Android TV issue.

    Why does this happen and how can I troubleshoot this?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Websockets dying and freezing playback - by nickshanks - 2024-05-10, 12:16 PM
    RE: Websockets dying and freezing playback - by TheDreadPirate - 2024-05-10, 01:28 PM
    RE: Websockets dying and freezing playback - by nickshanks - 2024-05-11, 11:10 AM
    RE: Websockets dying and freezing playback - by mcarlton00 - 2024-05-10, 01:34 PM
    RE: Websockets dying and freezing playback - by jaillybelly - 2024-12-14, 09:22 PM
    RE: Websockets dying and freezing playback - by trannon - 2025-04-29, 06:50 PM

    • 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