Fix ERR_INVALID_RESPONSE on Chrome

Quick Answer: The ERR_INVALID_RESPONSE error in Chrome indicates that the browser received an HTTP response that was malformed or unexpected, often due to corrupted cache, network proxy interference, or DNS resolution issues. First, clear your browser's cache and cookies for the affected site. Specifically, navigate to Chrome Settings > Privacy and security > Clear browsing data, select 'Cached images and files' and 'Cookies and other site data', then click 'Clear data'. This often resolves transient data corruption, allowing Chrome to process valid responses.

What Causes This Error

Step-by-Step Fixes

Fix 1: Clear Browser Cache and Cookies

Open Chrome and type chrome://settings/clearBrowserData in the address bar, then press Enter.,Set the 'Time range' to 'All time'.,Ensure 'Cached images and files' and 'Cookies and other site data' are checked. Optionally, uncheck 'Browsing history' if you wish to preserve it.,Click the 'Clear data' button.,Restart Chrome and attempt to access the website again.

Fix 2: Disable Browser Extensions

Open Chrome and type chrome://extensions in the address bar, then press Enter.,Toggle off each extension one by one, starting with recently installed or network-related extensions (e.g., ad blockers, VPN extensions).,After disabling each extension, refresh the problematic website to see if the error is resolved.,If the error disappears, re-enable extensions one by one to identify the culprit. Once found, remove or update the problematic extension.

Fix 3: Flush DNS Cache and Reset Network Settings

Open Command Prompt (Windows) or Terminal (macOS/Linux) as an administrator.,Execute the following commands in order: ipconfig /flushdns (Windows) or sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder (macOS) or sudo systemd-resolve --flush-caches (Linux).,For Windows, also run: netsh winsock reset and netsh int ip reset.,Restart your computer after executing the commands.,Verify network connectivity and attempt to access the website.

Fix 4: Change DNS Servers

Access your operating system's network adapter settings (e.g., 'Network and Sharing Center' on Windows, 'Network Preferences' on macOS).,Locate your active network connection (Wi-Fi or Ethernet), right-click, and select 'Properties' (Windows) or 'Advanced' > 'DNS' (macOS).,Change the DNS server addresses to public, reliable DNS providers like Google DNS (8.8.8.8 and 8.8.4.4) or Cloudflare DNS (1.1.1.1 and 1.0.0.1).,Save the changes, restart your browser, and test the website.

Fix 5: Check Proxy Settings and VPN

Open Chrome and type chrome://settings/system in the address bar, then press Enter.,Under the 'System' section, click 'Open your computer's proxy settings'.,Ensure 'Automatically detect settings' is enabled and 'Use a proxy server' is disabled, unless you specifically require a proxy.,If using a VPN, temporarily disable it and try accessing the website. If the error resolves, reconfigure your VPN or contact its support.,Apply any changes and restart Chrome.

Advanced Fixes

Advanced Fix 1: Perform a Chrome Network Stack Reset

Open Chrome and navigate to chrome://net-internals/#dns.,Click the 'Clear host cache' button.,Then, navigate to chrome://net-internals/#sockets and click 'Flush socket pools'.,Restart Chrome completely. This can resolve deeper network stack issues within the browser without a full browser reset.

Advanced Fix 2: Check for MTU Mismatch Issues

An MTU (Maximum Transmission Unit) mismatch between your router/modem and your ISP can cause packet fragmentation, leading to malformed responses. Use a tool like 'ping -f -l <size> <destination>' (Windows) or 'ping -D -s <size> <destination>' (macOS/Linux) to find your optimal MTU.,Adjust the MTU setting on your router or network adapter to match the optimal value found. Common optimal MTU for PPPoE is 1492, and for Ethernet is 1500.,Restart your network hardware and computer after making changes.

FAQs

Q: What specifically constitutes an 'invalid response' in Chrome's context?

A: An 'invalid response' typically means Chrome received an HTTP response from a server that did not conform to the HTTP/1.1 or HTTP/2 protocol specifications, or it was truncated, malformed, or contained unexpected headers/data. This can include missing status lines, corrupted header fields, or an incomplete response body that Chrome cannot parse.

Q: Can antivirus software or firewalls cause ERR_INVALID_RESPONSE?

A: Yes, aggressively configured antivirus software or network firewalls can intercept and sometimes modify or block HTTP responses, especially if they perform deep packet inspection or web filtering. If the software alters a valid response in a way Chrome deems invalid, or completely blocks it, this error can occur. Temporarily disabling them for testing can help diagnose this.

Q: Is ERR_INVALID_RESPONSE always a client-side issue?

A: No, while many common causes are client-side (cache, extensions, DNS), the error can originate from a misconfigured or overloaded web server that genuinely sends malformed HTTP responses. If the error persists across multiple browsers, devices, and networks, it strongly suggests a server-side problem that the website administrator needs to address.

Q: How do I differentiate between a network issue and a browser issue?

A: To differentiate, first try accessing the problematic website using a different browser (e.g., Firefox, Edge) on the same device. If the error persists, try accessing it from another device on the same network. If it fails on all devices/browsers, it points to a network or server issue. If it only fails in Chrome, it's likely a Chrome-specific problem (cache, extensions, settings).

Related Errors