From 1a9dd508f35308b3010bfc5ad60dfc7f515bdcf9 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Fri, 26 Jun 2026 14:40:49 +0100 Subject: [PATCH] fix(dev): clear proxy env vars before launching backend The opencode shell wrapper sets HTTPS_PROXY for z.ai API egress, and child processes inherit it. The proxy rejects local IPs with 403, breaking Proxmox API calls from the backend. Explicitly clear all proxy env vars so the backend always talks direct to local infra. --- scripts/hot-dev.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/hot-dev.sh b/scripts/hot-dev.sh index d6bed9a28..6bdee5ff6 100755 --- a/scripts/hot-dev.sh +++ b/scripts/hot-dev.sh @@ -514,6 +514,8 @@ start_backend_process() { ALLOWED_ORIGINS="${ALLOWED_ORIGINS:-}" \ LOG_FILE="${BACKEND_DEBUG_LOG}" \ LOG_MAX_SIZE="50" \ + HTTP_PROXY="" HTTPS_PROXY="" http_proxy="" https_proxy="" \ + NO_PROXY="" no_proxy="" \ ./pulse > "${BACKEND_DEBUG_LOG}" 2>&1 & STARTED_BACKEND_PID=$! }