Getting the following error
Error: Can't reach database server at `sjc.db-name-here.flycast`:`5432`
Please make sure your database server is running at `sjc.db-name-here.flycast`:`5432
I’m using prisma, with a remix blue stack app.
Note: DATABASE_URL was set via the attach process. I tried to detach and re-attach with no luck. Same error.
Interestingly enough, when i use flyctl proxy and try to connect to it locally it works just fine. I can also use fly proxy and connect to the db using datagrip. More over, migrations work, its just not connecting on app start… very strange.
Note I also tried modifying the connection string to include the following:
?connect_timeout=30&pool_timeout=30&socket_timeout=30
?connect_timeout=30&pool_timeout=30&socket_timeout=30&sslmode=disable
and more
Any ideas?