How to collect HAR file from various browsers
Applies to
- HAR (HTTP Archive) files
- Cloud Manager GUI
- System Manager
Description
Procedure to collect HAR files from various browsers to help troubleshooting Cloud Manager from GUI.
HAR is the short form for HTTP ARchive format, which tracks all the logging of web browser's interaction with a site.
HAR files can help expedite troubleshooting issues specifically for problems listed below:
- Performance Issue: slow page load, timeout when performing certain task
- Page rendering : incorrect page format, missing information
-
It is highly recommended to generate multiple HAR files for comparison. Below are guidelines for effective information gathering:
- Generate a HAR file for an unaffected page (without performance issue or page rendering issues).
- Generate a HAR file for an affected page. Generate multiple times to get the better average and capture the consistent timing
This procedure may also be followed to help troubleshoot System Manager.
Procedure
Google Chrome
- Close all incognito windows in Google Chrome
- Open a new incognito window in Google Chrome or click CTRL + Shift + N
- Go to
View
>More Tools
>Developers Tools
or click CTRL+ Shift + I - In the
Developer Tools
pane, choose theNetwork
tab. - Check Disable Cache option to prevent caching of resources for this specific page.
- Check the
Preserve Log
checkbox to record all interactions. - Recreate the issue by typing the URL on the open incognito window
- Observe logs on
Developer Tools
Pane >Network
tab and notice failure - On the
Network
tab, Click on down arrow with labelExport HAR file
- Save the HAR file
Firefox
- Close all private windows in Firefox
- Open a new private window in Firefox or click CTRL + Shift + P
- Go to
Hamburger menu in top right corner > More Tools
>Web Developer Tools
or Click CTRL + Shift + I - Select Network option in Web Developer Tools
- Recreate the issue by typing the URL on the open private window
- Observe the logs on the open
Network
tab and notice failure - On the
Network
tab, Right Click on any of the logs and select Save All as HAR - Save the HAR file
- Before sending the HAR file to NetApp support team, ensure to remove/censor any sensitive information using a text editor (i.e. remove passwords, secrets, etc).
Internet Explorer/Edge
- Close all private windows in Internet Explorer/Edge.
- Open a new private window in Internet Explorer or Click CTRL + Shift + N
- Go to
Tools
>F12 Developer Tools
>Network
- Ensure
Clear entries on navigate
is switched off - Recreate the issue by typing the URL on the open private window
- Observe the logs on the open
Network
tab and notice failure - On the
Network
tab andSelect Export as HAR
or .Click CTRL + S - Save the HAR file
- Before sending the HAR file to NetApp support team, ensure to remove/censor any sensitive information using a text editor (i.e. remove passwords, secrets, etc).
Safari
- Choose Safari >
Preferences
, click Advanced, then selectShow Develop menu in menu bar
- Choose
File
>Open New Private Window
- Choose
Develop
>Show Web Inspector
>Network
tab - Recreate the issue by typing the URL on the open private window
- Observe the logs on the open
Network
tab and notice failure - On the
Network
tab, click Export on the upper right side of the pane - Save the HAR file
- Before sending the HAR file to NetApp support team, ensure to remove/censor any sensitive information using a text editor (i.e. remove passwords, secrets, etc).
NOTE: Cloud Manager is best supported on Chrome though it may work on other browsers.
Chrome
Look in the Chrome Console for any JavaScript errors.
- Open up Chrome and enable the Developer Tools.
- Select the console tab - Chrome Console.
- Click the Toolbox Options button.
- Enable preserve log
- Leave the console open and reproduce the steps for the issue under investigation.
- Right click and select "Save As" option to save the logs to file.
- Before sending the HAR file to NetApp support team, ensure to remove/censor any sensitive information using a text editor (i.e. remove passwords, secrets, etc).