It sounds like the communication between the frontend and backend services is being blocked by the internal load balancer. Here are a few things you can check to troubleshoot the issue:
-
Check the DNS settings: The ERR_NAME_NOT_RESOLVED error could indicate that the frontend service is unable to resolve the DNS name of the backend service. Make sure that the DNS settings are correct and that the frontend service is configured to use the DNS name of the backend service.
-
Check the security group rules: Even though you mentioned that the security groups are open, double-check to make sure that the security group rules are configured to allow traffic between the frontend and backend services. You should also make sure that the security group associated with the internal load balancer is allowing traffic from both the frontend and backend services.
-
Check the routing configuration: Make sure that the routing configuration for the internal load balancer is set up correctly to route traffic between the frontend and backend services. Check that the target groups associated with the frontend and backend services are correctly associated with the load balancer.
-
Check the logs: Check the logs of both the frontend and backend services to see if there are any error messages or other information that could help diagnose the issue.
-
Test the communication between the services: Use tools like curl or telnet to test the communication between the frontend and backend services directly. This can help you isolate where the issue is occurring.
Hopefully, one of these suggestions will help you resolve the issue.
Propel Your Skills with Comprehensive Microservices Training!