Closed Bug 1384957 Opened 7 years ago Closed 7 years ago

Gmail fails to reconnect; then no other tab can load gmail

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1390503

People

(Reporter: tcampbell, Assigned: dragana)

References

Details

(Whiteboard: [necko-next])

Attachments

(1 file)

I've been having a sporadic issue where Gmail loses connection and then no other content process is able to load gmail. This is occuring on Win10 64-bit nightly.

Typically this is when I sleep my laptop and wake it on a different network. The gmail tab reflows normally, but says it is trying to reconnect and never succeeds.

When this is happening, no other content process can access gmail (or even google.com). Other domains still load fine. When trying to load google.com, the stop/refresh button animation completes, but the URL is restored to previous page and no navigation happens.

I managed to catch in debugger once when it happened and tried to follow the AsyncOpen request between content and parent processes. At some point when I unfroze all processes, the browser was working again. Some timeout must have triggered as I was holding processes frozen.

I wonder if this is necko related?

Will add more details as bug happens again.
If possible, could you try to capture the HTTP log when you see this problem?

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

BTW, could you also provide the build id of your nightly?

Thanks.
Probably a bug 1380896?
BuildID  20170727100347

Thanks for the link for HTTP logging. Will capture next time. It's about once a week.

My problems didn't seem to go away with page refreshes, but will pay attention next time.
Please see bug 1380896 as well, this might be a duplicate.
Flags: needinfo?(tcampbell)
Here is a screenshot of after it fails to load in a new tabs with the devtools network manager active.

(The bogus time I've reported as bug 1384679)
I don't see the |Unable to run script because scripts are blocked internally.  (unknown)| message in my browser log.  This seems different from Bug 1380896, but it may be same underlying problem. Will watch for it.
Flags: needinfo?(tcampbell)
Attached file http_log.txt-main.7012 (obsolete) —
Here is the network log.

My STR seems to be:
- Open gmail on office wifi
- Sleep laptop
- Open laptop on home wifi

Refreshing does not resolve. Closing all gmail tabs doesn't resolve.

Tab was on inbox when I slept computer, and after waking I was able to open one email before stopped working.
After a while (a minute?), gmail starts loading again. Perhaps a connection was closed on it's own. Is it possible we aren't detecting dead connection when our IP changes and the remote end closes?
Depends on: 1385116
My issue is very likely a result of the TCP FastOpen experiments of Bug 1377004 and Bug 1363372.
Ted, thanks for the log.
Assignee: nobody → dd.mozilla
Status: NEW → ASSIGNED
Whiteboard: [necko-next]
(In reply to Ted Campbell [:tcampbell] from comment #7)
> Created attachment 8891061 [details]
> http_log.txt-main.7012

about:network late started logs are very likely useless here...
Fair enough. Hopefully Bug 1385116 solves this since it is easier to track. I can try next week to reproduce this in a contained way so that I can capture a full HTTP log. Currently I've been running in to it after full days of work on my main profile and I'd rather not build HTTP logs of that.
Group: core-security
Sorry, I screwed up and didn't see the logs included all my auth cookies. Hiding this bug and invalidating all my sessions now =\
(In reply to Ted Campbell [:tcampbell] from comment #13)
> Sorry, I screwed up and didn't see the logs included all my auth cookies.
> Hiding this bug and invalidating all my sessions now =\

you could only hide the attachment.
Group: core-security
(In reply to Honza Bambas (:mayhemer) from comment #14)
> you could only hide the attachment.

You and I can, but the reporter can't. Just did that.
I've experienced it these days with nightly on Linux.  The HTTP log captured by 2017-08-17 nightly was e-mailed to Dragana.
(In reply to Shian-Yow Wu [:swu] (56 Regression Engineering support) from comment #16)
> I've experienced it these days with nightly on Linux.  The HTTP log captured
> by 2017-08-17 nightly was e-mailed to Dragana.

It's the same issue that led me to filing bug 1389772.
See Also: → 1389772
swu's issue is the same as bug 1389772. We could confirm that from the log.
I got the log that was attached to this bug and I can confirm that this is the same issue as bug 1386719.

A work around for that issue landed in bug 1389079.

There was a small issue with patch in bug 1389079 that was fixed in bug 1390503.

I will mark this bug a dup of 1390503.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Also bug 1381256 is the same issue as this one and it is confirm that it has been fixed.
(In reply to Dragana Damjanovic [:dragana] from comment #19)
> I got the log that was attached to this bug and I can confirm that this is
> the same issue as bug 1386719.
> 
> A work around for that issue landed in bug 1389079.
> 
> There was a small issue with patch in bug 1389079 that was fixed in bug
> 1390503.
> 
> I will mark this bug a dup of 1390503.

This comment was talking about the original issue, the issue the reporter of this bug had. (not swu's issue). Sorry for a confusion.
Ah, nice work tracking down that they were in fact the same issue.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: