In this article, I’m going to share how to capture and download a network trace file (.HAR) for analyzing any errors displayed on IBM Cloud services. 

The network trace file is often requested by support engineers during their investigation, so if you attach it when you raise a case, it can help expedite the process.

Capturing the network trace file on Google Chrome

  1. Open Google Chrome and go to the page where the issue is occurring.
  2. From the Chrome menu bar, select View > Developer > Developer Tools.
  3. From the panel that opens, select the Network tab.


  4. Look for a round record button in the upper-left corner of the tab, and make sure it is red. If it is grey, click it once to start recording.
  5. Check the Preserve log box.


  6. Click the Clear button to clear out any existing logs from the Network tab.


  7. Reproduce the issue you are having.
  8. Once you have reproduced the issue, right-click anywhere on the grid of network requests, select Save all as HAR with content, and save the file to your computer.


Capturing the network trace file on Firefox

  1. Open Firefox and go to the page where the issue is occurring.
  2. Select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select Web Developer > Network


  3. The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Make sure you are on the Network tab. 


  4. The recording starts automatically when you start performing actions in the browser. Click on the trashcan icon to clear everything first.


  5. Reproduce the issue you are experiencing on the UI.
  6. Once you have reproduced the issue and you see that all of the actions have been generated in the Developer Network Panel (should just take a few seconds), right-click anywhere under the File column and click on Save All As HAR


Summary

By following the steps outlined above, you can forward the .HAR file to the support team to expedite the support process. It can also help troubleshoot UI problems in your own Cloud Foundry app.

More from Cloud

Connected products at the edge

6 min read - There are many overlapping business usage scenarios involving both the disciplines of the Internet of Things (IoT) and edge computing. But there is one very practical and promising use case that has been commonly deployed without many people thinking about it: connected products. This use case involves devices and equipment embedded with sensors, software and connectivity that exchange data with other products, operators or environments in real-time. In this blog post, we will look at the frequently overlooked phenomenon of…

6 min read

SRG Technology drives global software services with IBM Cloud VPC under the hood

4 min read - Headquartered in Ft. Lauderdale, Florida, SRG Technology LLC. (SRGT) is a software development company supporting the education, healthcare and travel industries. Their team creates data systems that deliver the right data in real time to customers around the globe. Whether those customers are medical offices and hospitals, schools or school districts, government agencies, or individual small businesses, SRGT addresses a wide spectrum of software services and technology needs with round-the-clock innovative thinking and fresh approaches to modern data problems. The…

4 min read

IBM Tech Now: May 30, 2023

< 1 min read - ​Welcome IBM Tech Now, our video web series featuring the latest and greatest news and announcements in the world of technology. Make sure you subscribe to our YouTube channel to be notified every time a new IBM Tech Now video is published. IBM Tech Now: Episode 77 This episode, we're covering the following topics: IBM Watson Code Assistant IBM Hybrid Cloud Mesh IBM Event Automation Stay plugged in You can check out the IBM Blog Announcements for a full rundown…

< 1 min read

Strengthening cybersecurity in life sciences with IBM and AWS

7 min read - Cloud is transforming the way life sciences organizations are doing business. Cloud computing offers the potential to redefine and personalize customer relationships, transform and optimize operations, improve governance and transparency, and expand business agility and capability. Leading life science companies are leveraging cloud for innovation around operational, revenue and business models. According to a report on mapping the cloud maturity curve from the EIU, 48% of industry executives said cloud has improved data access, analysis and utilization, 45% say cloud…

7 min read