How to Fix Firefox’s PR_END_OF_FILE_ERROR ‘Secure Connection Failed’

Here we can see “How to Fix Firefox’s PR_END_OF_FILE_ERROR ‘Secure Connection Failed'”

Some Mozilla Firefox users get the PR_END_OF_FILE_ERROR Secure Connection Failed error when trying to access a website. In essence, this error means that all cypher suites failed, and the browser couldn’t establish a secure connection (Firefox reached the end of the list due to various reasons). When this happens, users report getting the same error message on every website they try to access.

So, what is causing the PR_END_OF_FILE_ERROR Secure Connection Failed error in Firefox?

VPN or proxy sabotage: Proxy or VPN interference is one likely culprit. Any software that intercepts the Connection (acts as a middle man) may cause this error. If this is the case, disable the proxy server or uninstall the VPN application that protects your anonymity.

Errors in ciphers: If you previously modified SSL settings, you may be seeing this error because your browser is now enforcing some cipher variants that Firefox or the website you’re trying to access do not support. Refresh your Firefox browser via the Troubleshooting Information menu to fix this issue.

Corrupted Firefox profile: A corrupted profile can cause this error code. Several affected users could avoid data loss by exporting their bookmarks, creating a new profile, and then importing their old bookmarks.

Interference from 3rd party security suites: Some overprotective 3rd party security suites (Avast, Kaspersky, BitDefender, Eset) will cause this problem by intercepting connection certificates and sending their own. In this case, you can either disable real-time protection or uninstall the overprotective suite.


How to Fix the PR_END_OF_FILE_ERROR ‘Secure Connection Failed’ Error

Disable VPN or Proxy Connection (if applicable)

PR_END_OF_FILE_ERROR Connection can occur when using a proxy or VPN server, as reported by several affected users (or any other kind of software that works by intercepting the Connection and acting as the middle man).

Some solutions work, but others may cause this error if enabled. A VPN or proxy solution most likely causes this error message.

If this is the case, connect directly after disabling the software that protects your anonymity. We created two guides to make this process as simple as possible – one for proxy users and one for VPN users. Feel free to use whichever method suits your situation.

Delete VPN Client

  1. To open the Run dialogue, press Windows + R. Inside, type’ appwiz.cpl’, and hit Enter to open the Programs and Features menu. When prompted by User Account Control (UAC), select Yes to grant administrative rights.
  2. Once in the Programs and Features screen, scroll through the list of installed software looking for your current 3rd party VPN. When you find it, right-click it and select Uninstall from the context menu.
  3. Once inside the uninstall wizard, follow the on-screen instructions to finish the job. After the operation, restart the computer to see if the issue is resolved.

Disabling Proxy

  1. To run a program, press Windows + R. Enter” ms-settings:network-proxy” into the text box to open the Proxy tab of the Settings app.
  2. Once inside the Proxy tab, scroll down to Manual proxy setup. Then go to the right section and disable the Use a proxy server toggle.
  3. Restart your computer after the operation. Then, when the next startup is complete, repeat the action that caused the PR_END_OF_FILE_ERROR error.

If the problem persists after following the steps below, or if neither method worked, move on to the next possible solution.

2. Refresh Firefox

This error appears to be quite common in situations where users have previously experimented with SSL settings that have resulted in cipher variants that are not supported by Firefox or the website you are trying to access.

If the above scenario applies, the only solution is to reset Firefox to default settings. Fortunately, this browser includes a feature that allows you to do so without reinstalling the program.

Here’s how to refresh Firefox using the Troubleshooting Information menu:

  1. Open Firefox and click the action button in the top-right corner. Next, select Help > Troubleshooting Information from the menu.
  2. Once inside the Troubleshooting Information menu, click Refresh Firefox on the right-hand side (under Giving Firefox a tune-up).
  3. Finally, click Refresh Firefox again to restart the process. Then restart the browser after the process is finished.
  4. Replicate the action that caused the issue and see if it persists.

If the error PR_END_OF_FILE_ERROR (Secure Connection Failed) persists after following the above steps, continue to the next possible fix.


3. Disable DNS over HTTPS

However, some websites may not work properly due to the PR END OF FILE ERROR (Secure Connection Failed) error caused by this option in Mozilla Firefox. This is a simple fix. Take these steps:

  1. Open Firefox and type “about:preferences#general” into the address bar.
  2. Now scroll down and click “Settings” next to Network Settings.
  3. Uncheck “DNS over HTTPS” and restart Firefox.

4. New Firefox Profile

A corrupted profile can cause the PR_END_OF_FILE_ERROR (Secure Connection Failed) error. Several affected users confirmed that the issue was resolved by creating a new profile via the ‘about: profiles’ tab, then exporting and importing the bookmarks from the old profile.

If you mostly use Chrome, you can easily import your bookmarks into Firefox.

This procedure may sound complicated, but the steps are simple. What you need to do to fix a corrupted profile is as follows:

  1. First, export your bookmarks so you can use them on your new profile. To do so, go to Bookmark > Show All Bookmarks from the bookmark icon (top right).
  2. From the Library menu, select Import and Backup, then Export Backups to HTML from the drop-down list.
  3. Please choose a location, give it a name, and click Save to export your bookmarks.
  4. Go to the top navigation bar of your Firefox browser. Paste ‘about: profiles’ and hit Enter to open Firefox’s Profile section.
  5. Once inside the right menu, select Create a New Profile (under About Profiles).
  6. Once inside the Create Profile Wizard, click Next to move on to the next menu. On the next screen, please enter a name for your profile and click Finish to create it.
  7. After creating the new profile, you need to recover the old profile’s bookmarks. To do so, go to Bookmark > Show All Bookmarks from the bookmark icon (top right).
  8. Import and Backup > Import Bookmarks to HTML from the Library menu. Then, locate the exported bookmarks (step 3) and click Open to import them into the new profile.
  9. Restart your browser to see if the Secure Connection Failed error has gone.

If the issue persists, proceed to the next method.

5. Remove 3rd party security suite

This issue can also be caused by an overprotective 3rd party AV (security suite). Since Avast, Kaspersky, BitDefender, and ESET (among others) are designed to intercept connection certificates and send their own.

While most websites allow this, some may trigger the PR_END_OF_FILE_ERROR (Secure Connection Failed) error as a security measure.

If this is the case, disable real-time protection while accessing the website or uninstall the overprotective security suite.

Disable the real-time protection to control the damage. But keep in mind that this procedure varies depending on the 3rd party tool. Fortunately, you can usually do it from the taskbar icon of your antivirus or firewall suite.

After that, restart your computer to see if the problem persists.

If the issue persists, the next logical step is to eliminate all third-party security interference. Here’s a quick guide on how to do this and avoid leaving any leftover files that could cause the same behavior:

  1. Press Windows + R. Enter’ appwiz.cpl’ to open the Programs and Features window to open the Run dialogue.
  2. Once in Programs and Features, scroll through the list of installed apps to find the 3rd party security suite you’re using. Once found, right-click it and select Uninstall from the newly appeared context menu.
  3. To complete the uninstallation, follow the on-screen instructions.
  4. After uninstalling your security suite, follow the instructions to uninstall any leftover files.
  5. Restart your computer to see if the issue is resolved.

User Questions:


It’s PR_END_OF_FILE_ERROR, a common secure connection error in Firefox. It occurs when Firefox’s “cypher suites” fail to establish a secure connection to a site.

Is it possible to fix PR_END_OF_FILE_ERRORs?

  1. Disable VPN or Proxy Connection (if applicable)
  2. Refresh Firefox.
  3. Disable DNS over HTTPS.
  4. Resetting Firefox Profile.
  5. Uninstall a third-party security program.

How to fix a secure connection in Firefox.

  1. Firefox. Enter about:config in the address bar.
  2. The warning page appears. Click on I accept the risk.
  3. Security.ssl
  4. Reconnect to the website to see if the error has gone.



Err_connection_reset  means that the Connection could not be established correctly. Thus, the Connection was “reset.”

Why did the secure Connection fail?

Secure Connection The security certificate (also known as SSL) is either invalid, expired or simply missing. When the browser warns that the Connection is not secure, you may suffer serious issues if you proceed.

Leave a Comment