Hi,
I need your help!
When I call the api https://myUrl/auth/v1/tokens
i’m getting an error “Nginx is unable to reach st2auth.”. This error is intermittent, when it reaches 30
seconds it gives an error, if the time is less than 30s I get the token successfully.
Typically occurs on the first invocation, the following ones are succeeded in milliseconds.
I think changing Gunicorn’s default from 30 to 60 might solve the problem.
My question is how to change Gunicorn’s default setting from 30 seconds to 60?
Error in var/log/st2/st2auth.log:
[CRITICAL] WORKER TIMEOUT
API Response:
Status: 503 - Service Temporarily Unavailable - Time:30.90s - Size:307 B
“faultstring”: “Nginx is unable to reach st2auth. Make sure service is running.”