jellyfin / jellyfin-android

Android Client for Jellyfin

Home Page:https://jellyfin.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App not able to connect to jellyfin server 10.9.7

navilg opened this issue · comments

Describe the bug

I upgraded jellyfin to 10.9.7 and since then jellyfin android app is not able to connect to server. It just keep on showing Jellyfin logo till eternity when I start the app.

Tried to connect to server using findroid and it works fine. Jellyfin web and Jellyfin desktop (Ubuntu) app is also connecting and working fine.

Logs

No response

Application version

2.6.1

Where did you install the app from?

Google Play

Device information

Samsung Galaxy S21+

Android version

Android 14

Jellyfin server version

10.9.7

Which video player implementations does this bug apply to?

  • Web player (default)
  • Integrated player (ExoPlayer)
  • External player (VLC, mpv, MX Player)

I think this might be a local issue. Not an issue here pixel 6:
Screenshot_20240630-190636

I updated my server (official docker image) to 10.9.7 and immediately started having the same issues described here.
I also have FireTV, Jellyfin for Kodi and the official Jellyfin Media Player which are not affected.

Application version
2.6.1

Where did you install the app from?
Google Play

Device information
Oppo A53s
Nokia 3.4
Motorola Moto G5

Jellyfin server version
10.9.7

I don't have this issue with mine.

Jellyfin Server 10.9.7 (through Docker)
Jellyfin Android App 2.6.1 (from f-droid)
Android Version 14
OnePlus Nord CE 2 Lite

I have a workaround for this. You just clean your login session of this device on the service. Re-login so the client can work.

Thanks @MosZhao I will test this weekend and confirm

I updated my server (official Ubuntu deb) to 10.9.7, Then a third-party plugin caused a crash ,I used dpgk re-install offical Ubuntu deb(version is 10.9.2),and re-configure the server.Then started having the same issues described here.

Application version
2.6.1、2.53、2.50(I have tried)

Where did you install the app from?
Github

Device information
XiaoMi RedMi K50

Jellyfin server version
10.9.2

I also have Findroid which are not affected,and the jellyfin web also not affected.

After I completely cleared the official application data, he can use it again. But after exiting the application, it will be unable to connect until the data is completely cleared again.

After completely clearing the official application data, I successfully connected. Then I closed the application, then opened it again and tried to log in, but couldn't connect.here is the server's log:

[2024-07-06 11:41:41.158 +08:00] [INF] [99] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for "my username" has succeeded.
[2024-07-06 11:41:41.159 +08:00] [INF] [99] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user "my username": 3/0
[2024-07-06 11:41:41.161 +08:00] [INF] [99] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user "my token"
[2024-07-06 11:41:41.243 +08:00] [INF] [53] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "my ipv6 ip" request
[2024-07-06 11:42:12.282 +08:00] [WRN] [53] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "my ipv6 ip" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-07-06 11:42:12.290 +08:00] [INF] [53] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "my ipv6 ip" closed
[2024-07-06 11:42:28.271 +08:00] [INF] [99] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "my ipv6 ip" request
[2024-07-06 11:42:40.786 +08:00] [WRN] [99] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "my ipv6 ip" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-07-06 11:42:40.790 +08:00] [INF] [99] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "my ipv6 ip" closed
[2024-07-06 11:42:41.462 +08:00] [INF] [48] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "my ipv6 ip" request

Thanks @MosZhao I will test this weekend and confirm

Tested. I am able to use android app after clearing app cache.

I tried to capture the logs when the application was unable to connect to the server, as shown below:

Normal logs
2024-07-06 15:21:44.320 25143-25210 chromium org.jellyfin.mobile.debug E [ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -200
24-07-06 15:21:44.322 25143-25143 JellyfinWebViewClient org.jellyfin.mobile.debug E Received SSL error: primary error: 2 certificate: Issued to: "my domain";Issued by: CN=ZeroSSL ECC Domain Secure Site CA,O=ZeroSSL,C=AT; on URL: https://["my ipv6 ip"]:"my net port"/system/info/public
Normal logs