Closed Bug 1381256 Opened 7 years ago Closed 7 years ago

Cannot load 0.0.0.0 with TCP fastopen

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1390503

People

(Reporter: Oriol, Assigned: dragana)

References

Details

(Whiteboard: [necko-active])

Attachments

(1 file)

Load http://0.0.0.0

Expected: "Unable to connect" error
Result: No new page is loaded, you still see the old one.

This started with bug 1377004 because it enabled network.tcp.tcp_fastopen_enable by default. Enabling it manually, the problem starts when TCP fastopen was introduced.

https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=7c902365910c2b0b4e0d47335a78e55bd4102eb3&tochange=352f22e37dc37d0a3f613a5498f90e9825f6ec60
Can you please make a http log:

https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging

That will help a lot. Thank you!
Flags: needinfo?(oriol-bugzilla)
Assignee: nobody → dd.mozilla
Status: NEW → ASSIGNED
Whiteboard: [necko-active]
Attached file HTTP log
The HTTP log.
Flags: needinfo?(oriol-bugzilla)
2017-07-16 18:11:17.767000 UTC - [Socket Thread]: D/nsSocketTransport ErrorAccordingToNSPR [in=-5994 out=80004005]
2017-07-16 18:11:17.767000 UTC - [Socket Thread]: D/nsSocketTransport   connection failed! [reason=80004005]


docshell doesn't know NS_ERROR_ABORT.
-5994 = PR_UNKNOWN_ERROR
I had a look into log. for some reason a connect to 0.0.0.0 with TFO is immediate closed with PR_UNKNOWN_ERROR.

The report wrote that this is not happening with TFO turned off.

Maybe I will black list 0.0.0.0 for TFO.

Actually it would be good to get a wireshark pcap, I am interesting to see hot tcp connection looks like.

Oriol, can you make a pcap with wireshark?
It's not only 0.0.0.0, it also happens e.g. with people-mozilla.org. So blacklisting won't fix this.

Wireshark does not seem to detect the connection to 0.0.0.0
This bug will be fixed once bug 1386719 lands in nspr.

Currently, I have landed a work around for this issue - bug 1389079.
TFO is currently turned on since 08/13 Nightly and it has the work around for this issue.

Let me know if you still see this issue.
Flags: needinfo?(oriol-bugzilla)
(In reply to Dragana Damjanovic [:dragana] from comment #8)
> Let me know if you still see this issue.

No, fixed by https://hg.mozilla.org/integration/mozilla-inbound/rev/180f8948a0a9
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(oriol-bugzilla)
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: