SSLEngine on in the 443 VirtualHost, Nginx listen 443 ssl).What SSL_ERROR_RX_RECORD_TOO_LONG actually means
During a TLS handshake, Firefox reads the first record from the server. If the server isn’t speaking TLS on that port, the data looks like an impossibly long record, giving SSL_ERROR_RX_RECORD_TOO_LONG. Chrome reports the same situation as ERR_SSL_PROTOCOL_ERROR.
How it shows up
- “Secure Connection Failed. Error code: SSL_ERROR_RX_RECORD_TOO_LONG”.
- Only one site affected.
Common causes
- Server not configured for HTTPS on port 443.
- Proxy intercepting HTTPS incorrectly.
- Wrong port in the URL.
How to fix it, step by step
- Check the URLRemove any port number like :80 from https:// addresses.
- Disable proxies and VPNFirefox Settings → Network Settings → No proxy; disconnect VPN.
- Test another browser/networkIf it fails everywhere, the site is misconfigured. Tell the owner.
- Site owners: enable TLS on 443Configure the HTTPS virtual host/server block with a certificate, then restart the web server. Check with
openssl s_client -connect example.com:443.
Keeping it from coming back
Site owners: automate certificate renewal and test HTTPS after server changes.
