To better understand your issue, our support team might need additional information about the network requests generated in your browser while the problem occurs. The support agent might ask you to create a HAR file from your web browser and send them the file to help them troubleshoot the issue. This article will detail what a HAR file is, and a step-by-step guide to generating it from your chosen browser.
Depending on which browser you are using, there are a few ways to generate a HAR file. Before we get to the how-to’s, here is an overview of what a HAR file is.
HAR is the short form for HTTP Archive format, which tracks all the logging of the web browser's interaction with a site. The HAR file keeps track of each resource loaded by the browser and timing information for each resource. HAR files can be a requirement for troubleshooting issues like performance issues (slow page load, a timeout when performing a certain task) and page rendering.
Note: A HAR file includes data such as the content of your cookies and the pages you downloaded while making the recording. Anyone with access to the HAR file can view the data submitted while recording, which may include personal data or other sensitive data. Make sure that you secure your HAR files accordingly. Cloudflare has released a HAR sanitizer that can be used to strip any sensitive information.
Here's how to generate the HAR file for Chrome:
Open Google Chrome and load the page with the problem.
Click on the Vertical ellipsis button on the top nav bar and select More Tools > Developer Tools > Network tab (you can also use the keyboard shortcut Ctrl + Shift + i or F12 on Windows and Linux, or Cmd + Opt + i on macOS).
Look for a round Record button in the upper left corner of the tab, and make sure it is red. If it is grey, click on it to start recording.
Enable Preserve log by checking the box.
Click the Clear button to clear out any existing logs from the Network tab.
Replicate the issue that you were experiencing before. Once replicated, right Click in the area where the network records are shown and select Save all as HAR with content and save the file to your computer.
Upload your HAR file to your ticket or attach it to your email to be sent to our support team.
THE END