Nightly 143.0a1, buildID 20250726091124 STR: 1. Have a Firefox open. 2. Open the Firefox in another instance, e.g. `mkdir /tmp/prof && "/Applications/Firefox Nightly.app/Contents/MacOS/firefox" -profile /tmp/prof` 3. Go back to the Firefox from step 1. Try to visit a domain that you have not visited before (in the past few minutes). E.g. search for something in DuckDuckGo. Expected: - Should load. Actual: - Often fails to load. While trying to reproduce, I found that it fails multiple times in succession, but sometimes succeeds (on retry). - Quitting the other Firefox instance (from step 3) makes the issue go away. - In the devtools, I see `NS_ERROR_FAILURE`. I visited `about:logging` and logged to disk with the network preset. In the logs that fail, I consistently observe the presence of `ErrorAccordingToNSPR [in=-5999 out=80004005]` logged from https://searchfox.org/mozilla-central/rev/ab26427a8d31be475be11bbae0e04c84cc7f20ef/netwerk/base/nsSocketTransport2.cpp#227-230,251-252 - `-5999` there is `PR_BAD_DESCRIPTOR_ERROR`. - `80004005` is the hex code of 2147500037, aka `NS_ERROR_FAILURE` ``` 2025-07-30 12:49:35.929894 UTC - [Parent 54986: Main Thread]: D/nsHttp sending progress and status notification [this=424580800 status=4b0007 progress=0/0] 2025-07-30 12:49:35.929980 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport ErrorAccordingToNSPR [in=-5999 out=80004005] 2025-07-30 12:49:35.929991 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport connection failed! [reason=80004005] 2025-07-30 12:49:35.929992 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport nsSocketTransportService::DetachSocket [handler=41405d600] 2025-07-30 12:49:35.929995 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport nsSocketTransport::OnSocketDetached [this=41405d600 cond=80004005] 2025-07-30 12:49:35.929997 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport nsSocketTransport::RecoverFromError [this=41405d600 state=3 cond=80004005] 2025-07-30 12:49:35.930000 UTC - [Parent 54986: Socket Thread]: D/nsHostResolver Adding address to blocklist for host [duckduckgo.com], host record [4525ecdf0].used trr=0 2025-07-30 12:49:35.930003 UTC - [Parent 54986: Socket Thread]: D/nsHostResolver Successfully adding address [52.142.124.215] to blocklist for host [duckduckgo.com]. ```
Bug 1980171 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Nightly 143.0a1, buildID 20250726091124 STR: 1. Have a Firefox open. 2. Open the Firefox in another instance, e.g. `mkdir /tmp/prof && "/Applications/Firefox Nightly.app/Contents/MacOS/firefox" -profile /tmp/prof` - EDIT: I am now in a state where this step is not even needed. The necessity of this step is unclear. 3. Go back to the Firefox from step 1. Try to visit a domain that you have not visited before (in the past few minutes). E.g. search for something in DuckDuckGo. Expected: - Should load. Actual: - Often fails to load. While trying to reproduce, I found that it fails multiple times in succession, but sometimes succeeds (on retry). - Quitting the other Firefox instance (from step 3) makes the issue go away. - In the devtools, I see `NS_ERROR_FAILURE`. I visited `about:logging` and logged to disk with the network preset. In the logs that fail, I consistently observe the presence of `ErrorAccordingToNSPR [in=-5999 out=80004005]` logged from https://searchfox.org/mozilla-central/rev/ab26427a8d31be475be11bbae0e04c84cc7f20ef/netwerk/base/nsSocketTransport2.cpp#227-230,251-252 - `-5999` there is `PR_BAD_DESCRIPTOR_ERROR`. - `80004005` is the hex code of 2147500037, aka `NS_ERROR_FAILURE` ``` 2025-07-30 12:49:35.929894 UTC - [Parent 54986: Main Thread]: D/nsHttp sending progress and status notification [this=424580800 status=4b0007 progress=0/0] 2025-07-30 12:49:35.929980 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport ErrorAccordingToNSPR [in=-5999 out=80004005] 2025-07-30 12:49:35.929991 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport connection failed! [reason=80004005] 2025-07-30 12:49:35.929992 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport nsSocketTransportService::DetachSocket [handler=41405d600] 2025-07-30 12:49:35.929995 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport nsSocketTransport::OnSocketDetached [this=41405d600 cond=80004005] 2025-07-30 12:49:35.929997 UTC - [Parent 54986: Socket Thread]: D/nsSocketTransport nsSocketTransport::RecoverFromError [this=41405d600 state=3 cond=80004005] 2025-07-30 12:49:35.930000 UTC - [Parent 54986: Socket Thread]: D/nsHostResolver Adding address to blocklist for host [duckduckgo.com], host record [4525ecdf0].used trr=0 2025-07-30 12:49:35.930003 UTC - [Parent 54986: Socket Thread]: D/nsHostResolver Successfully adding address [52.142.124.215] to blocklist for host [duckduckgo.com]. ```