R
Railway4mo 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
Percy4mo ago
Project ID: N/A
rdil
rdil4mo ago
n/a
Brody
Brody4mo ago
the initialisation delay only applies to the availability of the private network
rdil
rdil4mo ago
got it still trying to figure out how to make it work with prisma with some kind of retry system
Brody
Brody4mo ago
add a 3 second sleep
rdil
rdil4mo 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
Brody4mo 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