-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Registration problem #232
Comments
show the compos file you are using and the platform you are deploying it ..... |
If you are using Google Cloud or AWS then have you allowed those ports through the firewall? |
Try using the default SQLite database. You are using Postgres. If SQLite works, then you need to change localhost to internal IP address of the host machine. Or, you can also use
|
Is it working now ? The problem with your setup is that you are using the localhost. That will not work. Set DB_URL to what @ilovefreesw mentioned above. |
That's strange .. post the log of |
Yes, it is the problem with the Postgres srever name. I think you are using older version of Docker. Whatever the OS is this, find its IP address. Tell me the output of |
Then use this as the And if it still doesn't work then create a new EC2 instance with Ubuntu 22.04 or Ubuntu 20.04 image. |
I tried this, but the problem remains unresolved. |
Did it work when you used the default SQLite database? |
As for creating a new EC2 instance, I have not tried. Could you please give me some more detailed instructions? Thank you. |
Where are you using it right now ? on Which cloud provider and operating system? |
Follow this tutorial: I think this is the same. https://www.youtube.com/watch?v=VKDU10gbYVQ But it uses DigitalOcean ..so chnage that for yourself..of if you can afford DO then follow this tutorial. |
AWS, Ubuntu-22.04.1 |
Thank you, I'll take it as a reference. |
After deploying through docker compose, I start test the client by register a new account. However, here comes the problem (400 bad request), is it due to my wrong configuration?
The text was updated successfully, but these errors were encountered: