When you work with Box Product Support, we may ask you to collect a network capture. This records the HTTP data traffic of the affected application. There are several types of network captures available. Some are built into the browser and can debug web-based apps, and some are third-party debuggers that can capture traffic on any platform including web, desktop, and mobile.
Box Product Support uses this information to isolate any issues or unexpected behavior. We may ask you to collect a HAR capture, a Fiddler capture, or a Charles capture.
In general, the process goes:
- Start the capture
- Reproduce the behavior
- End and save the capture
- Send the file to Box Product Support for review
HAR
A HAR capture (HTTP Archives) records the requests and responses that your browser makes with the Box Web Application.
Chrome/Edge
- In Chrome or Edge, go to the page within Box where you are experiencing trouble.
- At the top-right of your browser window, click the menu (⋮).
- Select More Tools > Developer Tools. The Developer Tools window opens as a docked panel at the side or bottom of your browser.
- Click the Network tab.
- Select Preserve log and Disable cache.
- You will see a red circle "●" at the top-left of the Network tab. This means the capture has started. If the circle is black, click the black circle to Record network log in your browser.
- Refresh the page and reproduce the problem while the capture is running.
- After you successfully reproduce the issue, click the down-arrow icon to Export HAR.
- Click Save button.
- Select the Console tab.
- Right-click anywhere in the console and select Save as....
- Name the log file console.log.
- Click Save button.
- Send both files as shared links in a reply to your case.
Firefox
- In Firefox, go to the page within Box where you are experiencing trouble.
- Click the Firefox menu (Three horizontal parallel lines) at the top-right of your browser window.
- Select More Tools > Web Developer Tools .
- The Developer Tools window opens as a docked panel at the side or bottom of Firefox.
- Click the Network tab.
- Click the gear icon at the top right of the Network tab and enable Persist Logs.
- Refresh the page and reproduce the problem while the capture is running.
- After you successfully reproduce the issue, right-click any row of the activity pane and select Save All as HAR.
Alternatively, click the gear icon at the top-right of the Network tab and select Save All as HAR. - Click the Save button.
- Select the Console tab.
- Right-click any row and select Save all messages to file.
- Click the Save button.
- Send both files as shared links in a reply to your case.
Safari
- In Safari, first ensure your Develop menu is available by navigating to the menu bar and selecting Safari > Settings > Advanced: "Show features for web developers".
- Go to the page within Box where you are experiencing trouble.
- In the menu bar at the top, click Develop and select Show Web Inspector.
- Click the Console tab and select Preserve Log from the icon to the right of "Logs":
- Select the Network tab and then select Preserve Log from the "Other filter options..." icon:
- Refresh the page and reproduce the problem while the capture is running.
- After you successfully reproduce the issue, right-click any row of the activity pane and select "Export HAR" or select "Export" from the top-right corner of the network panel.
- Click Save button.
- Note: If you are reporting an issue with downloading then please try reproducing in Chrome or Firefox which captures the download traffic in the HAR file. Safari does not.
- Click the Console tab.
-
Right-click any row and select Select all.
- If the select all option is not available, then please click-drag over the console rows to select them.
- Next press Command-C or right-click and pick "Copy Selected" or "Save Selected" to copy the rows.
- Paste the content in a text file and name it console.txt and save it.
- Send both files as shared links in a reply to your case.
Edge (Legacy)
- In Edge, go to the page within Box where you are experiencing trouble.
- At the top-right of your browser window, click the Edge menu (⋮).
- Select Developer Tools.
- Click the Network tab.
- Clear the Clear entries on navigate option, which is selected by default. The icon looks like blue arrow with a red X.
- The green play button (Start Profiling Session) should be selected by default. This means the capture function is running.
- Refresh the page and reproduce the problem while the capture is running.
- Once you have reproduced the issue, click the Export as HAR icon. The icon looks like a floppy disk.
- Click Save button.
- Click the Console tab.
- Right-click any row and select Copy all.
- Paste the content in a text file and name it console-log.txt.
- Click Save button.
- Send both files as shared links in a reply to your case.
Fiddler
Windows
- Download and install Fiddler from https://www.telerik.com/download/fiddler
- Start Fiddler4 when the installation is completed. You do not need to keep it running normally. Go to Start and search for "Fiddler4".
- Inside Fiddler, go to Tools > Options > HTTPS (tab).
- On the HTTPS tab, check the Capture HTTPS CONNECTs check box.
- Check the box for Decrypt HTTPS traffic and verify the drop-down option says "...from all processes".
- While in the same HTTPS tab, click on the Actions button, then Reset All Certificates.
- Click OK and accept all the prompts about deleting and trusting Fiddler's root certificate.
- Once the certificates have been trusted, click OK to close the Options.
- Back in the main Fiddler window, click the X icon at the top and then select Remove all to clear sessions
- Reproduce the issue while the capture is running.
- After reproducing the issue, go back to Fiddler and go to File > Save > All Sessions. Save the file as .saz to your desktop.
- Send the .saz file as a shared link in a reply to your case.
Mac
- Download and install Fiddler Everywhere from https://www.telerik.com/download/fiddler-everywhere
- Start Fiddler Everywhere when the install is complete.
- Follow the steps shown here to "Create Your Fiddler Account": https://docs.telerik.com/fiddler-everywhere/installation-and-setup/quickstart-macos#step-1-install-fiddler-everywhere-on-your-machine
- Select the Browser button to launch an independent browser capturing mode:
- Reproduce the issue in the browser popup while the capture is running.
- After reproducing the issue, select "Save" option from the "More Actions" dropdown menu on the far right of the Live Traffic grid toolbar:
- Close the browser popup and Fiddler Everywhere.
- Send the .saz file as a shared link in a reply to your case.
Charles Proxy
Windows
- Download and install Charles from: https://www.charlesproxy.com/download/
- Open Charles by running the application from your Start menu.
- If the Windows Firewall asks you to add an exception rule, click on "Allow access".
- Go to Proxy and click Windows Proxy if it's not already checked.
- Go to Proxy > SSL Proxying Settings and make sure "Enable SSL Proxying" is checked. (More information at: https://www.charlesproxy.com/documentation/proxying/ssl-proxying/ )
- Click the "Add" button for each domain listed below and click "OK" after adding all four.
*.box.com
*.box.net
*.boxcdn.net
*.boxcloud.com
- Go to Help > SSL Proxying > Install Charles Root Certificate. A window will appear warning you that the CA Root certificate is not trusted. Click the "Install Certificate" button to launch the Certificate Import Wizard. The certificate must be imported into the "Trusted Root Certification Authorities" certificate store, so override the automatic certificate store selection. Complete the wizard and your Charles Root Certificate is now installed.
- You should see a red circle "●" at the top. This means the capture has started. If the circle is black, click the black circle to start recording activity in your browser.
- Reproduce the issue while the capture is running.
- After reproducing the issue, go back to Charles, click the red circle "●" to stop recording, and then click File > Save Session As... and save the .chls file to your desktop.
- Send the .chls file as a shared link in a reply to your case.
Mac
- Download and install Charles from: https://www.charlesproxy.com/download/
- Unzip the download file by double-clicking it, and then copy the Charles application into your Applications folder.
- Open Charles by running the application from your Applications folder.
- You’ll be asked a question about your macOS Proxy Settings. To auto-configure your proxy settings, you need to grant permission to Charles by entering your password.
- Go to Proxy and click macOS Proxy if it's not already checked.
- Go to Proxy > SSL Proxying Settings and make sure "Enable SSL Proxying" is checked. (More information at: https://www.charlesproxy.com/documentation/proxying/ssl-proxying/ )
Click the "Add" button for each domain listed below and click "OK" after adding all four.
*.box.com
*.box.net
*.boxcdn.net
*.boxcloud.com
- Go to Help > SSL Proxying > Install Charles Root Certificate. Mac Keychain Access will open, and prompt you about the certificate. Click the "Always Trust" button. You will then be prompted for your Administrator password to update the system trust settings. You may need to quit and reopen your browser to see the change.
- You should see a red circle at the top. This means the capture has started. If the circle is black, click the black circle to start recording activity in your browser.
- Reproduce the issue while the capture is running.
- After reproducing the issue, go back to Charles, click the red circle to stop recording, and then click File > Save Session As... and save the .chls file to your desktop.
- Send the .chls file as a shared link in a reply to your case.