You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
st2web health check scripts are shutting down the containers due to false positives. This only applies to the 2nd half of the script and I'm not sure why this is only now presenting itself as an issue. I initially had this up and running for over a week without issues
Auth's URL endpoint seems incorrect? Should it be /v1/auth instead? Either way both returns a 404 and the script is looking for a 404. This is the only check that would be passing.
root@a6a8fed46e07:/# curl -kv http://localhost/auth/v1/* Trying 127.0.0.1...
* TCP_NODELAY set* Connected to localhost (127.0.0.1) port 80 (#0)> GET /auth/v1/ HTTP/1.1
> Host: localhost
> User-Agent: curl/7.58.0
> Accept: */*>< HTTP/1.1 404 Not Found
< Server: nginx/1.18.0
< Date: Thu, 04 Mar 2021 16:37:47 GMT
< Content-Type: application/json
< Content-Length: 57
< Connection: keep-alive
< Access-Control-Allow-Origin: http://127.0.0.1:3000
< Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
< Access-Control-Allow-Headers: Content-Type,Authorization,X-Auth-Token,St2-Api-Key,X-Request-ID
< Access-Control-Allow-Credentials: true< Access-Control-Expose-Headers: Content-Type,X-Limit,X-Total-Count,X-Request-ID
< X-Request-Id: a92a3955-42bb-411c-9631-95b46ada3f98
<
{
"faultstring": "The resource could not be found."* Connection #0 to host localhost left intact
}
Versions
Host OS: Oracle 7
docker: Docker version 17.06.2-ol, build d02b7ab
docker-compose: [docker-compose version 1.18.0, build 8dd22a9
stackstorm version: st2 3.4.0dev, on Python 3.6.9.
To Reproduce
???
The text was updated successfully, but these errors were encountered:
Describe the problem
st2web health check scripts are shutting down the containers due to false positives. This only applies to the 2nd half of the script and I'm not sure why this is only now presenting itself as an issue. I initially had this up and running for over a week without issues
st2-docker/scripts/st2web-healthcheck.sh
Lines 21 to 24 in f925059
Returns a 200 with version details and the script is looking for a 401
st2-docker/scripts/st2web-healthcheck.sh
Lines 25 to 28 in f925059
Stream also returns a 200 but doesn't even exit curl as its holding onto the session. The script is also looking for a 401 here.
st2-docker/scripts/st2web-healthcheck.sh
Lines 29 to 32 in f925059
Auth's URL endpoint seems incorrect? Should it be /v1/auth instead? Either way both returns a 404 and the script is looking for a 404. This is the only check that would be passing.
Versions
To Reproduce
???
The text was updated successfully, but these errors were encountered: