R
Railway11mo ago
gazhay

Private networking down?

my builds are crashing with
getaddrinfo ENOTFOUND mysql.railway.internal
getaddrinfo ENOTFOUND mysql.railway.internal
Was working fine earlier and many weeks prior.
Solution:
Under caveats here https://docs.railway.app/reference/private-networking
Private networks take 100ms to initialize on deploy, we ask that you set initial requests on a retry loop.
Private networks take 100ms to initialize on deploy, we ask that you set initial requests on a retry loop.
...
Railway Docs
Private Networking | Railway Docs
Documentation for Railway
Jump to solution
3 Replies
Percy
Percy11mo ago
Project ID: 6a6c4123-f4c9-4c41-ba5f-c3115ddc1753
gazhay
gazhayOP11mo ago
6a6c4123-f4c9-4c41-ba5f-c3115ddc1753
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {

errno: -3008,

code: 'ENOTFOUND',

syscall: 'getaddrinfo',

hostname: 'mysql.railway.internal',

fatal: true

},

original: Error: getaddrinfo ENOTFOUND mysql.railway.internal

at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {

errno: -3008,

code: 'ENOTFOUND',

syscall: 'getaddrinfo',

hostname: 'mysql.railway.internal',

fatal: true

}

}
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {

errno: -3008,

code: 'ENOTFOUND',

syscall: 'getaddrinfo',

hostname: 'mysql.railway.internal',

fatal: true

},

original: Error: getaddrinfo ENOTFOUND mysql.railway.internal

at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {

errno: -3008,

code: 'ENOTFOUND',

syscall: 'getaddrinfo',

hostname: 'mysql.railway.internal',

fatal: true

}

}
Solution
gazhay
gazhay11mo ago
Under caveats here https://docs.railway.app/reference/private-networking
Private networks take 100ms to initialize on deploy, we ask that you set initial requests on a retry loop.
Private networks take 100ms to initialize on deploy, we ask that you set initial requests on a retry loop.
I added a mindbendingly stupid delay of 5s before my deploy does anything and now it finds mysql.railway.internal YMMV
Railway Docs
Private Networking | Railway Docs
Documentation for Railway
Want results from more Discord servers?
Add your server