How do I create a .har file to supply diagnostic information to OCLC Support?
Applies to
- OCLC Services
Answer
To diagnose network problems, we need a network capture (a .har file) taken while the page is failing. The order of the steps matters: the browser only records while the developer tools are open, so a capture taken after the page hangs comes back empty. Do these steps from the network connection where the problem happens.
It's also helpful if you can get a second .har file of the same steps from a network where it works. Comparing a working run against a failing one is the fastest route.
Also let us know whether you're going through EZproxy, a VPN, or a campus proxy when off campus.
Note: All data exchanged between your browser and the server will be included in the .har file. This will include any Personally Identifiable Information (PII) that you create, retrieve, update or use for some application features (such as circulation). It is important, therefore, that if the generated file includes this data, it is supplied to OCLC Support in a suitably protected manner and that OCLC Support are made aware that it contains PII. If the saved .har file contains PII data, please contact OCLC Support for the best way to supply the file.
Chrome or Edge:
- Open a new tab and leave it blank. Don't go to WorldShare yet.
- Press F12 (⌥⌘I on a Mac) to open developer tools, and click the Network tab.
- Check the Preserve log box. This is essential. Signing in moves through several different web addresses, and without this option checked, the recording is erased at each step.
- Ensure the round record button at the top left is red. If it's grey, click it once.
- Leaving the tools open, now go to WorldShare in that same tab and sign in as normal.
- Wait for the failure. Let it sit until the problem appears. Don't stop early, as the delay duration is the measurement we need. Click OK if an error message appears, but leave the tab and the tools open.
- In the Network panel click the export arrow at the top (tooltip "Export HAR") and save the file.
- Check the file size before sending. It should be at least a few hundred KB. If it's only a few KB, the recording didn't take: close the tab and start again from step 1.
- Attach it to your support email with the exact date, time, and your time zone.
Firefox:
- Open a new tab and leave it blank. Don't go to WorldShare yet.
- Press F12 (⌥⌘I on a Mac) to open developer tools, and click the Network tab.
- Click the gear icon and check the Persist Logs box.
- Leaving the tools open, now go to WorldShare in that same tab and sign in as normal.
- Wait for the failure. Let it sit until the problem appears. Don't stop early, as the delay duration is the measurement we need. Click OK if an error message appears, but leave the tab and the tools open.
- HAR → Save All As HAR.
- Check the file size before sending. It should be at least a few hundred KB. If it's only a few KB, the recording didn't take: close the tab and start again from step 1.
- Attach it to your support email with the exact date, time, and your time zone.
Additional information
Always include the support ticket number when sending the .har file by email.
