sodcalculator

10 Tech How-To

ERR_TUNNEL_CONNECTION_FAILED in Chrome: Fixes

Guide 10-21304 · Updated · Step by step

If you see “ERR_TUNNEL_CONNECTION_FAILED” in Chrome, it usually means a proxy or VPN connection broke while the browser was trying to reach a site. The fix is to disable the proxy or VPN, reset Chrome’s network settings, or clear the cached proxy state; below are the exact steps to try in order.

What Causes This Error

Chrome shows this error when it cannot establish a tunnel through a proxy server to the requested website. A tunnel is a secure connection (often HTTPS) that passes through an intermediary. The failure typically happens because:

  • The proxy server is down, overloaded, or blocked by a firewall.
  • A VPN client or browser extension changed the proxy settings and then crashed or disconnected.
  • Chrome’s internal proxy cache is stale or corrupted.
  • Antivirus or security software is intercepting HTTPS traffic and breaking the tunnel.
  • Windows or macOS system proxy settings point to a proxy that no longer exists.

The error is not specific to one website; it usually affects all sites until the underlying proxy issue is resolved.

Quick Fixes to Try First

Start with these simple steps; they resolve the majority of cases.

  1. Turn off your VPN or proxy. If you use a VPN client, disconnect from it. If you use a proxy extension in Chrome (like a proxy switcher), disable it. Then try loading the page again.
  2. Restart Chrome. Close all Chrome windows and reopen them. This clears temporary network state.
  3. Clear Chrome’s host cache. Type chrome://net-internals/#dns in the address bar, click “Clear host cache,” then go to chrome://net-internals/#sockets and click “Flush socket pools.” Restart Chrome.

Disable Proxy Settings on Windows

If the error persists, Chrome may be using the system proxy settings. To check and disable them on Windows 10 and 11:

  1. Open Settings (Win + I) and go to Network & Internet.
  2. Click Proxy.
  3. Under “Manual proxy setup,” turn off “Use a proxy server” if it is on.
  4. Under “Automatic proxy setup,” turn off “Automatically detect settings” if it is on.
  5. Click Save and restart Chrome.

If you are on a corporate network, your organization may require a proxy; in that case, contact your IT department instead of disabling it.

Disable Proxy Settings on macOS

On a Mac, the system proxy settings are in System Settings:

  1. Open System Settings and go to Network.
  2. Select your active network (Wi-Fi or Ethernet) and click Details.
  3. Click Proxies.
  4. Uncheck any enabled proxy protocols (Web Proxy (HTTP), Secure Web Proxy (HTTPS), SOCKS proxy).
  5. Click OK and then Apply.

If you use a VPN on macOS, also disconnect from it and quit the VPN app completely.

Reset Chrome’s Network Settings

Chrome has a built-in feature to reset network-related flags. This does not delete your bookmarks or passwords, but it does reset some settings like the default search engine and pinned tabs.

  1. In Chrome, go to chrome://settings/reset.
  2. Click Restore settings to their original defaults.
  3. Confirm the action and restart Chrome.

If that does not help, you can also try creating a new Chrome profile to rule out a corrupted profile. Click your avatar in the top right, then Add and sign in to the new profile.

Check Antivirus and Firewall Interference

Some security suites include HTTPS scanning or a local proxy that can conflict with Chrome. To test, temporarily disable the antivirus’s web protection feature (not the whole program) and try the site again. If it works, add Chrome to the antivirus’s exclusion list or turn off HTTPS scanning in its settings. Remember to re-enable protection afterwards.

Also check the Windows Firewall or macOS firewall: make sure Chrome is allowed to accept incoming connections. On Windows, go to Control Panel > System and Security > Windows Defender Firewall > Allow an app through the firewall and ensure Chrome is checked for both private and public networks.

Flush DNS and Reset TCP/IP

Sometimes the issue is deeper in the network stack. Flushing DNS and resetting TCP/IP can clear stale routes.

  1. Open Command Prompt as administrator (type “cmd” in Start, right-click, and select “Run as administrator”).
  2. Run these commands one by one, pressing Enter after each:
    • ipconfig /flushdns
    • netsh winsock reset
    • netsh int ip reset
  3. Restart your computer.

On macOS, you can flush DNS by running sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder in Terminal. Resetting TCP/IP on macOS is not a simple command; restarting the router is often more effective.

Frequently Asked Questions

Why does this error happen only in Chrome and not other browsers?

Chrome uses its own network stack and proxy cache. Other browsers may use the system proxy differently or have their own settings. If the issue is only in Chrome, it is likely a Chrome-specific extension or corrupted cache.

Can a bad extension cause this error?

Yes. Extensions that manage proxy or VPN connections can change Chrome’s network settings. If you suspect an extension, disable all extensions by going to chrome://extensions and toggling them off, then re-enable them one by one to find the culprit.

Will clearing cookies help?

No. Cookies are unrelated to the tunnel connection. This error is about the network connection itself, not the site’s data.

Is this error a sign of malware?

Not usually. It is most often caused by a misconfigured proxy or a VPN that crashed. However, if you never set up a proxy and the error persists, it is worth running a malware scan with your antivirus or Windows Defender.

Does using a different DNS server fix it?

Sometimes. If the DNS server is not responding correctly, it can cause connection failures. Try switching to a public DNS like Google’s (8.8.8.8 and 8.8.4.4) or Cloudflare’s (1.1.1.1) to see if it helps.

What if I need the proxy for work?

If your workplace requires a proxy, do not disable it. Instead, contact your IT support and provide the exact error message. They can check if the proxy server is experiencing issues or if your credentials need updating.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →