Unable to connect to railway hosted database during build phase
This morning our deployment is failing. It seems as if the service can no longer access it's postgres database during the build phase. We're using the shared DATABASE_PRIVATE_URL but I've also tried using a public url.
Solution:Jump to solution
these are logs from the legacy builder, and that is a private domain name, the private network is not available during build on the legacy builder, you would need to be on the V2 builder to be able to communicate with services on the private network
8 Replies
Project ID:
bcb1aa26-eedf-4586-9a1d-f7063bcc23de
bcb1aa26-eedf-4586-9a1d-f7063bcc23de
ok this issue seems to of resolved itself, no rush on this but would be nice to know what happened here.
Solution
these are logs from the legacy builder, and that is a private domain name, the private network is not available during build on the legacy builder, you would need to be on the V2 builder to be able to communicate with services on the private network
I had tried both, in fact it was originally setup to use the public domain see builds
e2675c4
& e2675c4
I only tried the private one out of curiosity to see if it would help, will bear that in mind re: v2 builder 🙂please note that the V2 builder is only available in the us-west region at this time
i assume thats what happened? you where on the v2 builder in the us-west region and it was working, then you switched regions and your builds where ran on the legacy builder instead
To my knowledge the builder / region was not changed between build attempts, I only varied the DATABASE_URL environment variable.
ah then you simply had it working with the public network and tried switching to the private network
yeah