Skip to content

Server health check

Server health check ability with HTTP(S) GET request is added since build 5.2.679. This feature can be used for external server monitoring and in load balancers.

GET request using the following HTTP URL

http://wcs:8081/health-check

or HTTPS URL

https://wcs:8444/health-check

returns 200 OK with empty body if server works. Any other response means server does not work.

Health check interface access can be restricted if necessary

Sometimes, external monitoring utilities can send HTTP GET request to web servers root only. WCS in its turn redirects all requests to the servers root to web interface by default, and health checking does not work in thjs case. Set the following parameter in flashphoner.properties file to fix it.

http_enable_root_redirect=false

Then GET request using URL

http://wcs:8081/

will also return 200 OK if server works.