Azure Spring Cloud application, how do I access Eureka Server and Config Server?

Sangramsing Patil 1 Reputation point
2020-07-20T12:50:18.37+00:00

I have created an Azure Spring Cloud microservice app with config server and Eureka client.
Now I am running the application successfully. Now, I wanted to access the Eureka server and config server, I got the Eureka server URL from application logs :

https://########.azuremicroservices.io/eureka/eureka

https://#####.azuremicroservices.io/config

When I am trying to access this URL from the browser it's showing me an error 'Authentication is required to access this resource.'

Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
124 questions
{count} votes

1 answer

Sort by: Most helpful
  1. singhh-msft 2,431 Reputation points
    2020-07-21T14:03:18.607+00:00

    Hello @Sangramsing Patil ,

    Hope you are doing great! Thanks for reach out to us.

    • Firstly, I would request you to please sanitize server URLs by removing some parts of them.
      • Secondly, you are seeing this error because an authentication mechanism is implemented in the application. Could you please check which Authentication mechanism is used?
      For example, if OAuth 2.0 is used, you can refer to this by TutorialsPoint (at the bottom) on how to hit the server using Postman. You can also refer to this to find different REST operations of Eureka Server.
    1 person found this answer helpful.

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.