From 20c291209ea2d14987560462bc0f9b669428ef48 Mon Sep 17 00:00:00 2001 From: Yuyuko Date: Sat, 31 Jan 2026 04:03:49 +0000 Subject: [PATCH 1/2] fix(http): disable HTTP/2 to fix undici decompression issues --- packages/clawdhub/src/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/clawdhub/src/http.ts b/packages/clawdhub/src/http.ts index 1a1dd52..e5c2c62 100644 --- a/packages/clawdhub/src/http.ts +++ b/packages/clawdhub/src/http.ts @@ -15,7 +15,7 @@ if (typeof process !== 'undefined' && process.versions?.node) { try { setGlobalDispatcher( new Agent({ - allowH2: true, + allowH2: false, connect: { timeout: REQUEST_TIMEOUT_MS }, }), ) From 0a6df3e5fe0f8f336566fa95159346ce44422607 Mon Sep 17 00:00:00 2001 From: Yuyuko Date: Sat, 31 Jan 2026 04:24:58 +0000 Subject: [PATCH 2/2] fix(e2e): disable HTTP/2 in e2e tests to match production fix --- e2e/clawdhub.e2e.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/clawdhub.e2e.test.ts b/e2e/clawdhub.e2e.test.ts index d5ed667..36f0cb3 100644 --- a/e2e/clawdhub.e2e.test.ts +++ b/e2e/clawdhub.e2e.test.ts @@ -20,7 +20,7 @@ const REQUEST_TIMEOUT_MS = 15_000 try { setGlobalDispatcher( new Agent({ - allowH2: true, + allowH2: false, connect: { timeout: REQUEST_TIMEOUT_MS }, }), )