How to troubleshoot issues with HAR packages
Back-end systems generally have strong permission controls, and sometimes troubleshooting online issues is not so straightforward. Generally we first troubleshoot resource issues.
Example
Users reported that I have an external system that works fine on the internal network, but has problems when not connected to VPN. Screenshot as follows:
How to troubleshoot this issue?
General steps
Need to connect, need permissions, various things, then debug inside, after a series of operations, the time may have passed already.
How to do it with HAR packages?
Step 1: Tell the user to download the HAR package. How to download?
-
On the page with the issue, follow the GIF operation below.

-
The downloaded ***.har package is the file we want. Then pass this file to the developer for analysis. (For sensitive pages, please do not use this method, as this method may lead to sensitive information leakage)
Step 2: How can developers view Network through HAR packages?
Open about:blank, and upload through the location shown in the above figure.
What was the issue in the example?
From the information in the HAR package, it can be found that data from the internal domain go.alibaba-inc.com was accessed, and the version used was 0.4.0 (this is the daily version). Using the online version can avoid this issue.