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

BrowserCode

HTTP/1.1 500 Internal Server Error
Server: nginx/1.10.2
Date: Mon, 16 Aug 2021 12:41:59 GMT
Content-Length: 8
Connection: keep-alive
Set-Cookie: JSESSIONID=5887D8F1464938AACFB4F1846B7FB171; Path=/sso/; HttpOnly

code: 16

  • No labels