Open Bug 1710202 Opened 3 years ago Updated 2 years ago

An error occurred during a connection to https://www.mozilla.org/en-US/firefox/new/. PR_END_OF_FILE_ERROR

Categories

(NSS :: Libraries, defect, P5)

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: alizare777, Unassigned)

References

Details

(Whiteboard: [nss-fx][nss-monitor])

Attachments

(4 files, 2 obsolete files)

Attached image a.png (obsolete) —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

when i try to browse to https://www.mozilla.org/en-US/firefox/new/ or some other address.

Actual results:

i receive, Secure Connection Failed "PR_END_OF_FILE_ERROR"

Expected results:

expected to open that site normally.

Please go through the troubleshooting steps at
https://support.mozilla.org/en-US/questions/1267074#answer-1246714

Component: Untriaged → Security: PSM
Product: Firefox → Core

i run firefox in safe mode.
i disable hardware acceleration.
but i receive same error in firefox in home or at work pc.

Attached image web site security error
Attachment #9220941 - Attachment is obsolete: true
Attached image 2.png (obsolete) —
Attached image firefox options
Attachment #9221054 - Attachment is obsolete: true
Attached image firefox extenstions

i run firefox in safe mode.
i disable hardware acceleration.
i haven't any third party antivirus.
i disable windows 10 virus & threat protection.
i haven't any proxy or vpn on my devices.
but i receive same error in my laptop and desktop.

i love firefox, and i using it more than 15 year.

Component: Security: PSM → Networking

Thanks for reporting the bug! Some questions:

  1. Is this issue happening every single time you try to load this site? Or just sometimes? If there are any other sites which are affected, could you share which ones?
  2. Could you get a http log please? You can share a google drive or dropbox etc link if it's too big to attach here.
Flags: needinfo?(alizare777)

After the recent update, I have this problem almost all the time. And I can rarely be without problems.

I only use very few sites. And the site I work with a lot is wallex.ir. That site has the same problem.

I have access to these sites from Iran. I subscribe with two different ISPs. But I have this problem with both of them.

I sent you the log files.

Flags: needinfo?(alizare777)
Attached file log file

This problem happened to me after updating to Firefox 88.0.1 on Ubuntu 20.04 .
All recommended solutions have been supported by Mozilla Firefox but there is still a problem.
I also used the latest "Firefox Beta, Nightly, ESR" versions ; but the problem was not fixed.
This problem does not occur with Firefox using VPN.

Also, this problem does not occur in Google Chrome.

For example, some websites that have this problem:
"mozilla.org/en-US/firefox/all",
"bugzilla.mozilla.org",
"virgool.io"

(In reply to alizare777 from comment #9)

After the recent update, I have this problem almost all the time. And I can rarely be without problems.

I only use very few sites. And the site I work with a lot is wallex.ir. That site has the same problem.

I have access to these sites from Iran. I subscribe with two different ISPs. But I have this problem with both of them.

I sent you the log files.

This looks like a issue related to firewall or some middle box. Have you tried to reproduce this with other browsers?
If you use VPN software to connect to another network, are you still able to see this issue?

Flags: needinfo?(alizare777)

(In reply to Kershaw Chang [:kershaw] from comment #12)

This looks like a issue related to firewall or some middle box. Have you tried to reproduce this with other browsers?
If you use VPN software to connect to another network, are you still able to see this issue?

  • This problem does not occur with Firefox using VPN.
  • This problem does not occur in Google Chrome (even without using a vpn ).
  • This problem exists in different ISPs.

Switch the component to NSS, since it seems PR_END_OF_FILE_ERROR is mostly set in NSS lib.

Assignee: nobody → nobody
Component: Networking → Libraries
Product: Core → NSS
Version: Firefox 88 → other

I can confirm the problem exists for various domains (mozilla.org , bitwarden.com , steamcommunity.com , etc.), while other browsers (e.g. Microsoft Edge) on the same system have no problem, all while not using any proxy/VPN connection. Also I have refreshed Firefox and created another profile (at about:profiles) and the same problem exists.

What is interesting about the problems is that it will not happen while USING a proxy/VPN connection. I had DNS-over-HTTPS settings off all the time, but I'm suspecting that maybe a similar resolution mechanism is related to the problem.

There is no report of ISP-related connectivity issues AFAIK. (https://explorer.ooni.org/search?probe_cc=IR&domain=www.mozilla.org)

Can someone make a wireshare capture? Please if possible make a capture of a failing connection using Firefox and a connection using Chrome.

The connections are failing during TLS handshakes. TLS records may differ between browsers. We need to figure out why a connection using Firefox fails.

Flags: needinfo?(dariushorotan10)
Flags: needinfo?(ali.shamakhi.97)

I'm not seeing anything there that would be cause for alarm. There are differences, but nothing alarming. We support more ciphers, signature schemes, and key exchange algorithms. Chrome greases. We send two key shares, Chrome one. Everything there points to our ClientHello being more compatible.

I do note that the successful trace uses "mozilla.org" at first. The unsuccessful one uses "www.mozilla.org". But Chrome seems to get a redirect to "www.mozilla.org". I think that Firefox also does the same, and are getting the connection through, but the trace is missing part of the ServerHello flight. So the "mozilla.org" connection seems to have worked and the "www.mozilla.org" connection (which the first redirects to) fails.

The other thing of note is that there are lots of retransmissions in a short time. Both browsers send out lots of retransmissions. That shouldn't affect things either, but the duplicate ACKs indicate that something might be reordering packets.

My intuition here is that we are seeing interference from a middlebox. This is a Cloudflare endpoint, so it seems unlikely that this is busted. The screams would be much louder if it was.

(In reply to Martin Thomson [:mt:] from comment #18)

My intuition here is that we are seeing interference from a middlebox. This is a Cloudflare endpoint, so it seems unlikely that this is busted. The screams would be much louder if it was.

But why does this problem only occur in Firefox?

Thank you for your response.

We're talking to folks at Cloudflare about this.

Is DoH enabled? Can you try disabling DoH and trying again?

about:networking#dnslookuptool can be used to show what www.mozilla.org resolves to. The answer with and without DoH - if it is different - would be interesting.

See Also: → 1716434

+1 on Martin's question about whether www.mozilla.org is resolving to different addresses with and without DoH.

Also, it might be helpful to know if you are in a region of the world where internet censorship is in effect.

The issue seems to be resolved from my end.

@mt@lowentropy.net
The result of resolving www.mozilla.org is the same with and without DoH (Cloudflare): 104.18.164.34, 104.18.165.34

@nhnt11@gmail.com
Yes, there is censorship in effect in my region.

Flags: needinfo?(ali.shamakhi.97)
See Also: → 1750647

Redirect needinfos that are pending on inactive users to the triage owner.
:beurdouche, since the bug has recent activity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dariushorotan10)
Flags: needinfo?(bbeurdouche)
Flags: needinfo?(alizare777)
Flags: needinfo?(bbeurdouche)
Whiteboard: [nss-fx][nss-monitor]
Severity: -- → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: