ERR_SSL_PROTOCOL_ERROR JavaScript Origin: On your device Last updated 12 Oct 2026

ERR_SSL_PROTOCOL_ERROR (This site can't provide a secure connection)

The browser couldn’t negotiate TLS — the server sent an invalid response, often plain HTTP on the HTTPS port.

Exact message you may see can't provide a secure connection
Seen on: JavaScript

Meaning

Common when a server listens on 443 without TLS configured, when TLS versions/ciphers don’t overlap, or when a proxy interferes.

Common causes

  • HTTPS URL pointing at a plain-HTTP port
  • TLS not configured on the server
  • Outdated TLS versions only
  • Antivirus/proxy interference

⚡ Quick fix

  1. Check that the server has a certificate and TLS on 443
  2. Use http:// for local dev servers that don’t do TLS
  3. Enable TLS 1.2/1.3

Detailed fix by platform

Linux

  1. openssl s_client -connect example.com:443 -servername example.com

How to diagnose

  1. Server — TLS configured on that port?
  2. URL — Using https on a dev server?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

1013 — Cloudflare Error 1013: HTTP hostname and TLS SNI hostname mismatch (Cloudflare)1013421 — HTTP 421 Misdirected Request (HTTP)421525 — Cloudflare Error 525: SSL Handshake Failed (Cloudflare)525auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-by-…autoplay blocked — NotAllowedError: play() failed because the user didn't interact with the document first. (JavaScript)autoplay blockedclipboard write blocked — NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused. (JavaScript)clipboard write block…Cloudflare Origin CA not trusted — NET::ERR_CERT_AUTHORITY_INVALID with a Cloudflare Origin Certificate (record not proxied) (Cloudflare)Cloudflare Origin CA …ERR_ABORTED — net::ERR_ABORTED 404 (Not Found) (JavaScript)ERR_ABORTEDERR_SSL_P…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.