Josso Ares
Josso Ares
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
Thanks, @brody192
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
:)
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
I think including the builder in the private network makes perfect sense especially since many web frameworks do pre-rendering at build time nowadays
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
it's unfortunate because my public network is behind CloudFlare Access so I have to deal with more auth steps
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
switching from private networking at build time to public networking at deploy time is asking for trouble with Next.js data cache
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
I guess I'll have to use public networking then
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
oh. that's unfortunate
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
at build time.
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
No description
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
yup
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
no, but I had a somewhat similar issue locally where getaddrinfo failed for localhost on Node 18 and not on Node 16 so I thought Node version might be relevant.
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
so it seems like the resolver Node 18 is using doesn't know about private networking
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
Somewhat unrelated to $PORT, but Web is a Next.js project running Node 18 and this is happening:
#12 42.91 TypeError: fetch failed
#12 42.91 at Object.fetch (node:internal/deps/undici/undici:11576:11)
#12 42.91 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
#12 42.91 cause: Error: getaddrinfo ENOTFOUND cms.railway.internal
#12 42.91 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26)
#12 42.91 at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
#12 42.91 errno: -3008,
#12 42.91 code: 'ENOTFOUND',
#12 42.91 syscall: 'getaddrinfo',
#12 42.91 hostname: 'cms.railway.internal'
#12 42.91 }
#12 42.91 }
#12 42.91 TypeError: fetch failed
#12 42.91 at Object.fetch (node:internal/deps/undici/undici:11576:11)
#12 42.91 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
#12 42.91 cause: Error: getaddrinfo ENOTFOUND cms.railway.internal
#12 42.91 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26)
#12 42.91 at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
#12 42.91 errno: -3008,
#12 42.91 code: 'ENOTFOUND',
#12 42.91 syscall: 'getaddrinfo',
#12 42.91 hostname: 'cms.railway.internal'
#12 42.91 }
#12 42.91 }
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
that's pretty neat
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
ohhhh
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
wait, I thought I needed to use Railway's generated PORT variable if I want to access it publicly?
35 replies
RRailway
Created by Josso Ares on 9/23/2023 in #✋|help
Share $PORT across services for private networking
38204806-70b2-434c-972d-215f6a2beec0
35 replies
RRailway
Created by Josso Ares on 9/22/2023 in #✋|help
Accept health check with 204 status code
Done :)
9 replies
RRailway
Created by Josso Ares on 9/22/2023 in #✋|help
Accept health check with 204 status code
Oh. Sorry, @Brody. Should I create one there?
9 replies