Struggling with network issues in Label Studio? Generate a HAR (HTTP Archive) file to capture network requests and share it with support for a deeper analysis. Here’s how to create a HAR file in Chrome, Firefox, Edge, and Safari. Follow these steps for each browser:
- Open Developer Tools.
- Switch to the Network tab.
- Record activity.
- Reproduce the issue.
- Save the HAR file.
Browser-Specific Instructions
Google Chrome
- Open Developer Tools: Press
Ctrl + Shift + I(Windows/Linux) orCmd + Option + I(Mac). - Switch to the Network tab and ensure recording is active (red button).
- Enable the Preserve log option.
- Reproduce the issue by refreshing the page or performing necessary actions.
- Save the HAR file: Click Export HAR in the Network tab.
Mozilla Firefox
- Open Developer Tools: Press
Ctrl + Shift + E(Windows/Linux) orCmd + Option + E(Mac). - Go to the Network Monitor tab, ensuring recording is active (red dot).
- Enable the Persist Logs option.
- Reproduce the issue.
- Save the HAR file: Click the download icon.
Microsoft Edge
- Open Developer Tools: Press
Ctrl + Shift + I(Windows/Linux). - Go to the Network tab and confirm recording is active.
- Enable the Preserve log option.
- Reproduce the issue.
- Save the HAR file: Right-click on requests and select Save all as HAR with content.
Safari
- Enable Developer Tools: Go to Safari > Preferences > Advanced and check Show Develop menu in menu bar.
- Open Developer Tools: Select Develop > Show Web Inspector.
- Go to the Network tab and ensure recording is active.
- Reproduce the issue.
- Save the HAR file: Right-click network requests and select Export HAR.
Why HAR Files Matter
HAR files provide a detailed view of network requests, helping the support team diagnose and resolve issues faster. Ensure the recording captures all actions, and share the file with the support team for further assistance.