Application Gateway v2 Custom Health Probe not working

Copper Contributor

Hi all,

I have an application running behind an Azure Application Gateway v2. With the default health probe everything works fine. Communication from AppGW to application is http/port 80, AppGW does SSL offloading without reencryption.

 

The default health probe doesn't check the path of the application on the server, meaning it considers the application as healthy, even if it's not (because application e.g. has error).

 

I would need to check the following url with a custom health probe:

http://application.domain.local/application/login.jsp?sso=n 

- The custom health probe does not work (Status code 500)

- Need the full url to bypass forwarding to Azure AD single sign on

- When I query the same URL from a machine via powershell (invoke-webrequest http://application.domain.local/application/login.jsp?sso=n ) I get a status 200 OK from the server.

 

If I shorten the url for the custom probe to http://application.domain.local/application/ then I also receive status 200 OK.

- Looks like there's problem with the last part of the url. 

- Tells me that the general config of the custom probe should be fine (servers can be reached, are hit with the correct hostname/port, etc).

 

Any ideas what I could test?

Are there incompatibilities with .jsp?

 

Thank you in advance!

 

 

 

0 Replies