-
Notifications
You must be signed in to change notification settings - Fork 54
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
Can't login on mobile or with an app on my desktop added from my Koel website via the external URL. #167
Comments
Same for me! |
It’s been a while since I last dealt with this problem, but I do remember some things. For starters, I remember there being some errors in the console regarding Cloudflare’s HTTPS redirect feature. Or at least some error in the console, as I said it’s been a while since I last dealt with this problem. I realised a workaround that I’m still using. On a computer, I made a script that opens a browser with the Koel domain and then full-screens it. On mobile, I realised the error only happened on Firefox and not Safari (that’s all that I tested it on). So, I just used Safari. That is, until I purchased the Koel app. If you are also using Cloudflare @andreknieriem, then that might shed some insight into this problem. |
I have fixed it now for me. In Desktop or mobile Chrome it worked, but not from the google. My logs told me nothing. But after several hours I find out, that my reverse proxy said something like tls handshake error eol and I could fix it, with a new lets ecrypt certificate exactly for my domain, not a wildcard domain certificate. Don't know why, but now everything works! And I am setting force_https to true. |
I’m glad to hear that it is working for you! I tried again with an Electron web app (or something of the like) and it mostly worked. I got past the login screen (which was as far as I got previously), but I had to refresh otherwise it was stuck on the dashboard. Then, I could play music. What do you mean by:
Also, which reverse proxy do you use? I do think I also had to set “force_https” to true, that definitely rings a bell. That was probably how I more or less fixed it. |
How do I make koel support both http and https |
Describe the bug
Hi, I've noticed something strange with Koel recently, when I try to login via mobile or with an app on my desktop added from my Koel website via the external URL I can't login. It works fine when using the internal URL.
To reproduce
Steps to reproduce the behavior:
Note: I'm unsure whether this behavior happens to other instances.
Expected behavior
You should be able to login on mobile and through a PWA / desktop app from your Koel instance via the external URL.
Environment
npm -v
andnode -v
bash replies withnpm: command not found
andnode: command not found
Additional context
I use the official Docker image with Docker Compose.
The text was updated successfully, but these errors were encountered: