ERR_TUNNEL_CONNECTION_FAILED: What It Means and How to Fix It

Appears on: Chrome, Edge. ERR_TUNNEL_CONNECTION_FAILED means Chrome sent a CONNECT request to a proxy to create a tunnel to an HTTPS site — and the proxy rejected or failed to establish it. Almost always caused by a proxy misconfiguration or a proxy that blocks certain connections.

What ERR_TUNNEL_CONNECTION_FAILED Actually Means

When a browser needs to reach an HTTPS site through a proxy, it cannot simply forward the encrypted TLS data to the proxy — the proxy cannot read it. Instead, the browser sends an HTTP CONNECT request to the proxy: "Open a raw TCP tunnel to example.com port 443." The proxy connects to the destination on the browser's behalf and then passes bytes back and forth opaquely. ERR_TUNNEL_CONNECTION_FAILED means the proxy received the CONNECT request but refused or failed to establish that tunnel.

This is distinct from ERR_PROXY_CONNECTION_FAILED, where the browser cannot reach the proxy at all. Here, the proxy is reachable — it understood the CONNECT request and rejected it, or it attempted to open the tunnel and failed part-way through.

How Browser Proxy Tunneling Works

The HTTP CONNECT method is specifically designed for proxy tunneling. The exchange looks like this:

  • Browser → Proxy: CONNECT example.com:443 HTTP/1.1
  • Proxy → Browser: 200 Connection established (success) or 403 Forbidden / 407 Proxy Auth Required / 502 Bad Gateway (failure)
  • If successful: browser begins TLS handshake directly with the destination through the tunnel

Any non-200 response to the CONNECT request produces ERR_TUNNEL_CONNECTION_FAILED in Chrome.

Most Likely Causes (Ranked)

  1. Stale or misconfigured proxy in Windows/macOS system settings — proxy is reachable but blocking the destination
  2. Corporate proxy blocking specific HTTPS destinations — many enterprise proxies have domain allowlists
  3. Proxy requires authentication (407) — credentials not configured in the OS
  4. Antivirus HTTPS inspection intercepting and mishandling the CONNECT tunnel
  5. The proxy server itself crashed or returned an error while attempting the outbound connection
  6. A transparent ISP proxy intercepting CONNECT requests without being configured in the browser
  7. Corrupted Winsock or TCP stack on Windows

Diagnosis: HTTP vs HTTPS

A useful diagnostic step: try loading an HTTP site (not HTTPS) while the proxy is configured. If HTTP sites load but HTTPS sites fail with this error, the proxy is specifically blocking or mishandling CONNECT tunnels for port 443. If both HTTP and HTTPS fail, the proxy itself has broader connectivity problems. If HTTP works fine, focus on the CONNECT tunnel specifically — check whether the proxy requires authentication for CONNECT, or whether the proxy has an allowlist that does not include the destination domain.

Fix Steps

Step 1: Disable all proxy settings

In Chrome, go to chrome://settings/system → Open your computer's proxy settings.

Windows: In Proxy Settings, disable both "Automatically detect settings" and "Use a proxy server" under Manual proxy setup. Click Save.

macOS: System Settings → Network → select your connection → Details → Proxies tab → uncheck all proxy types → OK → Apply.

If clearing the proxy fixes the error, you had a stale or misconfigured proxy entry. If you need a proxy for your network, verify the correct proxy address and port with your network administrator.

Step 2: Check proxy authentication

If your network genuinely requires a proxy, it may also require credentials for CONNECT requests. Corporate proxies frequently require username and password authentication (HTTP 407 response). In Windows, proxy credentials can be stored in Credential Manager — search for "Credential Manager" in the Start menu and check for any proxy-related entries. Update or remove stale credentials there.

Step 3: Reset TCP/IP stack and Winsock (Windows)

Open Command Prompt as administrator and run:

  • netsh int ip reset
  • netsh winsock reset

Restart after running both commands. A corrupted Winsock catalog can cause proxy connection failures that look like CONNECT tunnel rejections.

Step 4: Disable antivirus HTTPS scanning

Some antivirus HTTPS inspection modules intercept the CONNECT request and attempt to inspect the tunneled traffic. When this interception is misconfigured or the antivirus proxy mishandles the CONNECT method, it returns an error instead of a tunnel. Temporarily disable "HTTPS Scanning," "Web Shield," or "SSL Inspection" in your antivirus and retest.

Step 5: Test from a different network

Switch to a mobile hotspot. If the error clears, your home network or ISP has a transparent proxy or firewall that is intercepting CONNECT requests. Some ISPs deploy transparent proxies on their network that intercept HTTP traffic; if these also attempt to handle CONNECT requests, they can fail for certain destinations. Contact your ISP if this is confirmed.

Using a VPN Instead of a Proxy

If the proxy is causing persistent tunnel failures and you have flexibility in how you route traffic, a VPN is often a more reliable alternative for HTTPS access. A VPN creates an encrypted tunnel at the IP level rather than at the HTTP application layer, bypassing proxy CONNECT issues entirely. Switch from proxy configuration to VPN if the proxy cannot be fixed and you need reliable HTTPS access.

Frequently Asked Questions

What is the difference between ERR_TUNNEL_CONNECTION_FAILED and ERR_PROXY_CONNECTION_FAILED?

ERR_PROXY_CONNECTION_FAILED means Chrome cannot reach the proxy server at all — the TCP connection to the proxy itself is failing. ERR_TUNNEL_CONNECTION_FAILED means Chrome successfully connected to the proxy, sent the CONNECT request, and the proxy responded with an error or failed to open the onward connection to the HTTPS destination. The proxy is reachable; the tunnel it was asked to create is not.

Can this appear without any proxy configured in the browser?

Yes. Some ISPs and corporate networks deploy transparent proxies that intercept connections without any browser configuration. If no proxy is set and this error still appears, your network infrastructure is intercepting the connection. Switching to a mobile hotspot or VPN will confirm whether a transparent proxy is involved.

Related Guides

More From This Section