Can't access Google (intermittent)
Categories
(Core :: Networking, defect, P2)
Tracking
()
People
(Reporter: john.foreign, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged][necko-priority-review])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Steps to reproduce:
a) entered a query in the search box
b) went to translate.google.com
Actual results:
Occasionally Firefox shows an hourglass in the tab as if it's trying to connect, and after a while it just gives up, leaving me on the same page as before. If I go to Chrome or Edge or Opera while it's trying, I connect instantly. It only seems to affect Google-related pages, and it only happens once every couple of days. I can't detect any pattern to it. Is there any other information I could collect to help diagnose this?
Expected results:
a) search results displayed
b) Google Translate page displayed
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Thanks for the report John,
You might try to use http logging to get some more information out of the logs. You can submit them to necko@mozilla.com and we will have a look.
You might also try using the profiler in "networking" mode and attach the output, but catching the bug might be tricky.
Please let us know what you find.
I will try, but it is happening infrequently so I'll basically just have to turn on logging and leave it on for several days in the hope that it happens again... :(
I managed to capture an event using about:logging -- searching for "java sort text with numbers numerically" from the Google search bar.
The file is close to 700MB for only a few minutes of capture, and even compressed it is 38MB, so I can't attach it.
You can download it from here:
https://drive.google.com/file/d/1Y6Kf5_hSE47auls0bxCaOCxPzl-MjERz
Comment 5•3 years ago
|
||
Hi Reporter,
Thanks for the log. It indicates that the problem might be inside our http3 code, but the log doesn't have that information unfortunately.
Could you try to get the log again by setting MOZ_LOG to timestamp,rotate:200,nsHttp:5,neqo_http3::*:5,neqo_transport::*:5?
Thanks!
Gladly, but where and how do I set this?
You'll have to wait a while before I can manage to capture another example, too...
OK, I figured out how to do it, and set MOZ-LOG as requested.
Another event just happened, so I went to about:logging, but both the "Start logging" and "Stop logging" buttons were grayed out...
So I still have nothing to report!
Updated•3 years ago
|
Comment 8•3 years ago
|
||
(In reply to John from comment #7)
OK, I figured out how to do it, and set MOZ-LOG as requested.
Another event just happened, so I went to about:logging, but both the "Start logging" and "Stop logging" buttons were grayed out...
So I still have nothing to report!
I think you might want to keep the log always running (remember to add rotate:200) and stop it when the event happens. This is the only way to log what happens.
I'll set the ni flag to indicate that we are still waiting for more information. Thanks.
Here's another log file: https://drive.google.com/file/d/1YJGFGPHjVHkQysXQGwpscgT47f2PBV5L
Firefox 110 has suddenly made it much easier to manage logging!
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Leaving in priority review for Kershaw to review logs.
Comment 11•3 years ago
|
||
Hi Reporter,
My apologies that I didn't have a chance to look at the log. The provided link in comment #9 doesn't work anymore.
If you can reproduce this, may I ask you to capture a log again?
Thanks.
| Reporter | ||
Comment 12•3 years ago
|
||
Will do. I have again enabled logging as requested earlier, and will upload another log the next time I see it happen.
| Reporter | ||
Comment 13•3 years ago
|
||
That didn"t take me long... :)
It's here: https://drive.google.com/file/d/1TacHtiY9A-XTVedSuHE_zxrUhY-AngwP
| Reporter | ||
Comment 14•3 years ago
|
||
NB: Please let me know when you've looked at it so I can delete it.
Comment 15•3 years ago
|
||
I've downloaded to our team's temporary log storage. Someone will review it soon.
Comment 16•3 years ago
|
||
Thanks for the report. It shows that the udp socket just receives nothing after some point. This means we might have some issues in our udp socket code, but the log doesn't contain that information.
I think the first step here would be adding some logs in nsUdpSocket to see why we don't receive any packets.
Comment 17•3 years ago
|
||
Hi John,
Could you capture another log and also a wireshark dump while you're reproducing the issue?
https://firefox-source-docs.mozilla.org/networking/submitting_networking_bugs.html#wireshark-dump
Thanks!
| Reporter | ||
Comment 18•3 years ago
|
||
Here is a zip file contain a log and a pcap file resulting from an attempt to use Google Translate:
https://drive.google.com/file/d/1Tdr78K3bbf0NEEdYWz6MY7ANtDEo1Kdc
HTH
Updated•2 years ago
|
| Reporter | ||
Comment 19•2 years ago
|
||
Does this mean you need something more than a log and wireshark dump (which I provided 6 months ago, see above)?
If so, what?
Comment 20•2 years ago
|
||
(In reply to John from comment #19)
Does this mean you need something more than a log and wireshark dump (which I provided 6 months ago, see above)?
If so, what?
No, I think that's enough. However, I still can't figure out the root cause from the log. The log just shows that the server stops responding.
May I ask you to try one more thing: when this issue happens, does it work if you do a shift reload (Ctrl + Shift + R)?
Thanks.
| Reporter | ||
Comment 21•2 years ago
|
||
I'll try, but it may take time -- the bug is intermittent.
| Reporter | ||
Comment 22•2 years ago
|
||
Just got a failure clicking on a link to a search result from Google, which eventually stayed on the Google results page, and then I remembered to try shift reload. But of course it just reloaded the Google page, and the search link then worked. I need to remember to do a shift-reload during the failing request, not after... :(
Comment 23•2 years ago
|
||
The eventually staying on the Google results page is likely a channel failure (timeout?) that unfortunately currently doesn't generate an error page: Bug 1842429. When improving error reporting, debugging cases like this would become easier.
| Reporter | ||
Comment 24•2 years ago
|
||
I just tried to open 4 new tabs from a Google results page, and they all got stuck -- and then ctrl-shift-R successfully loaded each of them.
| Reporter | ||
Comment 25•2 years ago
|
||
And just to contradict this: I tried to follow a link from a Google results page, got stuck, pressed ctrl-shift-R, and ended up still looking at the Google results page.
Updated•2 years ago
|
Comment 26•2 years ago
|
||
It's possible this was fixed by bug 1876045.
John, could you check f it still happens for you?
| Reporter | ||
Comment 27•2 years ago
|
||
Since it's intermittent, it's hard to check, but I'll report if it happens again.
Updated•2 years ago
|
| Reporter | ||
Comment 28•2 years ago
|
||
Seems OK now.
Updated•2 years ago
|
| Reporter | ||
Comment 30•2 years ago
|
||
Sorry, I spoke too soon.
Just now using FF 125.0.1, a Google query stalled. After waiting about 20 seconds, pressing Ctrl-Shift-R loaded the requested page immediately.
| Reporter | ||
Comment 31•2 years ago
|
||
As of the last week or so, this has started happening again quite frequently. I am now on FF version 129.0.1.
Comment 32•2 years ago
|
||
Thank you, John.
Things might have changed since the last time you submitted logs.
Could you go to about:logging?output=profiler&preset=networking, click on the Enable stack traces for log messages checkbox, and click start logging?
Thanks!
Comment 33•1 year ago
|
||
Hello John,
Did you get any chance to collect the logs?
Thanks
| Reporter | ||
Comment 34•1 year ago
|
||
Ah, sorry, I just got this by email -- I must have missed the previous message. I'll get onto it.
| Reporter | ||
Comment 35•1 year ago
|
||
I have had logging on since I last wrote, but the problem has not recurred. I am now on v132.0.1, so I presume whatever it was has been fixed between v129 and 132.
Comment 36•1 year ago
|
||
Thank you, John! Please let us know if it starts reoccurring.
Description
•