Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to find why health probes are failing? #38257

Closed
oskarm93 opened this issue Sep 4, 2019 · 8 comments
Closed

Where to find why health probes are failing? #38257

oskarm93 opened this issue Sep 4, 2019 · 8 comments

Comments

@oskarm93
Copy link

oskarm93 commented Sep 4, 2019

I had health probes failing on one of my instances. I could not figure out why Front Door did not connect to it.
Are there any logs or diagnostics information about the result of health probes and why Front Door might think the back end is down?
I looked in Log Analytics, but only found logs for incoming requests.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@msrini-MSFT
Copy link
Contributor

@xenalite , Thank you for your feedback. We will investigate and get back to you shortly.

@msrini-MSFT
Copy link
Contributor

@xenalite , What is the probe config that you have defined in AFD?

Can you do a curl from your machine to http/https://backendpool/ and share me the results?

@oskarm93
Copy link
Author

oskarm93 commented Sep 4, 2019

I no longer have the health probes failing because I investigated it and found a misconfiguration.
However, there are a number of issues that could be preventing back end health probes from being successful:

  1. Wrong host header
  2. Wrong host name
  3. Unreachable host - may be reachable from my machine but not Front Door
  4. Wrong protocol - HTTP / HTTPS probes
  5. Wrong health probe endpoint - 404
  6. HTTPS health probe returning with self-signed / untrusted certificate

How could I find out what Front Door thinks is wrong?

Here's my config:

image

@msrini-MSFT
Copy link
Contributor

@xenalite , It is a valid feedback. In Application Gateway we do have an option to see the error description when the health probe fails.

It is a product ask and I will pass on the feedback to the product group. Thank you for your valuable feedback again!!

Copy link

I'd like to request this feature. What would be the best way to get an alert of health probe failure.

@eliagrady
Copy link

Thanks @xenalite for your reply - mine was that pesky HTTPS health probe returning with self-signed / untrusted certificate

@joshuadmatthews
Copy link

@eliagrady I suspect I am running up on same issue. Seems like a strange requirement with private link being a backend option normally you wouldn't have a signed cert for stuff inside of a private network, but I guess I do after reading this thread.

@akakira
Copy link

akakira commented Mar 10, 2024

We have front door classic, and when we have a single backend in the pool, the health checks return good no matter which endpoint we use, when we add a second endpoint the checks fall to 0. I would love to see why this is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants