Symptom

Deploy the PowerServer Web API application in a path that is not directly under the domain name, such as using Sub-Application under an IIS Web Site.

When accessing the Health-UI page (e.g.: http://www.example.com/applicationA/health-ui), you can see that the page is loaded, but there are no details shown on it.


Environment 

PowerServer 2021


Cause

This is a PowerServer 2021 bug.

It is fixed in PowerServer 2022.


Resolution

1. Go to the C# solution -> ServerAPIs -> HealthChecks -> health-ui.

2. Open index.html.

3. Search “health-details” in this file.

4. Change '/health-details' to '../health-details'. (adding two dots in the path).

5. Then publish your Web APIs again.
 

1
0