In some cases, Samsara Support may request that you collect and upload web session traffic. These logs can assist the Support team in troubleshooting browser issues not easily addressed performing standard troubleshooting operations. The web session traffic can help Samsara Support to diagnose any browser issues such as with authentication or performance.
The following workflow is an abridged version of the Chrome Network Features documentation.
The following are required to capture web session traffic:
-
A desktop or laptop computer
-
Chrome browser
Note
Other major browsers support web session traffic capture as well. Refer to the browser documentation for instructions.
To troubleshoot web session issues, you can capture two key log files from Chrome:
-
HAR file: A detailed record of browser interactions, used to diagnose performance and network issues. It includes request/response details, timing information, and resource sizes.
-
Console log: Captures JavaScript errors, warnings, and custom developer messages to identify code-related problems.
Together, these logs provide valuable insights for resolving website or app issues.
To capture these files:
-
Right-click anywhere in the browser window and select Inspect.
-
Enable capture settings:
-
Click the gear icon ( ) on the top if the inspection panel.
-
In the Network settings enable both Preserve log and Allow to generate HAR (with sensitive data).
Note
Sensitive information can include your Samsara login information. For more information on the data collected in the HAR, see the chrome documentation linked by the ? icon.
-
X out of the settings when finished.
-
-
Download the HAR file:
-
Click on the Network tab of the Chrome developer tools panel.
-
Click the reload icon ( ) next to the browser URL to reproduce the issue, which will start capturing HTTP traffic.
-
Click the download icon ( ).
-
Name the file and then click Save.
All content requests on the page will be saved in the HAR file.
-
(Optional) Review the HAR file in a text editor of your choice and edit out any sensitive information, such as passwords, that you do not want to share with Samsara.
-
-
Download the console log:
-
Click on the Console tab in the Chrome developer tools panel.
-
Right-click the console text area and select Save as....
-
Name the file and then click Save.
-
-
Provide the HAR file and console log to your support representative as requested.
Comments
0 comments
Article is closed for comments.