Description
Describe the bug
I have my Jellyfin server setup behind an NGINX reverse proxy.
On my phone, through the web browser, I am able to access https://jellyfin.MYDOMAIN.com
When I go to Connect to Server in the Android app, it says it is "Unable to reach server".
Logcat is pasted below, but all it says is "HTTP request timed out" after 5 seconds. No errors or access requests are showing up in the NGINX reverse proxy logs for these requests, while I do see normal access requests in the logs when accessing via the web browser. It is almost as if requests through the app are not hitting the reverse proxy at all. Of note, I also use an internal DNS server to resolve my domain, so if the app is going external for DNS, that would be a problem (i.e. it will never resolve via an external DNS server).
This reverse proxy has been set up for awhile and is used for numerous other applications. In the reverse proxy setup, SSL is offloaded and uses a ZeroSSL certificate. I ran SSL check via testssl.sh (it is an internal-only site, so cannot check with SSL Labs), and nothing abnormal shows up.
Logs
Logcat
07-22 01:18:52.336 16030 16030 I ConnectFragment: checkServerUrlAndConnection https://jellyfin.<MYDOMAIN>.com
07-22 01:18:52.338 16030 16030 I ConnectFragment: Address candidates are [https://jellyfin.<MYDOMAIN>.com, https://jellyfin.<MYDOMAIN>.com:8096, https://jellyfin.<MYDOMAIN>.com:8920]
07-22 01:18:54.395 1260 2008 D MdnieScenarioControlService: packageName : org.jellyfin.mobile className : org.jellyfin.mobile.MainActivity
07-22 01:18:57.815 16030 16030 I ConnectFragment: No valid servers found, invalid candidates were: https://jellyfin.<MYDOMAIN>.com/Failure(org.jellyfin.sdk.api.client.exception.TimeoutException: HTTP request timed out), https://jellyfin.<MYDOMAIN>.com:8096/Failure(org.jellyfin.sdk.api.client.exception.ApiClientException: Unknown error occurred!), https://jellyfin.<MYDOMAIN>.com:8920/Failure(org.jellyfin.sdk.api.client.exception.ApiClientException: Unknown error occurred!)Results of https://jellyfin.MYDOMAIN.com/system/info/public
(The reverse proxy is set up to go Jellyfin via a standard HTTP connection - is that a conflict with the fact that the LocalAddress shown below is https? No certificate information is set up in Jellyfin.)
{"LocalAddress":"https://172.18.0.10:8920","ServerName":"jellyfin","Version":"10.8.1","ProductName":"Jellyfin Server","OperatingSystem":"Linux","Id":"3884546a3c324cd88ad1730c943afafe","StartupWizardCompleted":true}Application version
2.4.4
Where did you install the app from?
Google Play
Device information
Samsung Galaxy S21
Android version
Android 12
Jellyfin server version
10.8.1
Which video player implementations does this bug apply to?
- Web player (default)
- Integrated player (ExoPlayer)
- External player (VLC, mpv, MX Player)
Activity