Web application generated an internal server error
search cancel

Web application generated an internal server error

book

Article ID: 413468

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Your security scanner might return report with an issue as "Web application generated an internal server error" for the layer7 gateway host: https://<gateway host>

Resolution

This is expected, as the url doesn't include any service endpoint, then the gateway will return HTTP 500 internal server error, and a default "Service Not Found" response.

This scanner report should be regarded as false alert.

If you have to stop the false alert, you can add a catch-all service with resolution path as [/*], and add the return template assertion in the policy to return any http status code and response message as you like. (For example, http 404 and "Service Not Found" response)