Private network failed to connect after region change
Anonymous
TRIALOP

a year ago

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.

10 Replies

Anonymous
TRIALOP

a year ago

4376744d-70b4-4891-aa25-e343ebf917c4


a year ago

can you try redeploying the database?


Anonymous
TRIALOP

a year ago

nothing changed


a year ago

can you provide the error you are getting please


Anonymous
TRIALOP

a year 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

a year ago

the private network is not available during the build process


Anonymous
TRIALOP

a year ago

the service was working before the region change… and i havent changed any variables


a year 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


Anonymous
TRIALOP

a year ago

yeah i think i used beta builder…does that means i cant run my service anywhere else than us-west?


a year ago

it just means you can't use the private network during buildf


Loading...