---
title: "PR_END_OF_FILE_ERROR — test your site, then fix it"
description: "Run a free live check to see whether PR_END_OF_FILE_ERROR is happening on your own domain right now, then work through the causes ranked most likely first."
canonical: "https://lemwatch.com/errors/pr-end-of-file-error"
source: "https://lemwatch.com"
---

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

> 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.

## 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

- 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.
- 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.
- 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.

## Check your own 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.

## 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.



## Lemwatch at a glance

- What it is: website monitoring that checks uptime, page changes, SEO, security, SSL and speed in one tool.
- Free plan: 10 sites, no time limit, all check types.
- Pro: $19/mo, 50 sites, public API and webhooks.
- Agency: $59/mo, 150 sites, white-label status pages.
- Source: https://lemwatch.com/pricing (facts verified from the product's own plan limits).



## Related

- [All website error codes](https://lemwatch.com/errors)
- [SSL handshake failed](https://lemwatch.com/errors/ssl-handshake-failed)
- [ERR_SSL_PROTOCOL_ERROR](https://lemwatch.com/errors/err-ssl-protocol-error)
- [SSL_ERROR_NO_CYPHER_OVERLAP](https://lemwatch.com/errors/ssl-error-no-cypher-overlap)
- [Free SSL certificate check](https://lemwatch.com/tools/ssl-checker)
- [Is it down? Check any website](https://lemwatch.com/is-down)
- [Safari can't establish a secure connection: Safari refused the site's encryption](https://lemwatch.com/errors/safari-cant-establish-a-secure-connection)
- [PR_CONNECT_RESET_ERROR: Firefox: the connection was reset](https://lemwatch.com/errors/pr-connect-reset-error)
