-
-
Notifications
You must be signed in to change notification settings - Fork 84
Unable to login #272
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
Comments
I have tried accessing both by my local network and remotely via Tailscale. Neither case has worked for me so far. |
Seconding this issue, setup is similar to yours but I left all default configs. |
Set HTTP_ALLOWED=true |
I did that - I also set ACCOUNT_REGISTRATION=true, but no luck yet. Am I
supposed to be doing anything with the JWT_SECRET variable?
Thanks for the advice btw; this seems like a cool tool and I'd love to get
it working on my machine!
…On Thu, May 1, 2025 at 12:38 PM Emrik Östling ***@***.***> wrote:
*C4illin* left a comment (C4illin/ConvertX#272)
<#272 (comment)>
Set HTTP_ALLOWED=true
—
Reply to this email directly, view it on GitHub
<#272 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AETXLTLG54NXCZPA2WXUCQL24JEWZAVCNFSM6AAAAAB4H725KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNBVGIYTANJXGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
As in enter that line into my environmental variables? I'm new-ish to Docker, and am unfamiliar with how to use |
Yes as environment variable |
Tried that, but it didn't work. Here is the environmental variables section of my docker-compose.yml:
I don't know if this makes a difference in terms of finding a solution, but out of curiosity, I intentionally misentered my password. The "login" button sent me to a bare webpage that simply said |
no, export is someting you would type in the shell. Remove |
Ok, so taking |
Setting it as an environment should be enough |
That didn't work... |
export is used in bash and similar to set env variables which can also be set in docker compose. I think you are doing something weird with your docker compose. Set the env variable in the compose file and then attach and check what it actually is (using echo for example) |
Ok, you're right - despite the
...when I run I thought maybe I had goofed the way I ended that first line (the I've tried setting the environmental variables in a I'm at a loss at the moment as to what else could be causing this problem. Any other thoughts? All and any help is much appreciated! |
we told you to remove "export" from environment variables |
Oh, I did - I just copied the lines from my previous comment, and forgot I had This is what I have:
|
I think I may have a suggestion here. HTTP_ALLOWED=true only works for I'd argue this is a bug or a feature request - to allow HTTP on the local LAN. Is that possible already? |
Ahhhh, that makes sense then. Yep, I'm trying to access the service from other machines on my LAN and Tailscale network. The server itself is headless, so being able to access it only with localhost isn't very helpful for me. Thanks @benwilcock for the added info! @C4illin, thoughts regarding the comment above? |
Curious on this, i believe this is my situation as well. I am trying to run convertx on a rpi4 in docker and access it from a different computer. Is there currently a resolution to this? It allows me to create an account but i then can not log in. I tried with https as well but i get a ssl error attempting that. |
I tested it here and if I add Maybe try to clear cookies? |
@benwilcock no, on localhost |
We might be talking at cross purposes. The point though, is that to work on headless systems on LAN, there's an issue with the login flow and using http mode. Should be reproducible. |
I tried the following on my headless system (not a raspberry pi though):
then i visited http://192.168.1.4:3003 and create an account and was able to use it as normally so I cant reproduce the issue |
Hiya, had this issue and HTTP_ALLOWED=true does work, but not sure how good of a solution it is, as I want to make the service available thru cloudflare, and will have to use https at that point |
Yeah the idea is that you use https and don't change the variable (HTTP_ALLOWED=False) |
I spent a lot of time trying to figure out why the login wouldn't work before I happened to find this issue. I did eventually also see it in a note on the install page, but most of us don't read all the instructions thoroughly when this is one of several projects we're installing and just trying to get it done. I don't know why HTTP is not allowed by default, but if it's going to remain not allowed by default, HTTP_ALLOWED=true (or false) should at least be in the sample docker-compose.yml. And also the login page should really give an error message that explains what's going on. |
Hi, I had the same issue in a fresh installation. HTTP_ALLOWED=true did fix it. |
Not sure what happened, but when I wiped and reinstalled the container via Docker Compose, suddenly it started working. I'm now able to connect over HTTP via Tailscale, and just ran my first conversion as a test. Everything seems to be in order now, but not sure why it suddenly decided to start working. |
I have started a Docker convertx instance using Docker Compose. Initially, the only change I made was swapping "3000:3000" to "3001:3000" since another container already uses the 3000 port in my setup. I have been able to access the setup page and login page, but when I enter my credentials into the login page, it simply returns me to the login page to reenter my credentials. I am unable to reach the main conversion page. Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: