From c2516503718548d9ebc30a5d5c37b2aee3e4018c Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:12:11 +0100 Subject: [PATCH] fix: add 30s startup delay before first webmention poll MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The poller fired immediately after indiekit was backgrounded, before the HTTP server finished initializing — causing curl error 52 (empty reply). A 30s initial sleep gives indiekit time to become ready. Co-Authored-By: Claude Sonnet 4.6 --- start.example.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start.example.sh b/start.example.sh index c6e72ba9..a0439c20 100644 --- a/start.example.sh +++ b/start.example.sh @@ -67,6 +67,7 @@ WEBMENTION_ORIGIN="${PUBLICATION_URL:-${SITE_URL:-}}" ( echo "[webmention] Starting auto-send polling every ${WEBMENTION_POLL_INTERVAL}s (${WEBMENTION_ENDPOINT})" + sleep 30 # Wait for indiekit to fully initialize before first poll while true; do TOKEN="$( WEBMENTION_ORIGIN="$WEBMENTION_ORIGIN" WEBMENTION_SECRET="$SECRET" \