0
votes

I deployed a traffic manager on MS Azure. It has 2 endpoints one of them is enabled and online. bizarrely it turned to degraded, as I scaled down some Vms then scaled them back to their original size as I suspected they may be the cause. I went through all MS.support (which is not accurate when it comes to troubleshoot traffic manager) and run invoke-webrequest powesrhell cmd in vain. Here is my Traffic manager: LMS  traffic manager Inspect element on my Chrome Browser

Here is part of my Json parameter file that created my endpoint: enter image description here

How can I track my traffic manager and bring it back online.

As I wanted to redeploy the whole structure within Azure portal I got the following error:
Deployment template validation failed: 'Circular dependency detected on resource: '/subscriptions/xxxxx-xx-xx-xx/resourceGroups/PcloudOxa/providers/Microsoft.Compute/virtualMachines/PcloudOxa-mongo1'. Please see https://aka.ms/arm-template/#resources for usage details.'. (Code: InvalidTemplate)

1
No sure what the screenshot shows. Does your endpoint (now in "Degraded") return 200 OK if you curl -i to it from the Internet?evilSnobu

1 Answers

1
votes

According to your description, it seems somethings wrong with your app.
Error "502 bad gateway" is often caused by application level issues, such as:
1.requests taking a long time
2.application using high memory/CPU
3.application crashing due to an exception.

As you mentioned, you scaled down some Vms, maybe your app in a wrong status, so we should check your app first, make sure it running correctly.

Maybe we can follow this link to troubleshoot this issue.