diff --git a/src/main/context-handler/context-handler.ts b/src/main/context-handler/context-handler.ts index 1917461c34..fa01c1fcf5 100644 --- a/src/main/context-handler/context-handler.ts +++ b/src/main/context-handler/context-handler.ts @@ -157,6 +157,10 @@ export class ContextHandler implements ClusterContextHandler { headers.Host = this.clusterUrl.hostname; } + if (headers.Host.includes(":")) { + headers.Host = "[" + headers.Host + "]"; + } + return { target: { protocol: "https:",