usnistgov / ACVP-Server

A repository tracking releases of NIST's ACVP server. See www.github.com/usnistgov/ACVP for the protocol.
39 stars 14 forks source link

Demo Health Route giving 503 #284

Closed AlexThurston closed 10 months ago

AlexThurston commented 10 months ago

environment Demo

Endpoint in which the error is experienced https://demo.acvts.nist.gov/health GET

Expected behaviour The route would return a 200 with the information

Additional context Right now it seems to be returned a 503 with some of the information in the JSON:

{
    "serverVersion": "v1.1.0.30",
    "details": [
        {
            "key": "testSessionProcessing",
            "description": "The TestSession internal processing load status.",
            "data": {
                "healthStatusDefinitions": {
                    "Healthy": "Oldest pending TestSession is < 1 hours old.",
                    "Degraded": "Oldest pending TestSession is > 1 hours old.",
                    "Unhealthy": "Oldest pending TestSession is > 4 hours old."
                }
            }
        }
    ]
}

The serverVersion key is there, but not the status

livebe01 commented 10 months ago

Thanks @AlexThurston. We should be able to resolve this shortly.

livebe01 commented 10 months ago

We're churning through a backlog of tasks from last week at the moment, but this issue is resolved.

AlexThurston commented 10 months ago

It looks like DEMO is giving 503 again for the health route. It seems like this becomes an issue each time there is maintenance. Could it be that it's related to that in some what since I think there was some maintenance over the weekend.

jarnold01 commented 10 months ago

Hi @AlexThurston - there was an unexpected issue with the TQP that occurred over the weekend. We discovered and resolved it upon logging in this morning. It is currently working through the backlog and should be caught up shortly. That being said, appreciate you highlighting the /health endpoint 503 error.

AlexThurston commented 10 months ago

No worries. Thanks for the prompt response.