19 days ago
Project: Rock And Rolls Fit (ID: 384d701b-1bfa-4cd7-9928-e3546d961baf)
Environment: production (ID: fe99116d-d34c-429c-b4ff-76178c474741)
Issue:
- The “rrf-api-reports” service is not accessible from other services using the internal DNS (rrf-api-reports.railway.internal)
- Error: “queryA ENOTFOUND rrf-api-reports.railway.internal”
- The service is online and responds to the health check
- Other services in the same region (us-east4-eqdc4a) cannot connect
Steps to reproduce:
- Create a function that attempts to connect to http://rrf-api-reports.railway.internal:3000/health-check/
- You will see the error: “Unable to connect. Is the computer able to access the URL?”
24 Replies
19 days ago
I assume the other services are in the same environment?
19 days ago
What's a "bff service"?
19 days ago
What do you mean by "adding the public DNS"? Using public instead of private nwroking?
19 days ago
Sanity check, but rrf-api-reports.railway.internal is the URL shown as the private networking URL in the service settings right?
The bff service connect with others services via private network, it works. But, only rrf-api-reports not work it
I used the agent to resolve it and the agent created a function to check the endpoint /health-check/, same error
19 days ago
You're trying to access private networking through a function right?
19 days ago
You added a port as well when trying to access the URL right? (eg, rrf-api-reports.railway.internal:8080)
http://rrf-api-reports.railway.internal:3000 for example
The service rrf-api-reports is running with this port
Attachments
check, from bff try send a request to http://rrf-api-reports.railway.internal:3000/subscriptions/reports/daily?startDate=2026-05-01&endDate=2026-05-27&page=1&limit=10 and the response with a ECONNREFUSED error
Attachments
If change the network to public, works it!
Attachments
I am having issues, both private/public connections to my postgres instance is not working.
18 days ago
same problem. Claude told me to change to public network to fix. But shouldn't railway fix the private?
18 days ago
i am also facing the same issue, my service can't connect via private network all of the sudden, and i'm unable to deploy my service right now
18 days ago
fixed by redeploying the postgres database