Search code examples
azureazure-traffic-manager

Azure Traffic Manager's URL shows degraded but End Points returns 200


I have an API endpoint from Azure services and I tried to set up Azure traffic manager using this endpoint.

The end point looks like this: https://sampleurl.azurewebsites.net and it requires authentication (bearer token to be exact) to access.

Here's the configuration for the traffic manager:

enter image description here

Here's how I tried to access:

I send a API request to the traffic manager's URL directly with a correct bearer token, but it returned "An error occurred while sending the request."

Could someone point me to some direction of what went wrong?


Solution

  • The traffic manager monitoring status is degraded, this might be caused by those:

    • Endpoint monitoring health checks are failing. You could make sure the endpoint is enabled and returns 200. You can follow these official troubleshooting steps.
    • The endpoint is not included in DNS responses and does not receive traffic. Type ipconfig /flushdns to flush the DNS resolver cache in Windows PowerShell prompt. Type nslookup <your Traffic Manager domain name>to verify the traffic manager setting. Refer to this.

    Moreover, per FAQ, clients connect to the service endpoint directly, not through Traffic Manager. Therefore, any HTTP error you see must be coming from your endpoints.