Connection closing during streaming to android tv client, no further connections afterwards including catalogue data or android phone client #6520

Closed
opened 2025-12-22 04:23:13 +01:00 by backuprepo · 2 comments
Owner

Originally created by @GokulDas027 on GitHub (Nov 28, 2024).

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

Jellyfin version: 10.10.3
on Endeavour OS

After streaming to android tv for roughly 30min, stream closes abruptly and logged this error on server terminal

[20:36:51] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed
[20:37:38] [INF] [29] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[20:37:46] [WRN] [28] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 192.168.1.2 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[20:37:46] [ERR] [15] Emby.Server.Implementations.Session.SessionManager: Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session cfad15ff83220b1522336a0d8ccaee67 not found.
at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[20:37:46] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed

Afterwards, on exiting player to movie details, no data is updated nor cannot open player. exiting further to movies catalogue, couldn't open movie details.
Also, cannot connect from android phone client to server after this. everything back to normal on server restart.

Reproduction steps

Start jellyfin server on endeavour os (arch)
Connect on android tv client
Stream

What is the current bug behavior?

Playback stopped, and no further connection to any devices from the server.

What is the expected correct behavior?

keep streaming until the media completes

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

10.10.3-1

Specify the build version

Release

Environment

- OS:Endeavour OS
- Linux Kernel:6.12.1-arch1-1 (64-bit)
- Virtualization: NA
- Clients: Android TV
- Browser: NA
- FFmpeg Version: 
- Playback Method:
- Hardware Acceleration:
- GPU Model:
- Plugins: none
- Reverse Proxy: none
- Base URL: none
- Networking: 
- Storage: local

Jellyfin logs

[20:36:51] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed
[20:37:38] [INF] [29] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[20:37:46] [WRN] [28] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 192.168.1.2 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[20:37:46] [ERR] [15] Emby.Server.Implementations.Session.SessionManager: Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session cfad15ff83220b1522336a0d8ccaee67 not found.
   at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
   at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[20:37:46] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @GokulDas027 on GitHub (Nov 28, 2024). ### This issue respects the following points: - [x] This is a **bug**, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found [here](https://jellyfin.org/contact/). - [x] This issue is **not** already reported on [GitHub](https://github.com/jellyfin/jellyfin/issues?q=is%3Aopen+is%3Aissue) _(I've searched it)_. - [x] I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue. - [x] I agree to follow Jellyfin's [Code of Conduct](https://jellyfin.org/docs/general/community-standards.html#code-of-conduct). - [x] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one. ### Description of the bug Jellyfin version: 10.10.3 on Endeavour OS After streaming to android tv for roughly 30min, stream closes abruptly and logged this error on server terminal [20:36:51] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed [20:37:38] [INF] [29] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [20:37:46] [WRN] [28] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 192.168.1.2 error receiving data: The remote party closed the WebSocket connection without completing the close handshake. [20:37:46] [ERR] [15] Emby.Server.Implementations.Session.SessionManager: Error reporting playback progress MediaBrowser.Common.Extensions.ResourceNotFoundException: Session cfad15ff83220b1522336a0d8ccaee67 not found. at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) [20:37:46] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed Afterwards, on exiting player to movie details, no data is updated nor cannot open player. exiting further to movies catalogue, couldn't open movie details. Also, cannot connect from android phone client to server after this. everything back to normal on server restart. ### Reproduction steps Start jellyfin server on endeavour os (arch) Connect on android tv client Stream ### What is the current _bug_ behavior? Playback stopped, and no further connection to any devices from the server. ### What is the expected _correct_ behavior? keep streaming until the media completes ### Jellyfin Server version 10.10.0+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number 10.10.3-1 ### Specify the build version Release ### Environment ```markdown - OS:Endeavour OS - Linux Kernel:6.12.1-arch1-1 (64-bit) - Virtualization: NA - Clients: Android TV - Browser: NA - FFmpeg Version: - Playback Method: - Hardware Acceleration: - GPU Model: - Plugins: none - Reverse Proxy: none - Base URL: none - Networking: - Storage: local ``` ### Jellyfin logs ```shell [20:36:51] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed [20:37:38] [INF] [29] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [20:37:46] [WRN] [28] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 192.168.1.2 error receiving data: The remote party closed the WebSocket connection without completing the close handshake. [20:37:46] [ERR] [15] Emby.Server.Implementations.Session.SessionManager: Error reporting playback progress MediaBrowser.Common.Extensions.ResourceNotFoundException: Session cfad15ff83220b1522336a0d8ccaee67 not found. at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) [20:37:46] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.2 closed ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
backuprepo 2025-12-22 04:23:13 +01:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@jellyfin-bot commented on GitHub (Mar 29, 2025):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Mar 29, 2025): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@jellyfin-bot commented on GitHub (Apr 20, 2025):

This issue was closed due to inactivity.

@jellyfin-bot commented on GitHub (Apr 20, 2025): This issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#6520
No description provided.