.HAR File
  • 30 Jan 2024
  • 1 Minute to read
  • Contributors

    .HAR File

      Article Summary

      This article describes how to generate HAR files. When troubleshooting complex issues related to web applications (Zero Trust), it is sometimes necessary for our customer service team to obtain additional information about the network requests that are generated in your browser when an issue occurs. A customer service team member may request that you record a HAR file, or a log of network requests, while that issue is occurring and then provide that to them for further analysis.

      • Generating the HAR file in Chrome
      • Generating the HAR file in Safari
      Keep in mind:

      HAR files contain sensitive data, including the content of the pages you downloaded while recording and your cookies. This may allow others to impersonate your account or review information that you've submitted while recording the session (personal details, passwords, credit card numbers, etc.).

      We highly recommend encrypting the file before sending the HAR file.

      Below are some instructions about how you can easily generate a HAR file using different browsers.

      Generating the HAR file in Chrome

      1. Open Google Chrome and go to the page where the issue is occurring.
      2. From the three-dotted menu (...) select More Tools>Developer Tools.
      3. From the opened panel, select the Network tab.
      4. Verify that Record in the upper left corner of the tab is red. If it is grey, select it once to start recording.
      5. Check the Preserve log box**.**
      6. Select Clear (next to Record ) to clear any existing logs from the Network tab.
      7. Reproduce the issue that you were experiencing before, while the network requests are being recorded.
      8. Once you have reproduced the issue, right-click anywhere on the grid of network requests, select Save as HAR with Content, and save the file to your computer.
      9. Upload your HAR file to your ticket or attach it to your email so that the Harmony SASE Support team can analyze it.

      Generating the HAR file in Safari

      Before generating the HAR file, make sure you can see the Develop menu in Safari. If it is not there, follow the instructions under Use the developer tools in the Develop menu in Safari on Mac. In Windows, go to Settings>Preferences. Then select the Advanced tab. Select the checkbox to show the Develop tab on the menu.

      1. Open the Develop menu and select Show Web Inspector.
      2. Select the Network tab and complete the activity that is causing issues.
      3. Right-click in the Web Inspector and select Copy All as HAR and save the web archive file.
      4. Send the file to the Harmony SASE Support team.

      Was this article helpful?