Skip to content

chore(scripts): accept 401 error for st2web healthcheck#271

Open
wow0000 wants to merge 1 commit into
StackStorm:masterfrom
wow0000:fix-docker-health-check
Open

chore(scripts): accept 401 error for st2web healthcheck#271
wow0000 wants to merge 1 commit into
StackStorm:masterfrom
wow0000:fix-docker-health-check

Conversation

@wow0000
Copy link
Copy Markdown

@wow0000 wow0000 commented Jun 5, 2026

Hello!

The healthcheck script is not working with the latest version of StackStorm, and marks the st2web container as unhealthy.
The error is caused by st2api and st2stream requiring authentication. This PR allows the 401 response code to validate the healthcheck. The 404 error is still supported to avoid losing support of older versions

The invalid healthcheck can cause issues with reverse proxies such as Traefik that checks the container health before sending a request

Have a good day! :)

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jun 5, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants