How to make a HAR file for troubleshooting
Diagnosing problems that happen to players in web-based games like StreamLegends can sometimes be very difficult for developers, since we don't see everything that happens with your network when things go wrong.
But you can help with that!
If one of our team members requested that you send us a HAR file (or if you're just the proactive type who saw this article and thought to do it before we asked), this article will explain how to do so. HAR files help our team uncover important information about the network requests that are generated in your browser when problems occur. They're very handy for us when we're solving whatever problems you bring to us!
Below is a set-by-step list of instructions for some major browser that show you how to generate a HAR file that you can then send to our support team.
You can record your HTTP session using the Network tab in the Developer Tools in Chrome.
- Open the Developer Tools from the menu (Menu > Tools > developer tools), or by pressing Ctrl+Shift+C on your keyboard
- Click on the Network tab
- Look for a round button at the top left of the Network tab. Make sure it is red. If it is grey, click it once to start recording.
- Check the box next to Preserve log.
- You can use the clear button (a circle with a diagonal line through it) right before trying to reproduce the issue to remove unnecessary header information
- Save the capture by right-clicking on the grid and choosing "Save as HAR with Content"
Starting with Firefox 41, HAR files can be created without any additional extension.
- Start Firefox Developer Tools in Network mode (Top right menu > Developer > Network, or ctrl-shift-Q)
- Reproduce the issue
- Save the capture by right-clicking on the grid and choosing "Save all as HAR"
- Export the capture to a HAR file
Edge natively produces HAR files. See detailed instructions in the Microsoft site
- Open the Network tool in F12 developer tools
- Reproduce the issue
- Export captured traffic as a HAR (CTRL + S)
For Internet Explorer, you will need to use: HttpWatch.
- Download and Install HttpWatch
- Start the HttpWatch capture right before reproducing the behavior you want to study
- Stop the HttpWatch capture right after reproducing the behavior to study
- Export the capture to HAR format