NS_ERROR_NET_RESET on POST
Categories
(Core :: Networking, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: mspclaims, Assigned: kershaw)
Details
(Whiteboard: [necko-triaged])
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Steps to reproduce:
Attempt to login to https://my.claimmanager.ca - two setp process, first step username, second - password. Both requests go to same backend URL
Actual results:
Second POST requests (with correct password) result in status code 200 and response body visible on Network tab in Dev Tools, but also NS_ERROR_NET_RESET error which prevents user from logging in.
See attached screenshot
Expected results:
Same steps in Chrome or Edge allow user to proceed.
This is production site so I cannot provide username/password.
Server sends `Connection: keep-alive'
Server is IIS10, connection in http/2
Same FE connected to backend on IIS7.5 works fine in Firefox (http/1.1)
I'm available to chat and share screen if needed.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Password Manager' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
|
||
Hi Reporter,
NS_ERROR_NET_RESET usually indicates the server has reset the connection, not Firefox.
In order to help us debug this, could you try to capture a http log or a wireshark trace?
You could send the logs to necko@mozilla.com to ensure that the information remains secure.
Thanks.
Thanks for reply. I collected logs and sent to email above.
| Assignee | ||
Comment 6•1 year ago
|
||
Thanks for the log.
It shows that the h2 connection was reset by the server with HTTP_1_1_REQUIRED error.
2025-01-23 02:56:18.025000 UTC - [Parent 28304: Socket Thread]: I/nsHttp Http2Session::RecvRstStream 21650110700 RST_STREAM Reason Code 13 ID 65
However, this happens after Firefox receives the HTTP response. In this case, we won't retry this request since this request is already done and this is not a safe method to retry.
I think we should not propagate the error code to upper layer, since the request is done. We could just ignore this error.
| Assignee | ||
Comment 7•1 year ago
|
||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
| bugherder | ||
| Reporter | ||
Comment 10•1 year ago
|
||
Thank you!
Description
•