mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-01 11:20:59 +03:00
Latest master: first time wizard doesn't proceed #508
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lbeltrame on GitHub (Mar 9, 2019).
Describe the bug
I updated to the latest master (to follow what's going on, I'm prepared to live with the consequences) and I started fresh with a new data dir.
However the setup locked up right after selecting the language in the first time wizard with a few errors in the logs (see below).
To Reproduce
Expected behavior
First time wizard proceeds.
Logs
Also the logs are full of
[WRN] Unable to determine session based on url like this:http://example.com/embywebsocket?apikey=myapikey`System (please complete the following information):
@anthonylavado commented on GitHub (Mar 9, 2019):
Yeah. @cvium is working on this in #1079.
@lbeltrame commented on GitHub (Mar 15, 2019):
I asume there's no way to bypass the first time wizard, either documented or not?
@lbeltrame commented on GitHub (Mar 18, 2019):
I was able to proceed further without using the reverse proxy (more errors on Connection Upgrade) when manually applying #1079. However, with a reverse proxy it is impossible to log in now as the server returns 400 (Bad Request). The error is as follows:
@lbeltrame commented on GitHub (Mar 18, 2019):
Hm, it looks like a case of https://github.com/aspnet/KestrelHttpServer/issues/1263-
Adding the header suggested there fixes it. Which means that for reverse proxying Jellyfin with this change (#1079) you need:
In your reverse proxy configuration in case of nginx.
These changes + #1079 fix the current issue.
@JustAMan commented on GitHub (Mar 18, 2019):
@lbeltrame what new Nginx headers did you apply? Related to websocket or
X-*stuff?@lbeltrame commented on GitHub (Mar 18, 2019):
I added:
proxy_set_header X-Forwarded-Host $http_host;proxy_set_header Connection $http_connection(as opposed to"upgrade")proxy_set_header X-Real-IP $remote_addr@JustAMan commented on GitHub (Mar 19, 2019):
@lbeltrame can you check that first time wizard proceeds normally without any of configuration changes if you access Jellyfin directly (i.e. not via reverse proxy)?
@lbeltrame commented on GitHub (Mar 20, 2019):
Ok, it looks like those errors in the log as previously reported were deeply misleading and in fact it was only a matter of reverse proxying things differently. I started with a fresh configuration and with those extra bits the wizard proceeded (it did proceed also without proxying, but that's a no-go for me).
This means that they ought to be added to the docs (will think about a PR if no one beats me to it).
The "null" exception still occurs BTW (however the error about the access token is no longer there), but it doesn't look critical.
FTR, even if #1079 wasn't the solution for the issue, it was very helpful (due to its errors) in actually finding out the cause of the problem.
@JustAMan commented on GitHub (Mar 20, 2019):
@lbeltrame I've created an issue on jf-docs repository, feel free to solve it via PR if you have time :)
@joshuaboniface commented on GitHub (Apr 20, 2019):
Should be fixed in 10.3.0 release.