From c4db6a9fdb024517b9c05bfc49ea697029bd7536 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 22 Feb 2026 20:42:53 +0000 Subject: [PATCH] [ci skip] Fix poison fetcher: use HTTP/1.1 for upstream (HTTP/2 hangs) The Poison Fountain upstream (rnsaffn.com/poison2/) doesn't respond properly over HTTP/2. Force HTTP/1.1 for reliable content fetching. Also fixed NFS directory permissions for non-root curl container. --- stacks/poison-fountain/app/fetch-poison.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/poison-fountain/app/fetch-poison.sh b/stacks/poison-fountain/app/fetch-poison.sh index adc99111..5c5e6be7 100644 --- a/stacks/poison-fountain/app/fetch-poison.sh +++ b/stacks/poison-fountain/app/fetch-poison.sh @@ -13,7 +13,7 @@ echo "Fetching $FETCH_COUNT poison documents from $POISON_URL" fetched=0 for i in $(seq 1 "$FETCH_COUNT"); do OUTPUT="$CACHE_DIR/poison_$(date +%s)_${i}.txt" - if curl -sS --compressed -o "$OUTPUT" -m 30 "$POISON_URL" 2>/dev/null; then + if curl -sS --http1.1 --compressed -o "$OUTPUT" -m 30 "$POISON_URL" 2>/dev/null; then # Verify file is non-empty if [ -s "$OUTPUT" ]; then fetched=$((fetched + 1))