webseal

Disable WebSeal "friendly" error pages


Our rest services have a built in health check that returns the server status in the form of http status codes, along with a json payload with details (Spring Boot Actuator). If the service is down for any reason, it returns http status code 503 Service Unavailable. Our rest endpoints are protected by Webseal, which is very helpful and intercepts the 503 and replaces it by a html page:

Third-party server not responding.

The resource you have requested is located on a third-party server. WebSEAL has attempted to send your request to that server, but it is not responding.

This always happen with status code 503, but not with other 5xx status codes. Does anyone know how to disable this rather useless feature, either globally or per junction?

Webseal error details:


Solution

  • I know this is two years old, but thought I'd correct the other answer.

    https://www.ibm.com/support/knowledgecenter/en/SSPREK_8.0.1.2/com.ibm.isamw.doc_8.0.1.2/wrp_config/concept/con_stat_rspons_pages.html

    All of the error pages can be customised. The one you are looking for in the question is the same as the code: 38cf04d7.html. If you use other languages you may need to remove the other language containers.

    If you customise default.html and remove all other HTML pages it will only return that content regardless of error.