From 7ff38d54c80d0a2ec49e647058fef88b88bed10f Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Fri, 10 Apr 2026 23:27:21 +0200 Subject: [PATCH] fix: fetch failed with http/2 and undici v8 --- packages/core/src/infrastructure/http/http-agent.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/core/src/infrastructure/http/http-agent.ts b/packages/core/src/infrastructure/http/http-agent.ts index b15ada890..551d0439e 100644 --- a/packages/core/src/infrastructure/http/http-agent.ts +++ b/packages/core/src/infrastructure/http/http-agent.ts @@ -15,7 +15,11 @@ export class UndiciHttpAgent extends EnvHttpProxyAgent { private logger: ILogger; constructor(props?: HttpAgentOptions) { - super(props); + super({ + ...props, + // See https://github.com/homarr-labs/homarr/issues/5467#issuecomment-4226844346 + allowH2: false, + }); this.logger = props?.logger ?? createLogger({ module: "httpAgent" }); }