Repository navigation
Bind internal status check port 9021 to loopback only - #700
Merged
Merged
Conversation
kathap
reviewed
Oct 5, 2026
status=$? was read after `set -e`, so it captured the exit code of the `set -e` builtin (always 0) instead of curl's. This made the connection-refused exemption (`status == 7`) dead code. "exit 1" on 503 (distinct from the killswitch's exit 2). Before, it was effectively an "exit 0" which is strange for an error (but worked because monit just checks for the running process).
stephanme
force-pushed
the
internal-status-loopback
branch
from
October 5, 2026 15:06
f468ee0 to
b24773e
Compare
kathap
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/internal/v4/statusendpoint on port 9021 is monitored by monit. No need to expose it.See also Internal API Docs which claims that port 9021 runs on the loopback interface.
Links to any other associated PRs
I have viewed signed and have submitted the Contributor License Agreement
I have made this pull request to the
developbranchI have run CF Acceptance Tests on bosh lite