Private network issues
juan
HOBBYOP

a year ago

Project ID: be3f2db8-13c1-4dfb-b758-fbaace10701c

I noticed that my app was communicating to the database via the proxy and not the private network. I thought it was configured to use the latter, but I noticed a deploy 10 days ago (not mine, I didn't deploy in months).

After reconfiguring the env vars and changing both database and service to runtime v2 and US Oregon region, my app doesn't deploy (because the prisma migrate job in the build time fails to connect)

Solved

7 Replies

a year ago

hello,

the private network is not yet available during build.

for now, you would want to move the migrate command from the build command into the start command.

pnpm run start -> pnpm prisma migrate deploy && pnpm run start


juan
HOBBYOP

a year ago

Perfect, it worked! Is there an ETA for that feature to come back?


a year ago

come back? it worked before because you connect to the database via the public network


a year ago

Private network access during build is currently in beta and not officially supported. It’s on the team’s radar though!


juan
HOBBYOP

a year ago

That's what I was talking about. I thought it was working. Thank you for you time, happy new year!

1324131555035058200


a year ago

happy new year!


a year ago

!s


Status changed to Solved adam about 1 year ago


Status changed to Solved adam about 1 year ago


Loading...