From 8f8c632e87a217ea26a06aae8dc7e146d2624ddf Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 18 Mar 2026 17:56:43 +0100 Subject: [PATCH] fix(start): add 5s delay after readiness check before first poll The /status endpoint becomes available before all plugin routes are fully mounted, causing a 502 on the first webmention-sender POST. Co-Authored-By: Claude Opus 4.6 --- start.example.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start.example.sh b/start.example.sh index ab00e3f6..4c72e744 100644 --- a/start.example.sh +++ b/start.example.sh @@ -77,7 +77,8 @@ WEBMENTION_ORIGIN="${PUBLICATION_URL:-${SITE_URL:-}}" [ $_i -lt 60 ] || { echo "[webmention] Warning: indiekit not ready after 120s, proceeding anyway"; break; } sleep 2 done - echo "[webmention] Indiekit ready" + echo "[webmention] Indiekit ready, waiting 5s for plugins to finish loading…" + sleep 5 while true; do TOKEN="$( WEBMENTION_ORIGIN="$WEBMENTION_ORIGIN" WEBMENTION_SECRET="$SECRET" \