Error when services communicate with each other via custom domain: getaddrinfo ENOTFOUND

We have an issue of web services communicating with each other using the custom domains.

The issue is when “app1” service is trying to reference “api1” service by its custom domain https://api.mydomain.com, we get the error: "getaddrinfo ENOTFOUND https://api.mydomain.com

This seems to indicate it is a DNS issue. Is there something Render needs to do on their end to ensure the web services can communicate with each other using their custom domains? Is there anything else we’re missing to make this work correctly? These services are in the same region if that helps.

Hi there,

There’s nothing specific, if the app and the webservice are in the same Render account, same region and using paid services then you can use the internal address as opposed to the external address without having to exit and re-enter the network.

If you’re using paid services you can use the shell tab for the service and ensure that a wget is successful.

It’s difficult to make suggestions without being able to identify the services in questions - service specific questions are much better to contact us directly from our dashboard and we can dig in,

Regards,

John B
Render Support, UTC+1 :uk:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.