-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Android app gets stuck at login after Jellyfin v10.9.0. #1382
Comments
same here. Can't reconnect via reverse proxy. |
Hi there, Same for me, stuck on the JF logo and no way to get it past it ;-) |
semi able to replicate- updated to 10.9.1, signed out of active sessions on pixel 6 pro and experienced the same issues with 2.6.1 and debug built from the latest master branch. signing out all devices on the server dashboard / clearing cache / data seems to have fixed the issue on both the debug and 2.6.1 release versions. accessing the server remotely through tailscale also works after clearing data. tested on physical pixel 6 pro android 14 (play store release / current master) and emulator pixel 8 pro android 14 (current master). i have an old samsung somewhere i can test on, if i can find it. |
That's strange. I've deleted all devices from the server dashboard after updating to 10.9.0 and reinstalled the app on my phone, but I'm still having the same problem. |
I have the same Issue, but only on one of my devices. Both run Android 8.1 Behavior of the Problem Device:
|
interesting. can you post a bit of the server logs from when you (attempt) to connect with both devices? i’m still unable to reliably reproduce this with the 2.6.1 release, but building from the current master branch doesn’t seem to have any issues. i do have a separate / potentially related issue on both android and ios but need to look into it more. |
I think being able to reliably reproduce this issue depends on what and how the Jellyfin server is installed. I have a Truenas Scale NAS & a Synology NAS. Using the Jellyfin server on my Truenas Scale system, I get this Android error while on my local network. Using a VPN to use an external network makes everything work fine on it however. If I enable host mode network, local network works and the Android app doesn't run into this issue, but then fails to connect at times while on the VPN. On the Synology with Jellyfin running in a Docker container, local network also works fine but my VPN stops working. I have both servers using pretty much the same settings to run Jellyfin, so I don't know why it behaves differently on both. |
Okay, I no longer think the issue is caused by the android app. I've decided to rollback my server to 10.8.13(docker linuxserver/jellyfin) and load the config files from a backup. I guess server version 10.9.0+ has introduced some bugs in Networking. |
i was leaning towards this as well since i’ve had issues with android and ios (but not android tv or web). the most common issue on 2.6.1 on android results from the webview throwing a 404 and displaying an empty screen, but i havent found anything specific to the servers not showing up. |
I have the same problem, just like the author. |
I would also like to point out that if I wait a few hours at random, the app usually enters my server just fine again, then breaks if I close it afterwards. |
I have the same problem. This is happening on my LAN and WAN for two android phones, but not my Android TV. My devices are both Android Galaxy S23. Accessing Jellyfin via web browser on the devices works fine. For the server configuration I am not using a reverse proxy or HTTPS. I am using Tailscale VPN. Let me know if you'd like more details. |
this could be related to: https://github.com/jellyfin/jellyfin/issues/11598 => Fix stored credentials not updating on logout jellyfin/jellyfin-web#5500 unfortunatly this fix is not included in yesterday released 10.9.2 |
I'm confused. Isn't this fix mentioned as being included in the release notes on the jellyfin-web v10.9.2 release? From the release notes on that page:
|
Yes that PR was included in 10.9.2. |
seems to have resolved all relevant issues as i'm now unable to reproduce these on android or ios. |
I can confirm the issue persists for my Galaxy S23 devices following the 10.9.2 update. |
Tested this out on an iPad 6th generation OS version 17.4.1 - no issues. |
@rusticrooster have you tried clearing storage / cache on your devices and starting fresh in that way? if you could post a bit of the server logs also that'd help narrow things down. is your issue connecting to the server like the original screenshot? or are you able to log in successfully and then have errors on subsequent logins. |
One thing I noticed is that if you log into multiple accounts on the Android app, the server's Devices section in the admin dashboard does not create a new instance/device per user logged in. The way it worked before, each new user that logged into the same device counted as a new separate device in the dashboard. I wonder if this has something to do with this issue. The Jellyfin Media Player program was updated today, and logging into multiple accounts on that does produce multiple devices on the server. So far, my browser and the Android app just replace the name of the last logged-in user over the single device. |
Sure thing, taitsmith. The issue is produced by:
|
Device 192.168.50.43 is the Android phone with the issue. My router identifies 192.168.50.137 as "android-dhcp-9", it seems to relate to the Android phone but I'm not exactly sure what it is. Device 192.168.50.241 doesn't have an issue. I had hit the connect button several times to generate these logs.
|
I have exactly this issue also. I can use local IP and external address to access the server exactly once. After that all app data must be deleted for them to work again. This issue only occurs on my phone (Pixel 7), all other devices such as Chromecast or web browser have no issues. Jellyfin Server 10.9.2 docker compose. Logs from server after a single reconnection attempt: [07:38:22] [INF] [33] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:22] [INF] [33] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:23] [INF] [33] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [ERR] [33] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [19] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:23] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:29] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:29] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:29] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:38:29] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:29] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:38:29] [INF] [20] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. |
I might have a potential fix here. Running Jellyfin on Docker on bridge mode here. I had the same problem where I can only login once before it fails to connect on LAN. However, I can access the Jellyfin server just fine when I am outside through my nginx reverse proxy. The main diff i observed in the logs where that when I was outside, Jellyfin routes it through the docker's 172.17. 0.0/16 ip address, but when I am in LAN, it tries to route through 127.0.0.1 instead. Setting the Bind to local network address to the server's LAN ip ( in this case the docker's 172.17. 0.0/16 ip address) fixes that issue for me. This forces it to use the 172.17. 0.0/16 ip address always. |
I get a similar result with enabling host network mode. My phone will work on LAN, but now will not work right when I switch to remote with a Tailscale VPN. Not using host mode results in the opposite. |
Try setting ur docker to be in bridge mode and in Dashboard > Networking, input the Bind to local network address field to be ur docker internal ip (should be in the 172.17. 0.0/16 range) |
I can confirm this is still an issue with jellyfin server 10.9.2. installed in a docker container and android jellyfin 2.6.1. It started happening just as I updated the jellyfin server to over 10.9.0. Clearing data and cache does work until the app closes, once it need reconnect the connection to the server fails as described by author. It doesn't seem to happen with other jellyfin client I've have installed, Gelly. |
seems like a lot of the remaining issues are related to servers running in docker- if anyone still having trouble and receiving notifications here can confirm or deny this that'd be helpful. |
I am running on (Dragonfish) TrueNAS Scale, using the Jellyfin app made available by Truecharts. I believe the app uses Docker. |
Yeah it does in a way. Truenas Scale uses a wrapper to run Docker images within Kubernetes (k3s in this case). I'm also running my Jellyfin server on Truenas Scale (v24.04.0 - Dragonfish). If it helps, I'm also running Jellyfin on a Synology NAS using Docker using the same image. The only difference is the opposite happens (local network works, switching to remote breaks things). |
Confirming that Jellyfin Server is running in docker. Here are some more logs: Initial login via remote connection: [11:19:45] [INF] [38] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for admin has succeeded.
[11:19:45] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user admin: 0/0
[11:19:45] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user 4e944a8b-e80c-4b94-bbc9-44b8eb823205 After this, closed app without signing out. [11:19:45] [INF] [44] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:20:11] [INF] [47] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:20:19] [INF] [45] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:20:24] [INF] [45] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:20:30] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:20:56] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:20:57] [WRN] [46] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 100.74.95.46 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[11:20:57] [WRN] [50] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 100.74.95.46 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[11:20:57] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed
[11:20:57] [INF] [50] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed
[11:20:57] [WRN] [52] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 100.74.95.46 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[11:20:57] [INF] [52] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed
[11:20:57] [WRN] [52] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 100.74.95.46 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[11:20:57] [INF] [52] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed
[11:20:57] [WRN] [46] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 100.74.95.46 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[11:20:57] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed
[11:21:09] [INF] [52] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed
[11:21:10] [INF] [45] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:22:35] [INF] [50] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[11:22:47] [INF] [50] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
[11:24:10] [WRN] [48] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 100.74.95.46 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[11:24:10] [INF] [48] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed Any further attempts results in: [11:29:54] [INF] [32] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request If I log in through remote connection, then sign out, then close and reopen the app, the server is inaccessible, and the logs are as follows: [11:48:24] [INF] [71] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for admin has succeeded.
[11:48:24] [INF] [71] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user admin: 0/0
[11:48:24] [INF] [71] Emby.Server.Implementations.Session.SessionManager: Logging out access token 9f3a279b29b1400b928be57329adf3a1
[11:48:24] [INF] [71] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user 4e944a8b-e80c-4b94-bbc9-44b8eb823205
[11:48:24] [INF] [71] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 request
[11:49:28] [INF] [69] Emby.Server.Implementations.Session.SessionManager: Logging out access token 25df5017dea148028da018150cd66764
[11:49:28] [INF] [68] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 100.74.95.46 closed
[11:49:46] [INF] [70] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:46] [INF] [70] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:46] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:46] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:46] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:46] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:46] [ERR] [75] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.
[11:49:46] [INF] [70] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:46] [INF] [70] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:46] [INF] [70] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [ERR] [73] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:47] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:47] [ERR] [75] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.
[11:49:48] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:48] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:48] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:48] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:48] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:48] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:48] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:48] [INF] [75] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:48] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:48] [ERR] [74] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.
[11:49:54] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:54] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:54] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:54] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:54] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:54] [INF] [73] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:55] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:55] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:55] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[11:49:55] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:55] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[11:49:55] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. |
I'm running Jellyfin server on Windows, and I've built a reverse proxy with NPM, but I still can't resolve this error. It works without problem on the web or third-party apps such as Findroid. |
Issue still persists for me on 10.9.2. I also assembled the debug apk from master just now with no luck. I use docker in bridge mode with Nginx as a reverse proxy with this config: server
{
server_name jelly.mydomain.com;
listen 443 ssl;
set $watch 10.1.0.11:8096;
location /
{
allow 192.168.1.0/24;
allow 10.1.0.1;
deny all;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass http://$watch$request_uri;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem;
include /etc/letsencrypt/conf/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/conf/ssl-dhparams.pem;
} And those global settings: client_max_body_size 512g;
#error_log /var/log/nginx/errorr.log debug;
proxy_hide_header Content-Security-Policy;
proxy_hide_header X-Frame-Options;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_hide_header X-Content-Type-Options; Link for the main project issue: jellyfin/jellyfin#11658 |
There is an abnormal situation that makes it impossible to log in Application version Where did you install the app from? Device information Android version Jellyfin server version Which video player implementations does this bug apply to? The same device is installed The above Traditional Chinese content comes from GOOGLE Translate |
Same here, when trying to log in, server just logs:
This is with:
Logging into the Jellyfin instance via a browser works fine, but logging in with the Android app works once. After that the app shows a: "Connection cannot be established" error, and refuses to connect to the server. It seems like this is happening since 10.9.2. I don't think it happened with 10.9.1 |
Closing this issue as it has been fixed in 10.9.3 via jellyfin/jellyfin-web#5566. |
@nielsvanvelzen Thanks for the update. Just so I understand, what will users need to update to address this? The server, the android client, or both? |
Just the server once the release is published, which includes the web interface that caused the issue. |
When 10.9.3 release can be expected? It's tough to use J without mobile client. |
Yeah. I know it's tough to give estimates, and it will be done when it's done. But android clients are currently not able to access my lib at all. Prioritizing a release that includes the patch that fixes this would be nice. |
Version 10.9.3 still has the same issue. |
It fixed the issue on my end. Seems weird that it didn't for you. |
Same, fixed on my end after the update 10.9.3. |
Yup, for me too. |
I found out that deleting your devices in the dashboard will break the app (and all other clients) from loading properly. Are you still stuck on the connection page as shown on the image I shared when I created this issue? Or do you at least get past that? Maybe try clearing out your app data one more time if it's the latter. |
I'm running into this exact issue. Seems to be happening no matter what Android version I have installed on my phone. Tried the past few from apkmirror and nothing works. I even tried versioning back my server with docker with no success. |
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
Application 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?
The text was updated successfully, but these errors were encountered: