From 3f966d1f89de120cd1c76de7f0983ab999ff4744 Mon Sep 17 00:00:00 2001 From: Amr Mohammed El-Sheraey <141947355+AmrMsCLL@users.noreply.github.com> Date: Thu, 5 Nov 2026 16:49:08 +0200 Subject: [PATCH] fix: the rollout report's health check names itself, so Cloudflare does not refuse it --- host/graphite-report | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/host/graphite-report b/host/graphite-report index ca05b4a..2ff42eb 100755 --- a/host/graphite-report +++ b/host/graphite-report @@ -48,7 +48,8 @@ def hub_address(): def health(host): started = time.monotonic() try: - with urllib.request.urlopen(f"https://{host}/", timeout=10) as response: + probe = urllib.request.Request(f"https://{host}/", headers={"User-Agent": "project-graphite-deploy-report"}) + with urllib.request.urlopen(probe, timeout=10) as response: status = response.status except urllib.error.HTTPError as error: status = error.code