[object Object]

← back to Daily Overnight Skus

Fix George agent URL: http://IP → https Tailscale hostname (agent flipped to HTTPS-only 2026-06-17)

b5d22976691d89d4b568ed0ccc1670c23bd3c862 · 2026-06-17 14:06:48 -0700 · Steve Abrams

The raw http://100.107.67.67:9850 now 400s ('Client sent an HTTP request to an
HTTPS server') and the IP has no valid cert. Point GMAIL_AGENT at the MagicDNS
hostname the george MCP already uses. Fixes daily exit=1 on the overnight-orders email.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Files touched

Diff

commit b5d22976691d89d4b568ed0ccc1670c23bd3c862
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Jun 17 14:06:48 2026 -0700

    Fix George agent URL: http://IP → https Tailscale hostname (agent flipped to HTTPS-only 2026-06-17)
    
    The raw http://100.107.67.67:9850 now 400s ('Client sent an HTTP request to an
    HTTPS server') and the IP has no valid cert. Point GMAIL_AGENT at the MagicDNS
    hostname the george MCP already uses. Fixes daily exit=1 on the overnight-orders email.
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---
 check-overnight-run.sh | 2 +-
 run.sh                 | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/check-overnight-run.sh b/check-overnight-run.sh
index 55c127a..2572174 100755
--- a/check-overnight-run.sh
+++ b/check-overnight-run.sh
@@ -12,7 +12,7 @@ echo "=== selfcheck $(date) ==="
 
 # Load George creds the same way run.sh does.
 set -a; . /Users/stevestudio2/Projects/secrets-manager/.env 2>/dev/null; set +a
-GMAIL_AGENT="${GMAIL_AGENT:-http://100.107.67.67:9850}"
+GMAIL_AGENT="${GMAIL_AGENT:-https://kamatera.tail79cb8e.ts.net:9850}"
 AUTH="Basic ${GMAIL_BASIC_AUTH_B64:-}"
 
 TODAY_PT=$(TZ=America/Los_Angeles date +%Y-%m-%d)
diff --git a/run.sh b/run.sh
index 02b1155..aab7d72 100755
--- a/run.sh
+++ b/run.sh
@@ -13,7 +13,10 @@ echo "=== $(date) ==="
 set -a
 . /Users/stevestudio2/Projects/secrets-manager/.env 2>/dev/null
 set +a
-export GMAIL_AGENT='http://100.107.67.67:9850'
+# George agent flipped to HTTPS-only (2026-06-17): http://<ip> now 400s
+# ("Client sent an HTTP request to an HTTPS server") and the raw IP has no
+# valid cert — use the Tailscale MagicDNS hostname (matches the george MCP).
+export GMAIL_AGENT='https://kamatera.tail79cb8e.ts.net:9850'
 # George basic-auth (GMAIL_BASIC_AUTH_B64) is loaded from
 # secrets-manager/.env above — no longer hardcoded here. If George rotates
 # the password, update secrets-manager/.env (and ~/.claude.json MCP env).

← 9db9db6 add one-shot self-check: verifies the revived overnight run  ·  back to Daily Overnight Skus  ·  chore: macstudio3 migration — reconcile from mac2 + repoint 6f8a6c4 →