एरर समाधान · ब्राउज़र एरर

ERR_INSECURE_RESPONSE: Why Chrome Rejects a Response and the Fix

ERR_INSECURE_RESPONSE means Chrome refused a response or API call over a failed TLS check. Find the bad certificate, chain or protocol and repair it.

Error messagenet::ERR_INSECURE_RESPONSE

लेखक: SiteDownCheck संपादकीय टीम · अपडेट: नवंबर 18, 2026 · 4 मिनट पढ़ने में

net::ERR_INSECURE_RESPONSE is a generic Chrome network error. It means the browser got a response that its TLS checks marked as insecure, and it refused to hand the response to the page. You usually see it in two places: as a full page ("This site can't provide a secure connection") or, more often, in the DevTools console for a failed fetch, XMLHttpRequest or <script> request:

GET https://api.example.com/v1/items net::ERR_INSECURE_RESPONSE

It tends to confuse developers because the main page loads and one sub-request fails, often an API on a different host or port. Treat it as "something about the TLS session for this specific request is not acceptable."

What triggers it

  1. Untrusted or self-signed certificate on the API host. The user accepted the warning for the site but never visited the API origin, so the XHR fails silently. Browsers apply exceptions per host and port.
  2. Incomplete certificate chain. The server omits the intermediate certificate. Some clients fetch it; Chrome may not. See incomplete certificate chain.
  3. Name mismatch. The certificate does not cover the hostname used in the request. See ERR_CERT_COMMON_NAME_INVALID.
  4. Expired or not-yet-valid certificate, including a device with the wrong clock.
  5. Legacy TLS features. Servers using unsafe renegotiation, obsolete protocol versions, or weak parameters can be refused. Compare ERR_SSL_OBSOLETE_VERSION.
  6. HTTPS-intercepting software that re-signs traffic with a certificate your browser does not trust.
  7. Client certificate requested when none is available, depending on server settings.

Debugging order

1. Open the failing URL directly

Paste the exact URL from the console into the address bar. If it shows a certificate warning, you have found the cause: the same certificate problem applies to the background request. Fix that certificate rather than adding a browser exception.

2. Inspect the certificate and chain

openssl s_client -connect api.example.com:443 -servername api.example.com -showcerts </dev/null 2>&1 | grep -E "subject=|issuer=|Verify return code|Verification"

A Verify return code other than 0 (ok) points to the issue. The SSL Checker and the SSL Chain Debugger show the same data without a terminal, including missing intermediates and expiry.

3. Check the protocol

Use the TLS वर्शन चेकर to confirm the server offers TLS 1.2 or 1.3. Old embedded servers are a frequent cause.

4. Check the hostname and port

Local development is a classic case. A page on https://localhost:3000 calls https://localhost:8443. Each port has its own exception state, so accept the certificate on both, or better, use a locally trusted certificate generated with a tool such as mkcert.

mkcert -install
mkcert localhost 127.0.0.1 ::1

5. Rule out interception

Try an incognito window with extensions disabled, or another network. If it works elsewhere, an antivirus "HTTPS scanning" feature, corporate proxy, or captive portal is substituting the certificate. Corporate environments need the proxy's root CA installed in the device trust store.

6. Confirm it is not a CORS or mixed-content problem

The console error can look similar to others. ERR_INSECURE_RESPONSE is a TLS failure, so no HTTP status code appears in the Network panel. A CORS error does show a status. Test with the CORS Checker, and look for HTTP calls from HTTPS pages with the मिक्स्ड कंटेंट चेकर. See also CORS: no Access-Control-Allow-Origin.

Fixes by cause

  • Self-signed certificate in production: replace it with a certificate from a public CA. Free ACME certificates cover almost every public hostname.
  • Missing intermediate: serve the full chain file (for nginx, fullchain.pem, not cert.pem).
  • Wrong hostname: reissue with the correct Subject Alternative Names, or call the hostname that the certificate covers.
  • Expired: renew and deploy. See renew and automate SSL certificates.
  • Internal CA: install the CA root on client devices.

अगले कदम

सामान्य प्रश्न

Why does the main page load but the API call fails?

Certificate exceptions and trust decisions apply per origin (scheme, host and port). The API origin may have a different certificate than the page.

Is ERR_INSECURE_RESPONSE the same as ERR_CERT_AUTHORITY_INVALID?

They overlap. The authority error is the specific top-level message, while INSECURE_RESPONSE is a more general failure often reported for sub-requests.

Can the server cause it even with a valid certificate?

Yes, through obsolete TLS versions or unsupported renegotiation behavior. Test the protocol, not just the certificate.

Does it appear in Firefox and Safari?

Not by that name. They show their own messages for the same underlying certificate or protocol problems.

Get notified when this fix updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.