The Android app gets stuck at login after Jellyfin v10.9.0. #1382
Description
Describe the bug
Ever since v10.9.0, after a successful login into the app, I can't reopen the Jellyfin Android app on my local network. If I do, I'm greeted with this screen:

The screen doesn't say it can't find the server, but that the connection can't be established. If I tap on the "Connect" button, it just spams my logs with "Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.190" request". I pasted a snippet of my server logs of when this happens in the log section here. The only way to fix this is to clear out the cache and data stored for the app, and this only works once. I have to keep clearing out the data if I close the app.
I'm running the Jellyfin server as a custom app on a Truenas Scale system. I port forwarded the 8096 port to 9001.
Strangely enough, I'm able to enter and use the Android app if I disconnect from my local network and start my Tailscale VPN.
I've tried the community app of Jellyfin that Truenas offers to use Host Networking to see if this solved my issue.
Enabling Host Networking does solve my issue of local network access, but it now breaks my Tailscale access for when I'm away from my local network. When this happens, I get greeted with a loading circle that takes a while to bring me to a server select screen. The only way to get the app to work again is to delete the server at this screen, close the app, and reopen it. For some reason, this issue doesn't generate any logs. And just in case, I also ran into the same issue on a Synology nas while running Jellyfin v10.9.1 from a Docker container.
Logs
[INF] [26] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for "max" has succeeded.
[INF] [26] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user "max": 1/0
[INF] [26] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user <redacted>
[INF] [16] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.190" request
[WRN] [28] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.1.190" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.190" closed
[INF] [23] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.190" request
[INF] [23] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.190" request
[INF] [26] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.190" requestApplication version
2.6.1
Where did you install the app from?
Google Play
Device information
Samsung Galaxy Note 9
Android version
Android 10 (w/ Samsung's One UI v2.5)
Jellyfin server version
10.9.1
Which video player implementations does this bug apply to?
- Web player (default)
- Integrated player (ExoPlayer)
- External player (VLC, mpv, MX Player)
Activity