Jellyfin Forum
Problem with server access on the android app - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Problem with server access on the android app (/t-problem-with-server-access-on-the-android-app)



Problem with server access on the android app - Marc_Proux - 2024-05-16

Hello,
I am having a problem with the Jellyfin mobile app. After successfully logging into the server and authenticating, I have full access to the entire app. However, when I close it and decide to access it again, I am unable to reconnect to the server. The only workaround I have found is to delete all the app data on my phone and reconnect.
Here is the screen that appears when I try to reaccess the app:

   

Looking at the server logs, I have this message when I close the app after successfully connecting:
Code:
[10:37:20] [WRN] [39] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 10.0.0.2 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[10:37:20] [INF] [39] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.0.2 closed
[10:37:35] [INF] [45] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.0.2 request
[10:37:41] [INF] [44] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.0.2 closed
[10:37:42] [INF] [39] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.0.2 request
[10:38:02] [INF] [34] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.0.2 closed
[10:38:08] [INF] [43] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.0.2 request
[10:38:15] [INF] [39] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.0.2 closed
[10:38:55] [INF] [34] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[10:42:19] [INF] [35] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[10:45:07] [INF] [14] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.

Since the problem occurs all the time, I can hardly use the mobile app.
Config:
Android app: 2.6.1
Server: 10.9.1 on Docker

Thanks in advance for your help.
01



RE: Problem with server access on the android app - Efficient_Good_5784 - 2024-05-16

There's an open issue for this on github: https://github.com/jellyfin/jellyfin-android/issues/1382


RE: Problem with server access on the android app - TheDreadPirate - 2024-05-16

Are you using Nginx as a reverse proxy?


RE: Problem with server access on the android app - Marc_Proux - 2024-05-16

(2024-05-16, 01:00 PM)TheDreadPirate Wrote: Are you using Nginx as a reverse proxy?

No but I use Traefik


RE: Problem with server access on the android app - Eric Huecker - 2024-06-03

(2024-05-16, 01:00 PM)TheDreadPirate Wrote: Are you using Nginx as a reverse proxy?

I'm using nginx, but this error also occurs when trying to connect via local ip.


RE: Problem with server access on the android app - TheDreadPirate - 2024-06-03

This was related to a server side bug. I believe .2 or .3 included a fix for this. If you are still on .0 or .1, upgrade.