Tengo tres microservicios deployados en App Services

Alfonso Almonte 0 Reputation points
2023-08-22T05:37:30.81+00:00

Tengo 3 microservicios en App Services, les he creado una VNet y cree una subred para esa VNet, sucede que cuando deployan los microservicios, solo dos funcionan y el otro sigue buscando localhost, en vez de buscar el Eureka en la red que se encuentran. Necesito ayuda ya que el microservicio de seguridad no se conecta con eureka

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,642 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,576 Reputation points Microsoft Employee
    2023-09-07T02:04:38.2033333+00:00

    @Alfonso Almonte It seems that you have three microservices deployed in App Services, and you have created a VNet and a subnet for them. However, only two of the microservices are functioning correctly, and the third one is still searching for localhost instead of searching for Eureka in the network where it is located. You need help because the security microservice is not connecting with Eureka.

    To resolve this issue, you can check the following:

    Ensure that the security microservice is deployed correctly and is running without any errors. You can check the logs to see if there are any errors or exceptions that might be causing the issue.

    Verify that the security microservice is configured to use the correct Eureka server URL. You can check the configuration files to ensure that the URL is correct.

    Check the network configuration of the security microservice. Ensure that it is connected to the correct VNet and subnet. You can also check the network security group rules to ensure that the microservice is allowed to communicate with the Eureka server.

    Verify that the Eureka server is running correctly and is accessible from the security microservice. You can check the logs of the Eureka server to see if there are any errors or exceptions that might be causing the issue.

    Here's a link to the Azure documentation on how to configure microservices with Eureka server: https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-cloud-starter-netflix-eureka

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.