Closed Bug 1920697 Opened 1 year ago Closed 1 year ago

Firefox aborts requests running for more than 30s with status code (null)

Categories

(Core :: Networking, defect)

Firefox 130
defect

Tracking

()

RESOLVED DUPLICATE of bug 1914309

People

(Reporter: simon.brami, Unassigned)

Details

Steps to reproduce:

I ran a POST request to an HTTPS server, the request is expected to take more than 30 seconds

User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0

Actual results:

The request is aborted with the console message:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://..... (Reason: CORS request did not succeed). Status code: (null)

The server CORS configuration is correct, and the preflight request passed. It is working fine on Chrome and Safari.

Expected results:

The request should have completed correctly without cancelling after 30s.

I just tried with Firefox 126.0 and it works, so there's definitely a bug that has been introduced in more recent versions.
The user agent working:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0

Would you be able to try use mozregression to identify the change that cause this problem?
https://mozilla.github.io/mozregression/quickstart.html

Component: Untriaged → Networking
Product: Firefox → Core

Please see comment #2. Thanks.

Flags: needinfo?(simon.brami)

Hey, found this revision using mozregression : https://phabricator.services.mozilla.com/D212540

Flags: needinfo?(simon.brami)

(In reply to Simon Brami from comment #4)

Hey, found this revision using mozregression : https://phabricator.services.mozilla.com/D212540

Could you please capture an HTTP log? Note that in about:logging, please set Logging preset to HTTP/3 and select logging to file, and send the file to necko@mozilla.com.
Thanks.

Flags: needinfo?(simon.brami)

Done !

Flags: needinfo?(simon.brami)

Kershaw, could you have a look at the logs? Thanks!

Flags: needinfo?(kershaw)

Assuming that the bug does indeed happen only with HTTP/3, I do see we made some changes to the keep_alive code in neqo in https://phabricator.services.mozilla.com/D212097

This is the same as bug 1914309.
Unfortunately, this is regressed by bug 1899706.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1914309
Flags: needinfo?(kershaw)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.