Spotfire Server health check URL returns "HTTP Status 404 - File not found The requested URL was not found on this server" error

Spotfire Server health check URL returns "HTTP Status 404 - File not found The requested URL was not found on this server" error

book

Article ID: KB0070120

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

When using a load balancer in front of a cluster of Spotfire Servers, a health check URL can be set up to show the status of the servers so that the Load Balancer can validate the server is online before routing requests there. But when trying to access the Spotfire Server health check URL /spotfire/rest/status/getStatus to check the status of the servers in your cluster, the following error is returned:
 HTTP Status 404 - File not found The requested URL was not found on this server.
For example:
User-added image

Issue/Introduction

Spotfire Server health check URL returns "HTTP Status 404 - File not found The requested URL was not found on this server" error

Resolution

This error will be returned if the health check has not been enabled in the Spotfire Server configuration. To resolve, follow the instructions in the  Enabling health check URL for load balanced servers reference to enable the health check. 

If properly enabled, the exported configuration.xml file will have the following:
 <status-controller>     <enabled>true</enabled> </status-controller>

Additional Information

Doc: Enabling health check URL for load balanced servers