essens9385
essens9385
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
heh, what a silly mistake. It works now, thanks Brody
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
testing now
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
Ahh, you might be right. I was using the mapped port out of public domain
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
if i use railways proxied public url it works fine
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
{ json: { environment: "staging", stack: "Error: connect ECONNREFUSED fd12:be51:7a61::60:22db:e9b9:57275 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)", level: "error", from: "X", source: "TypeOrmModule", message: "Unable to connect to the database. Retrying (7)...", timestamp: "2024-06-21T10:21:04.470Z" }, http: { clientHost: "OMMITED", contentType: "application/json" } }
{ json: { environment: "staging", stack: "Error: connect ECONNREFUSED fd12:be51:7a61::60:22db:e9b9:57275 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)", level: "error", from: "X", source: "TypeOrmModule", message: "Unable to connect to the database. Retrying (7)...", timestamp: "2024-06-21T10:21:04.470Z" }, http: { clientHost: "OMMITED", contentType: "application/json" } }
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
it still fails on health check. And my guess is it fails to connect with postgress via internal network
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
@Brody unfortunetly, this did not fix the issue for us
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
ah, i see. Will try this out, thanks!
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
Oh, are you saying its because NestJS is on ipv4 and thats why ir doesen't work? But i want to use private networking for my database layer only, so not sure why changing the API layer would fix this. Do you still stand by this solution in this case?
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
NestJS app, do you want to know something specific?
23 replies
RRailway
Created by essens9385 on 6/20/2024 in #✋|help
Connecting postgress to API via internal network issue
3747f720-8c9c-4d81-9b13-1e420ceabd6c
23 replies