Closed Bug 1845574 Opened 2 years ago Closed 2 years ago

Gmail irrevocably loses communication after 5-12 hours online from version 98 of Firefox

Categories

(Core :: DOM: Service Workers, defect, P3)

Firefox 98
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kershaw, Unassigned)

References

(Blocks 1 open bug)

Details

+++ This bug was initially created as a clone of Bug #1760580 +++

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

I entered to Gmail and I leave the computer on to keep track of new emails for long time (from several days to several weeks).
(FYI: OS: Windows Server 2008 SP1, Firefox with over a thousand tabs.)

Actual results:

After 5-12 hours with a probability of 70-80% Gmail issues a message that it cannot connect to the server, although the Internet works fine. Gmail works again only if I restart the browser. The bug appeared after the update on Firefox 98.
(FYI: I ran into this mistake 5-6 times during the week. As a result, I had to restore the disk from the backup with Firefox 97.0.2 in which there is no this bug.)

Expected results:

Gmail before FF 98 did not losing connection if everything was ok with the Internet.
Previously, Gmail automatically restored the connection if the Internet was restored after problems.

According to the http log in Bug #1760580 #c32, this seems to be related to service worker.

This is what I saw from the log:

  1. A request 27e90900 to https://mail.google.com/sync/u/0/i/s?hl=ru&c=502&rt=r&pt=ji was created.
2023-01-26 07:28:20.847 ⁃ nsHttpChannel ⁃ 27e90900 ⁃ released ⁃ status=n/a ⁃ http-status=n/a ⁃ url=https://mail.google.com/sync/u/0/i/s?hl=ru&c=502&rt=r&pt=ji
2023-01-26 07:28:20.847000 UTC - [Parent 4512: Main Thread]: D/nsHttp Creating HttpBaseChannel @27e90900
2023-01-26 07:28:20.847000 UTC - [Parent 4512: Main Thread]: D/nsHttp Creating nsHttpChannel [this=27e90900]
2023-01-26 07:28:20.847000 UTC - [Parent 4512: Main Thread]: E/nsHttp HttpBaseChannel::Init [this=27e90900]
2023-01-26 07:28:20.847000 UTC - [Parent 4512: Main Thread]: E/nsHttp uri=https://mail.google.com/sync/u/0/i/s?hl=ru&c=502&rt=r&pt=ji
  1. The request was redirected to an intercepted http channel 26dafc00.
2023-01-26 07:28:20.863000 UTC - [Parent 4512: Main Thread]: D/nsHttp nsHttpChannel::Connect [this=27e90900]
2023-01-26 07:28:20.863 ⁃ HttpBaseChannel ⁃ 26dafc00 ⁃ created
2023-01-26 07:28:20.863000 UTC - [Parent 4512: Main Thread]: D/nsHttp Creating HttpBaseChannel @26dafc00
2023-01-26 07:28:20.863000 UTC - [Parent 4512: Main Thread]: E/nsHttp HttpBaseChannel::Init [this=26dafc00]
2023-01-26 07:28:20.863000 UTC - [Parent 4512: Main Thread]: D/nsHttp nsHttpChannel::SetupReplacementChannel [this=27e90900 newChannel=26dafc40 preserveMethod=1]
  1. The intercepted http channel 26dafc00 seems to be cancelled by a content script.
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpChannelParent::RecvCancel [this=203f4c40, reason=XMLHttpRequestMainThread::CloseRequest]
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpChannelParent::RecvCancel: [this=1ba9cc00] cancelled call in child process from script: https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.ru.-3osmxEyEqI.es5.O/am=BqjcG_xfwiMAACJCIvfbgT8TDpaAEw5ggE4CEE4AZDZSrer9CSXp-4gEAEAAOt-KYRyAIGjNA6BjeUKYMwBgAgAAAAAAAAAAAAAAAAAAAC5wfhA/d=1/exm=Cmvl0d,DL8jZe,E1P0kd,HXLjIb,J41knb,M25vPb,N35dyc,OIxRw,anc,dLIOJe,ebdd,f,gYOl6d,hkjXJ,i20jfd,it,l,lKrWxc,lLYctc,m_i,ml,n73qwf,oRmHt,pA5mjb,pE92lb,puPi7e,spit,sps,t,uuoH9c,v2eEBc,xaQcye/ed=1/im=1/br=1/rs=AHGWq9CHxnDjwaXBV3Wgwg6N93t1OjxHRg/ee=cEt90b:ws9Tlc;U9MqLc:O9Wdw;lw1rzf:mDFAuf;a0qnvf:O18Eyf;iFQyKf:vfuNJf;nAFL3:NTMZac;oGtAuc:sOXFj;yxTchf:KUM7Z;qddgKe:xQtZb;wR5FRb:siKnQd;dIoSBb:SpsfSb;eBAeSb:zbML3c;JsbNhc:Xd8iUd;EmZ2Bf:zr1jrb;NPKaK:PVlQOd;LBgRLc:XVMNvd;Y6au2e:H6lfpe;AoStPd:kKbhQb;wBjAMd:ONcH1e;XBqggf:fjv93c;zxjSOb:VJrhKe;BNeSrd:PLFcdb;dgd4o:hSD59;m5fIF:nbXCtd;vSg7wf:qVdf8c;yR6u0d:oOUfr;JFpGO:k00cOd;O9G84b:VjR9rd/m=rn4kU,yWJZbc,PaBahd,MMhUM,zm225,o2ajQe,kRtote,Av2a7c,H6lfpe,kbPIy,orrXfe,igbF5,Trl7bc,cv,dFpypf,MigGy,jVZ0pe,hSD59,qDtJCf,rMQdJc,Sz7W7c,Nsx1n,CTcde,NVcOs,PZhDZb,Aihl6c,J03Die:95:362
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpAsyncAborter::AsyncAbort [this=26dafc00 status=804b0002]
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpBaseChannel::DoNotifyListener this=26dafc00
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp ParentChannelListener::OnStartRequest [this=2c1b6b80]
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpChannelParent::OnStartRequest [this=203f4c40, aRequest=26dafc40]
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpBaseChannel::SetApplyConversion [this=26dafc00 value=0]
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpBackgroundChannelParent::OnStartRequest [this=2bfa5550]
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp ParentChannelListener::OnStopRequest: [this=2c1b6b80 status=2152398850]
2023-01-26 07:29:20.861000 UTC - [Parent 4512: Main Thread]: D/nsHttp HttpChannelParent::OnStopRequest: [this=203f4c40 aRequest=26dafc40 status=804b0002]
Severity: -- → S3
Flags: needinfo?(bugmail)
Priority: -- → P3

I have not seen this bug for the last 3-5 months for sure. Perhaps the cause of the bug was eliminated. Therefore, I think the bug can be closed.

Hi :kershaw, do you see this still? 98 is a pretty old version, btw.

(In reply to 4pub from comment #2)

I have not seen this bug for the last 3-5 months for sure. Perhaps the cause of the bug was eliminated. Therefore, I think the bug can be closed.

I now realized you filed the originating bug, thanks for reporting back.

Flags: needinfo?(kershaw)
Flags: needinfo?(kershaw)
Flags: needinfo?(bugmail)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.