Generating a HAR file for troubleshooting

Perimeter Zero

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.

Note: Keep in mind that HAR files contain sensitive data, including the content of the pages you downloaded while recording and your cookies. This allows anyone with the HAR file to impersonate your account and all the information that you submitted while recording (personal details, passwords, credit card numbers, etc.).

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

 To generate the HAR file for 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.

HAR-menu_options.png

3. From the opened panel, select the Network tab.

HAR-Network_tab1.png

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 Perimeter 81 Support team can analyze it.

To generate the HAR file for 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.

show_developer_tab_dialog.png

1. Open the Develop menu and select Show Web Inspector.

HAR-Safari_develop_menu_option.png

2. Select the Network tab and complete the activity that is causing issues.

HAR-web_inspector.png

3. Right-click in the Web Inspector and select Copy All as HAR and save the web archive file. 

HAR-copy_all.png

4. Send the file to the Perimeter 81 Support team.

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.