Private network failed to connect after region change

Today I switched to PRO plan and I moved one of my projects(API & DB services) form US West to EU West. Since then the API can't connect to db in the private network. When I switch to the public connection URL everything works alright.
Solution:
ah you must have been using the beta builder, and when you switched regions you got put back on the default builder since the beta builder is not available in any other region than us-west
Jump to solution
11 Replies
Percy
Percy3w ago
Project ID: 4376744d-70b4-4891-aa25-e343ebf917c4
nevestulkata
nevestulkataOP3w ago
4376744d-70b4-4891-aa25-e343ebf917c4
Brody
Brody3w ago
can you try redeploying the database?
nevestulkata
nevestulkataOP3w ago
nothing changed
Brody
Brody3w ago
can you provide the error you are getting please
nevestulkata
nevestulkataOP3w ago
The deployment fails during build process. Here are the logs
#12 1.153 Prisma schema loaded from prisma/schema.prisma



#12 1.160 Datasource "db": PostgreSQL database "railway", schema "public" at "postgres.railway.internal:5432"

#12 1.246

#12 1.247 Error: P1001: Can't reach database server at `postgres.railway.internal:5432`

#12 1.247

#12 1.247 Please make sure your database server is running at `postgres.railway.internal:5432`.

#12 1.268 error Command failed with exit code 1.



#12 1.268 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

#12 1.291 error Command failed with exit code 1.

#12 1.291 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

#12 ERROR: process "/bin/bash -ol pipefail -c yarn run build" did not complete successfully: exit code: 1
#12 1.153 Prisma schema loaded from prisma/schema.prisma



#12 1.160 Datasource "db": PostgreSQL database "railway", schema "public" at "postgres.railway.internal:5432"

#12 1.246

#12 1.247 Error: P1001: Can't reach database server at `postgres.railway.internal:5432`

#12 1.247

#12 1.247 Please make sure your database server is running at `postgres.railway.internal:5432`.

#12 1.268 error Command failed with exit code 1.



#12 1.268 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

#12 1.291 error Command failed with exit code 1.

#12 1.291 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

#12 ERROR: process "/bin/bash -ol pipefail -c yarn run build" did not complete successfully: exit code: 1
Brody
Brody3w ago
the private network is not available during the build process
nevestulkata
nevestulkataOP3w ago
the service was working before the region change... and i havent changed any variables
Solution
Brody
Brody3w ago
ah you must have been using the beta builder, and when you switched regions you got put back on the default builder since the beta builder is not available in any other region than us-west
nevestulkata
nevestulkataOP3w ago
yeah i think i used beta builder...does that means i cant run my service anywhere else than us-west?
Brody
Brody3w ago
it just means you can't use the private network during build
Want results from more Discord servers?
Add your server