Issue 848: Show a better error message if check for Panorama server fails

issues
Status:open
Assigned To:Vagisha Sharma
Type:Defect
Area:Skyline
Priority:3
Milestone:22.1
Opened:2021-11-29 by Vagisha Sharma
Changed:2021-11-29 by Vagisha Sharma
Resolved:
Resolution:
Closed:
2021-11-29 Vagisha Sharma
Title»Show a better error message if check for Panorama server fails
Assigned To»Vagisha Sharma
Type»Defect
Area»Skyline
Priority»3
Milestone»22.1
We ping LabKey's AdminController.HealthCheckAction to determine if the Panorama server URL entered by the user is for a LabKey Server. We expect to see this JSON if the call succeeds:
{
  "healthy" : true
}

If this check fails, include the test URL and the response text in the error message.

Brendan reported that this check was failing for Regeneron's LabKey server even though they did not have any issues interacting with the server directly. Having the additional information in the error message reported in Skyline would have helped them contact LabKey directly.