Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To check the health of a DualShield server, visit its URL "/sso/health"

Healthy

When the DualShield server is healthy, it will return HTTP 200 with a response body containing plain text "Code 0"

BrowserCode

HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Mon, 16 Aug 2021 12:45:14 GMT
Content-Length: 7
Connection: keep-alive
Set-Cookie: JSESSIONID=6E5F468F94DDF2702A814D507D5771DE; Path=/sso/; HttpOnly
 
code: 0


Unhealthy

When the DualShield server is not healthy, it will return HTTP 500 with a response body containing plain text "Code n", in which n is an error code

...