How to Gather a HAR File for Support

Problem

When troubleshooting an issue, Mattermost Support may ask you to upload a HAR file. A HAR file is a JSON-formatted archive file format for logging of a web browser's interaction with a site. A HAR file enables Mattermost Support to see the network requests being sent from your browser when a reported issue occurs.

Solution

The process for gathering a HAR file differs based on your browser.

Chrome

  1. In Google Chrome, go to the page where you're experiencing an issue.
  2. Look for the vertical ellipsis button, then select More Tools > Developer Tools.
  3. From the open panel, select the Network tab.
  4. Look for a round Record button in the upper left corner of the tab, and make sure it's red. If it's grey, select it once to start recording.
  5. Check the box Preserve log.
  6. Select the Clear button to clear out any existing logs tab.
  7. Reproduce the issue that you were experiencing before, while recording the network requests.
  8. Once you have reproduced the issue, select Export HAR, and save the HAR file somewhere convenient.

Firefox

  1. In Firefox, go to the page where you're experiencing an issue.
  2. Select the Firefox menu in the top-right of your browser window, then select Web Developer > Network.
  3. The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Select the Network tab.
  4. The recording begins when you start performing actions in the browser.
  5. Reproduce the issue. Once you see all of the actions generated in the Developer Network Panel, right-click anywhere under the File column, then select Save all as Har, and save the HAR file somewhere convenient.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.