-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
Koel not working anymore after updating to version 7.0.2 #7155
Comments
Does clearing the browser cache help, e.g. with a forced page reload |
I can replicate it. It works on a fresh install, but upgrading from v6 to v7 leads to this error. Erasing all browser data does not help, it must be some database migration issue. EDIT: Okay strange. I wanted to compare the database, hence uninstalled and reinstalled Koel, but now it still throws the error. It did work well when I installed v7 initially. Weird. |
Okay, not sure why it did work well on my very first attempt. Now, I cannot get it working anymore with fresh installs on any system or with any other browser. But I found out one way to get it working: In the config file ... another problem: Now most UI elements are not functional. In browser console I see an error:
|
Thanks a lot for your efforts!! |
Yes, I guess that there is something messed up with these trusted host checks. Since there is no (documented) way to append to this list it must not be checked, but it is. Likely, internal URLs/requests generated by the backend to load further assets, are also affected by this, and hence fail for the same reason, unless one indirectly adds another entry by enforcing HTTPS. The script I posted above then adds the current client request host to the list of trusted hosts explicitly, and I guess also Koel itself then generates URLs internally differently. There was a PR to change the behaviour around this: koel/koel#1706 We need to report this to the Koel: https://github.com/koel/koel/issues |
There have been several updates, now v7.0.6, but the issue persists. |
I tried out the v7.0.6 now, and here it is now working as expected. So all UI elements are visible and seem to work. What is the difference to your setup? |
We found the reason and a nice way to make the trusted hosts feature transparently available, but allow all hosts by default (pre-v7.0.0 behaviour): koel/koel#1797 And you are right, the missing GUI elements work fine here as well. I missed to test this with the latest version. |
Creating a bug report/issue
Required Information
Additional Information (if applicable)
Steps to reproduce
Actual behaviour
The webpage is saying "Untrusted Host"
further down:
Extra details
The text was updated successfully, but these errors were encountered: