Overview
Are you having some weird networking problems and want to report a bug to Google Chrome? The most helpful thing you can do to speed up the process is get a network log so that the Chromium team can have a better chance at diagnosing the problem.
In this tutorial, we will walk you through how to collect a Chrome Net-Internals log, and a WireShark Capture.
Pre-requisites:
- Google Chrome
- Wireshark (Download)
What is Wireshark?
Wireshark is a tool for collecting network traffic. This will allow the Chrome team to get a better idea of what might be causing the network issues.
Reduce Background Noise
Before attempting to make a network log, it is important to try to reduce the background noise. Normally our computers have a number of programs running in the background, many of which are connecting to external sources. To give yourself the best chance for success, turn off all unnecessary programs, for the duration of the log. After you finish, feel free to turn everything back on.
Collecting the Logs
To collect your network logs, perform the following steps:
- Close Google Chrome and all it’s windows
- Restart Google Chrome (if it isn’t already open)
- Open the Net-internals page in a new window or tab (make sure to leave this open)
using the following address:
about:net-internals
- Open Wireshark
- From the Capture menu, select Interfaces
- Find the Description describing your network interface (It will likely have the growing number next to it). Press the Start button to the right of this connection
- Return to Google Chrome
- Open a new tab or window and perform whatever operation you want to log (For example, go to gmail.com if you want to demonstrate a slow loading behaviour). Continue until you feel you have a sufficient sample (in the case that it never completes)
- Open the net-internals page you left open.
- Under Dump data press the Dump to file button
- This log will be downloaded to your downloads folder
- Go to Wireshark
- From the Capture menu, select Stop
- From the File menu, select Save As…
- Enter a descriptive File name (for example ‘gmail-capture’) and for convenience, save it to a location you will remember (such as “My Documents”)
You will now have both a Google Chrome net-internals log, and a wireshark log. Make sure to keep track of where you saved them, and when appropriate, attach them to the bug report.
If you have any questions about this tutorial, please let me know.
If you found this solution useful, and you’re interested in checking out other articles I write in the future, join my newsletter.