From fa2c33636a7a26a56ac81e0075363601be189cee Mon Sep 17 00:00:00 2001 From: nanobot Date: Thu, 3 Sep 2026 09:29:44 +0800 Subject: [PATCH] fix(deploy): bypass proxy in health checks Loopback health checks inherited http_proxy from /etc/environment and were routed through v2rayA, failing spuriously (2026-08-28 incident). (cherry picked from commit aabad78df9de24e560fa077395b644880e94ec06) --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index bffe3fdda..be0b65b08 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -58,7 +58,7 @@ health_check() { # Returns 0 if healthy, 1 if not local deadline=$((SECONDS + HEALTH_TIMEOUT_SEC)) while (( SECONDS < deadline )); do - if curl -sf --max-time 3 "$HEALTH_URL" >/dev/null 2>&1; then + if curl -sf --noproxy '*' --max-time 3 "$HEALTH_URL" >/dev/null 2>&1; then return 0 fi sleep 1