TLS & certificate errors

    PR_END_OF_FILE_ERROR: Firefox: the secure connection ended before it was set up

    Also searched as: Secure Connection Failed PR_END_OF_FILE_ERROR · pr end of file error Firefox

    Is PR_END_OF_FILE_ERROR happening on your domain?

    An SSL check shows whether the server completes a handshake with a standard client. If it does, the cause is on your device or network.

    Free, no signup. Runs from outside your network, which is the only way to tell a server fault from a local one.

    Short answer

    Firefox began setting up encryption and the other side closed the connection before it finished. The usual cause is a VPN, proxy or security product interfering. Less often the server offers no encryption settings that Firefox accepts.

    What PR_END_OF_FILE_ERROR means

    Before any page data is sent, the browser and server agree how to encrypt the connection. PR_END_OF_FILE_ERROR means the connection ended in the middle of that exchange. Firefox ran out of things to try, so it reports that it reached the end with nothing agreed.

    Causes and fixes, most likely first

    most common

    A VPN, proxy or antivirus product is intercepting the connection.

    Turn off the VPN or proxy and pause HTTPS scanning in your security software, then reload. In Firefox settings, under Network Settings, choose No proxy as a test.

    common

    The server only offers encryption settings that Firefox no longer accepts.

    If you run the server, enable TLS 1.2 and TLS 1.3 with modern cipher suites. An SSL check lists what the server currently offers.

    occasional

    Firefox's own security settings were changed, or its profile is damaged.

    Start Firefox in Troubleshoot Mode. If the site loads, an add-on or a changed setting is the cause. Refreshing Firefox restores the defaults and keeps bookmarks and passwords.

    How to stop it happening again

    • •If you run the site, keep the server's TLS settings current and check them after every operating system or web server upgrade.

    Frequently asked questions

    Why does the site work in Chrome but not in Firefox?

    Firefox uses its own security settings and its own certificate store, separate from the operating system. A proxy setting, an add-on or a changed security option in Firefox can break a site that works elsewhere.

    Related errors

    Monitor this continuously with LemWatch

    A one-off pr_end_of_file_error monitoring is a snapshot, not ongoing protection. Keep uptime, performance, SEO and security signals together with scheduled monitoring and configured alerts. Start free for 10 sites, no card needed.

    Explore ongoing SEO checks · Compare free monitoring options

    Last verified: by the Lemwatch research team.