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:
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?
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?