Jellyfin proxy issue

Hi,

I’m facing the same issue, my jellyfin server is behind a Nginx reverse proxy and I used the server conf provided by the Jellyfin website (Nginx | Jellyfin) so that I can secure it with a SSL cert.
It works flawlessly with the Jellyfin Android app and the Kodi plugin but not with Symfonium.

Here are the errors I can find in the debug log :

2023-02-15 10:01:44.935 Verbose/jellyfin.add.client.info: Test url http://box.lezard-visuel.com:18096/ [0]: 400 [Bad Request] <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

2023-02-15 10:01:44.935 Verbose/TestURL: --> [631] GET https://box.lezard-visuel.com:18096/
2023-02-15 10:01:44.935 Verbose/TestURL: --> [631] connection: close
2023-02-15 10:01:44.970 Verbose/TestURL: <-- [631] 400 Bad Request http://box.lezard-visuel.com:18096/web/ (35ms)
2023-02-15 10:01:44.971 Verbose/TestURL: <-- [631] Server: nginx/1.18.0 (Ubuntu)
2023-02-15 10:01:44.971 Verbose/TestURL: <-- [631] Date: Wed, 15 Feb 2023 09:01:44 GMT
2023-02-15 10:01:44.971 Verbose/TestURL: <-- [631] Content-Type: text/html
2023-02-15 10:01:44.971 Verbose/TestURL: <-- [631] Content-Length: 264
2023-02-15 10:01:44.971 Verbose/TestURL: <-- [631] Connection: close
2023-02-15 10:01:44.972 Verbose/TestURL: <-- [631] Strict-Transport-Security: max-age=31536000
2023-02-15 10:01:44.972 Verbose/TestURL: <-- [631] <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

2023-02-15 10:01:44.972 Verbose/jellyfin.add.client.info: Test url https://box.lezard-visuel.com:18096/ [2]: 400 [Bad Request] <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

Looks a lot like the same bug that has been reported in this thread but I’m running the current latest Android release (4.0.1) and this still doesn’t work.
Is there a way to fix this or is it a bug/regression that needs to be fixed on the Symfonium side ?

Best regards.

Open you own issue, provide full logs and follow the template.

And show how you enter the data in the wizard.

@Hybrid512 Your proxy configuration is not really correct.

https://box.lezard-visuel.com:18096/ redirect to http://box.lezard-visuel.com:18096/web/ and not https://box.lezard-visuel.com:18096/web/

And when requesting that URL it fails with error 400 when it’s supposed to return 426 to request upgrading to https. If you fix your proxy config it will work.

I’ll try to add one more workaround for this case.

Damn, you were right !
I badly copy/pasted/modified the proxy conf :man_facepalming:
Thanks pointing me to the fix.
It works perfect now !
Ho and I forgot to mention but Symfonium is a great app ! Loving it !

1 Like