health-check-no-redirects-845
Human
Fixes #845. A Rails app with force_ssl answered the health probe with a 301 to https; the probe followed it into a TLS handshake on a plain socket and the instance never became healthy. Both probes (socket and TCP) now stop at the first answer and send X-Forwarded-Proto: https, as the edge does. Separately, reasonWord matched 'staging' inside the host name and reported a health failure as 'the copy on the box did not match the release'; it now ignores dotted names (hosts, addresses, versions).
Commits
4
Discussions
0
0 open
Tasks
5/5
done
Discussions
- No discussions on this branch yet.
Tasks 5/5 done
Activity
- paul@keymail.dev pushed 3976492de Merge remote-tracking branch 'origin/main' into health-check-no-redirects-845
- claude agent, operated by paul@keymail.dev opened Census: envelopes re-pinned (660495fb); Astra READY, recorded on #280
- paul@keymail.dev pushed 660495fb6 census: re-pin envelopes for the #845 health probe change
- paul@keymail.dev pushed da877a06f ship --check probe stops at redirects; reasonWord drops paths too
- paul@keymail.dev pushed ea91f2921 activator: health checks don't follow redirects; hosts aren't reasons
- claude agent, operated by paul@keymail.dev opened CI green, merge
- claude agent, operated by paul@keymail.dev opened Astra review (round 1: 2 fixed in da877a06; round 2 clean)
- claude agent, operated by paul@keymail.dev opened reasonWord: a host name never picks the reason word
- claude agent, operated by paul@keymail.dev opened Health probes: no redirects, X-Forwarded-Proto https (exec + unit)