Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

ERR_SSL_PROTOCOL_ERROR: an SSL protocol error occurred

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Chrome reports ERR_SSL_PROTOCOL_ERROR when the TLS handshake hits a protocol error. Chromium defines NET_ERROR(SSL_PROTOCOL_ERROR, -107) as "An SSL protocol error occurred." Chrome Help does not give this code its own bullet; it groups HTTPS problems under connection and certificate troubleshooting and points you to update the OS, try Incognito, and check antivirus HTTPS scanning.

What the symptom means

Chromium tag 131.0.6778.85:

// An SSL protocol error occurred.

NET_ERROR(SSL_PROTOCOL_ERROR, -107)

The TCP connection reached the port; TLS did not complete cleanly. A TLS client aimed at plain HTTP often surfaces as SSL_ERROR_RX_RECORD_TOO_LONG in other stacks. No shared version or cipher is ERR_SSL_VERSION_OR_CIPHER_MISMATCH. Cloudflare's handshake failure to the origin is Error 525.

Likely causes

Cause What you see How to confirm
Broken TLS config on the server One site fails in every browser Direct openssl s_client fails similarly
HTTPS interception by antivirus Failures with the product on Chrome Help Step 4 under certificate errors
Middlebox rewriting TLS Failures only on one network Retest off that network
Mixed HTTP on an HTTPS port Protocol error or record errors Port speaks plain HTTP

Prove the cause before changing anything

1. Confirm ERR_SSL_PROTOCOL_ERROR, not a NET::ERR_CERT_… interstitial.

2. Incognito (Chrome Help certificate Step 2 / connection Step 4).

3. Another network to separate local interception from the origin.

4. If you operate the server, capture whether the port speaks TLS at all before renewing certificates.

Fix

Antivirus HTTPS scanning

Chrome Help (certificate section Step 4):

You can get this error if you have an antivirus software that provides "HTTPS protection" or "HTTPS scanning." The antivirus prevents Chrome from providing security.

To fix the problem, turn off your antivirus software. If the page works after you turned off the software, turn it off again when you use secure sites.

Remember to turn your antivirus software back on when you're done.

Chrome Help gives this advice for the certificate errors listed there; applying it to ERR_SSL_PROTOCOL_ERROR is our own reading.

Save state:

echo "product=<name> https_scanning=<on or off as shown>" > av-https-before.txt

Risk: the next step turns off antivirus software, including HTTPS scanning. While it is off, the device lacks that product's malware and traffic inspection until you turn it back on.

Temporarily turn the antivirus off, retest the HTTPS URL, then follow Chrome Help and turn it back on when finished.

To undo it: turn the antivirus and HTTPS scanning back to the state in av-https-before.txt.

Server TLS configuration

The server's TLS settings (protocols, certificates, termination) decide whether the handshake completes. Prefer a publicly trusted certificate and a complete chain; that preference is our own advice, not part of Chromium's definition of the error. Save certificate files and the TLS terminator configuration before change:

cp /etc/ssl/example.com/fullchain.pem fullchain-before.pem
cp /etc/ssl/example.com/privkey.pem privkey-before.pem
# keep privkey-before.pem with the same access rights as the original private key
cp /etc/nginx/nginx.conf nginx.conf.before
cp /etc/nginx/conf.d/tls-params.conf tls-params.conf.before
# save every included file that holds TLS protocol/cipher settings

Risk: the next step replaces the TLS certificate and private key and/or TLS terminator settings, then reloads. A mismatched key, incomplete chain or empty protocol overlap takes HTTPS down for every hostname that shares that pair until you restore the previous files.

Install corrected TLS material and terminator settings, test configuration, and reload.

To undo it: copy the *-before.pem and *.before files back to the live paths (keeping the private key's access rights) and reload again.

Confirm the fix

  1. Chrome loads the site without ERR_SSL_PROTOCOL_ERROR.
  2. Another browser on the same network agrees.
  3. Antivirus HTTPS scanning is back on after any test.

What to watch afterwards

  • Security appliances that intercept TLS without distributing a root.
  • Protocol lockdowns that remove TLS 1.2 on legacy terminators.
  • Wrong backend port on a reverse proxy (TLS to a plain HTTP socket).

Risks and limits

These steps have not been lab-tested.

Chrome Help does not print ERR_SSL_PROTOCOL_ERROR as its own labelled bullet; the antivirus HTTPS guidance sits under certificate/connection-not-private help on the same page. Chromium's -107 is the precise definition used here.

Sources