diff --git a/packages/core/src/shared/utilities/proxyUtil.ts b/packages/core/src/shared/utilities/proxyUtil.ts index a8d2056d7f4..f03c2b18a5e 100644 --- a/packages/core/src/shared/utilities/proxyUtil.ts +++ b/packages/core/src/shared/utilities/proxyUtil.ts @@ -70,6 +70,12 @@ export class ProxyUtil { * Sets environment variables based on proxy configuration */ private static async setProxyEnvironmentVariables(config: ProxyConfig): Promise { + // Always enable experimental proxy support for better handling of both explicit and transparent proxies + process.env.EXPERIMENTAL_HTTP_PROXY_SUPPORT = 'true' + + // Load built-in bundle and system OS trust store + process.env.NODE_OPTIONS = '--use-system-ca' + const proxyUrl = config.proxyUrl // Set proxy environment variables if (proxyUrl) {