How to check network logs on various browsers?
- Getting Started
- Bot Building
- Smart Agent Chat
- Conversation Design
-
Developer Guides
Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
- Deployment
- External Agent Tool Setup
- Analytics & Reporting
- Notifications
- Commerce Plus
- Troubleshooting Guides
- Release Notes
In this article, we will be discussing how to check network logs on various browsers that we have mentioned below.
When raising a ticket to Haptik support, we may sometimes ask you to collect a network capture, which can be used to record the internet traffic of the affected application. There are different types of network captures available. Some are built into the browser and can debug web-based apps. We use this information to isolate any issues or unexpected behavior. For the most part, we may ask you to collect a HAR capture. In general, the process goes:
- Start the capture
- Reproduce the behavior
- End and save the capture
- Send the file to Haptik for review
A HAR capture (HTTP Archives) records the requests and responses that your browser makes with the Haptik bot. Steps to create the HAR file with the network logs on different browsers:
Chrome
- In Chrome, go to the page where you are experiencing trouble.
- At the top-right of your browser window, click the Chrome menu (⋮).
- Select Tools > Developer Tools. The Developer Tools window opens as a docked panel at the side or bottom of Chrome.
- Click the Network tab.
- Select Preserve log.
- 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 start recording the activity in your browser.
- Refresh the page and reproduce the problem while the capture is running.
- After you successfully reproduce the issue, right-click on any row of the activity pane and select Save as HAR with Content.
- Select the Console tab.
- Right-click anywhere in the console and select Save as.
- Name the log file Chrome-console.log.
- Send both files as shared links in a reply to your case.
Firefox
- In Firefox, go to the page where you are experiencing trouble.
- Click the Firefox menu (three horizontal parallel lines) at the top-right of your browser window.
- Select Web Developer > Network.
- The Developer Tools window opens as a docked panel at the side or bottom of Firefox.
- Click the Network tab.
- Select 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.
- Select the Console tab.
- Right-click any row and select Select all.
- Paste the content in a text file and name it console-log.txt.
- Send both files as shared links in a reply to your case.
Safari
- In Safari, go to the page 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.
- Go back to the Network tab.
- 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.
- Click the Console tab.
- Right-click any row and select Select all.
- Paste the content in a text file and name it console-log.txt.
- Send both files as shared links in a reply to your case.
Internet Explorer (IE11)
- In Internet Explorer, go to the page where you are experiencing trouble.
- Click the gear icon in the top right.
- Select F12 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 the Console tab.
- Right-click any row and select Copy all.
- Paste the content in a text file and name it console-log.txt.
- Send both files as shared links in a reply to your case.
Edge
- In Edge, go to the page 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 the Console tab.
- Right-click any row and select Copy all.
- Paste the content in a text file and name it console-log.txt.
- Send both files as shared links in a reply to your case.
Console Logs
As mentioned below, please follow the steps to get the logs from "Console":
- Copy all the logs and save them to a file before sending it back to HaptikTraceroute to check hops and proper connectivity to Haptik Endpoints (HAPTIK CAS specific)
- Share output of the below commands with your Haptik SPOC:
traceroute -d haptik-endpoint.haptikapi.com (onsite specific platform URL) traceroute -d mqtt.haptik.me if -d does not work, remove it from the command