Skip to content

Commit 636115a

Browse files
Merge pull request #280700 from Akhilesh-microsoft/AWP/howto_troubleshoot_network_trace
[Web PubSub: howto-troubleshoot-network-trace]: Verified the article for links and freshness, reviewed the content, verified all the editorial parameters. Article seems good. Updated ms.date
2 parents c25b977 + 577c33c commit 636115a

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

articles/azure-web-pubsub/howto-troubleshoot-network-trace.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: yajin1
66
ms.service: azure-web-pubsub
77
ms.custom: linux-related-content
88
ms.topic: how-to
9-
ms.date: 11/08/2021
9+
ms.date: 07/12/2024
1010
---
1111

1212
# How to collect a network trace
@@ -22,13 +22,13 @@ Fiddler is a powerful tool for collecting HTTP traces. Install it from [telerik.
2222

2323
If you connect using HTTPS, there are some extra steps to ensure Fiddler can decrypt the HTTPS traffic. For more information, see the [Fiddler documentation](https://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/DecryptHTTPS).
2424

25-
Once you've collected the trace, you can export the trace by choosing **File** > **Save** > **All Sessions** from the menu bar.
25+
Once you collect the trace, you can export the trace by choosing **File** > **Save** > **All Sessions** from the menu bar.
2626

2727
## Collect a network trace with tcpdump (macOS and Linux only)
2828

2929
This method works for all apps.
3030

31-
You can collect raw TCP traces using tcpdump by running the following command from a command shell. You may need to be `root` or prefix the command with `sudo` if you get a permissions error:
31+
You can collect raw TCP (Transmission Control Protocol) traces using tcpdump by running the following command from a command shell. You need to be `root` or prefix the command with `sudo` if you get a permissions error:
3232

3333
```console
3434
tcpdump -i [interface] -w trace.pcap
@@ -45,23 +45,27 @@ man tcpdump
4545
Most browser Developer Tools have a "Network" tab that allows you to capture network activity between the browser and the server.
4646

4747
> [!NOTE]
48-
> If the issues you are investigating require multiple requests to reproduce, select the **Preserve Log** option with Microsoft Edge, Google Chrome, and Safari. For Mozilla Firefox select the **Persist Logs** option.
48+
> If the issues you are investigating require multiple requests to reproduce, select the **Preserve Log** option with Microsoft Edge, Google Chrome, and Safari. For Mozilla Firefox, select the **Persist Logs** option.
4949
5050
### Microsoft Edge (Chromium)
5151

52-
1. Open the [DevTools](/microsoft-edge/devtools-guide-chromium/)
53-
* Select `F12`
52+
To capture a detailed network trace using your browser's DevTools, follow these steps:
53+
54+
1. Open the [DevTools](/microsoft-edge/devtools-guide-chromium/):
55+
* Select `F12`
5456
* Select `Ctrl`+`Shift`+`I` \(Windows/Linux\) or `Command`+`Option`+`I` \(macOS\)
55-
* Select `Settings and more` and then `More Tools > Developer Tools`
57+
* Select `Settings and more` and then `More Tools > Developer Tools`
5658
1. Select the `Network` Tab
5759
1. Refresh the page (if needed) and reproduce the problem
58-
1. Select the `Export HAR...` in the toolbar to export the trace as a "HAR" file
60+
1. Select the `Export HAR...` in the toolbar to export the trace as a "HAR (HTTP Archive)" file
5961

6062
:::image type="content" source="./media/howto-troubleshoot-network-trace/edge-export-network-trace.png" alt-text="Collect network trace with Microsoft Edge":::
6163

6264
### Google Chrome
6365

64-
1. Open the [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools)
66+
To capture a detailed network trace using your browser's DevTools, follow these steps:
67+
68+
1. Open the [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools):
6569
* Select `F12`
6670
* Select `Ctrl`+`Shift`+`I` \(Windows/Linux\) or `Command`+`Option`+`I` \(macOS\)
6771
* Select `Customize and control Google Chrome` and then `More Tools > Developer Tools`
@@ -73,7 +77,9 @@ Most browser Developer Tools have a "Network" tab that allows you to capture net
7377

7478
### Mozilla Firefox
7579

76-
1. Open the [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools)
80+
To capture a detailed network trace using your browser's DevTools, follow these steps:
81+
82+
1. Open the [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools):
7783
* Select `F12`
7884
* Select `Ctrl`+`Shift`+`I` \(Windows/Linux\) or `Command`+`Option`+`I` \(macOS\)
7985
* Select `Open menu` and then `Web Developer > Toggle Tools`
@@ -85,7 +91,9 @@ Most browser Developer Tools have a "Network" tab that allows you to capture net
8591

8692
### Safari
8793

88-
1. Open the [Web Development Tools](https://developer.apple.com/safari/tools/)
94+
To capture a detailed network trace using your browser's DevTools, follow these steps:
95+
96+
1. Open the [Web Development Tools](https://developer.apple.com/safari/tools/):
8997
* Select `Command`+`Option`+`I`
9098
* Select `Developer` menu and then select `Show Web Inspector`
9199
1. Select the `Network` Tab

0 commit comments

Comments
 (0)