Uploaded image for project: 'CAS Server'
  1. CAS-1259

HealthCheckMonitor Needs Additional Error Checking

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.5.2, 4.0 RC1, 4.0
    • Component/s: Monitoring
    • Labels:
      None

      Description

      It is possible for a Monitor belonging to HealthCheckMonitor to throw an unchecked exception that bubbles back up to the Web tier. In the default configuration, this results in a 200 OK response with a user-friendly error page containing a stack trace. This violates the contract of the health check controller where HTTP status codes above 200 indicate a problem. In this case there is a false negative since there is indeed a problem with a monitor, yet the container reports 200 OK.

      HealthCheckMonitor needs additional error checking to trap unchecked exceptions and report the ERROR status (500).

        Attachments

          Activity

            People

            • Assignee:
              serac Marvin Addison
              Reporter:
              serac Marvin Addison
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: