R
Railway8mo ago
rdil

Private networking launch delay

Quick question re: private networking. I've been told that private networking takes a little bit of time to become ready when an instance first starts up, does that apply to all traffic coming out of the container, or just traffic that uses a private network URL?
7 Replies
Percy
Percy8mo ago
Project ID: N/A
rdil
rdil8mo ago
n/a
Brody
Brody8mo ago
the initialisation delay only applies to the availability of the private network
rdil
rdil8mo ago
got it still trying to figure out how to make it work with prisma with some kind of retry system
Brody
Brody8mo ago
add a 3 second sleep
rdil
rdil8mo ago
does the start delay only happen the first time you try to access the private network or does it happen when the service starts either way
Brody
Brody8mo ago
the initialisation delay is a one time delay that only happens when the container is started i should throw this out there.. Private networking is not available during the build phase. people have had success appending ?connect_timeout=30 to their database urls
Want results from more Discord servers?
Add your server