Registration problem
Opened this issue · 20 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 host.docker.internal
instead of localhost.
postgres://postgres:postgrespw@host.docker.internal:49153/chatgpt
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 docker-compose up
command.
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 ip addr show
command.
Then use this as the DB_URL = postgres://postgres:postgrespw@172.31.88.184:49153/chatgpt
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
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.
Thank you, I'll take it as a reference.