Gathering information for troubleshooting sites

Last updated Oct 23, 2026

About this guide

It is important to capture as much information as possible to diagnose an issue and to provide adequate details to Cloudflare support. This article explains how to gather troubleshooting information commonly requested by Cloudflare Support.

Note

Cloudflare support cannot make configuration changes on behalf of customers due to security and liability concerns.


Quick reference: Choose the right tool

Use this table to quickly identify which troubleshooting method to use based on your issue:

Issue Type Recommended Tool When to Use
Page not loading correctly HAR file Visual issues, broken elements, slow page loads
JavaScript errors Console log CORS errors, scripts failing, browser-side errors
Protocol errors (QUIC/HTTP2) NetLog dump ERR_QUIC_PROTOCOL_ERROR, ERR_HTTP2_PROTOCOL_ERROR
Slow response times curl (performance) Measuring latency, TLS handshake times
HTTP errors (5xx, 4xx) curl (HTTP errors) Determining if errors originate from Cloudflare or origin
Caching issues curl (caching) Cache misses, stale content, cache headers
SSL/TLS certificate issues curl (SSL/TLS) Certificate errors, TLS version issues
Connection timeouts/drops Traceroute / MTR Network path issues, latency between hops
Site unreachable from specific networks Traceroute / MTR Suspected ISP blocking of Cloudflare IP prefixes
Packet loss, connection resets Packet capture Layer 3/4 issues, SSL handshake failures
Identifying serving location Cloudflare data center Determine which Cloudflare PoP is serving requests

Browser-based troubleshooting

These tools capture information directly from your web browser and are useful for diagnosing issues with how pages load and render.

Generate a HAR file

When to use

Use a HAR file when you experience visual issues, broken page elements, slow page loads, or need to capture the full sequence of HTTP requests made by your browser. This is often the first thing Cloudflare Support will request.

A HTTP Archive (HAR) records all web browser requests including the request and response headers, the body content, and the page load time. Be sure to use Incognito Mode or a Private Browsing window.

Caution

A HAR file can include sensitive details such as passwords, payment information, and private keys.

Remove sensitive information using a HAR Sanitizer ↗︎.

For security reasons Cloudflare support cannot open compressed files such as ZIP, GZIP, TAR, etc.

Some browsers either require a browser extension or cannot generate a HAR. When installing a browser extension, follow the instructions from the extension provider.

In Chrome

  1. In a browser page viewed in Incognito Mode, right-click anywhere and select Inspect Element.
  2. The Chrome DevTools appear either at the bottom, or left side of the browser. Click the Network tab.

HAR network tab screenshot from Chrome developer tools

  1. Check Preserve log. Please also check Disable cache if you are reporting a Cloudflare Cache issue.
  2. Click record.

HAR record button in chrome dev tools.

  1. Browse to the URL that causes issues. Once the issue is experienced, click the "Export HAR" option at the top of DevTools.

export HAR option in Chrome DevTools.

  1. Attach the HAR file to your support ticket.

Note

As of Chrome 130, this exports a sanitized HAR with redacted cookies and personalised data. To disable this, go to DevTools Settings > Preferences > Network > Allow to generate HAR with sensitive data.

In Firefox

  1. While using a Private Window, use the application menu and select Tools > Web Developer > Network or press Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (OS X).
  2. Browse to the URL that causes issues.
  3. After duplicating the issue, right-click and choose Save All As HAR.

In Microsoft Edge

  1. In a Private window, navigate to Developer tools (use F12 as a shortcut) and select the Network tab.
  2. Browse to the URL that causes issues.
  3. After duplicating the issue, click on Export as HAR followed by Save As....

In Safari

  1. In Safari, ensure a Develop menu appears at the top of a Private Window in the browser window. Otherwise, go to Safari > Preferences > Advanced and select Show Develop Menu in menu bar
  2. Navigate to Develop > Show Web Inspector.
  3. Browse to the URL that causes issues.
  4. Ctrl + click on a resource within Web Inspector and click Export HAR.

In Mobile

For Android:

  1. Enable USB Debugging mode on your mobile device.
  2. Go to chrome://inspect/#devices.
  3. If debugging mode is enabled, you will see your device listed below “Remote Target” like the example below:

Where to find the Inspect Devices when in Debug Mode for Android.

  1. Type in the URL, select Open and inspect to open Chrome’s DevTools.
  2. Select the Network tab in the DevTools window.
  3. Check Preserve log. Please also check Disable cache if you are reporting a Cloudflare Cache issue.
  4. Click record.

Where to find the record button in Chrome's dev tools.

  1. Browse to the URL that causes issues. Once the issue is experienced, right-click on any of the items within the Network tab and select Save all as HAR with Content.

How to save HAR content.

  1. Attach the HAR file to your support ticket alongside a screen recording from the affected Samsung device. Instructions on how to do this from Samsung devices can be found in Samsung's documentation here ↗︎.

For iPhone:

Refer to Okta ↗︎ or Apple's ↗︎ support article on how to generate a HAR file from an iOS device. Attach the HAR file to your support ticket alongside a screen recording from the affected iOS device. Apple devices now have built-in screen recording functionality ↗︎.

Export Console Log

When to use

Use a console log when you experience JavaScript errors, CORS issues, or when requests are blocked or cancelled by the browser. This captures browser-side errors that may not appear in a HAR file.

In certain situations when request is not issued or cancelled by the browser (for example, due to CORS ↗︎), we need to get JS console log output, in addition to the HAR file, to identify the root cause.

In Chrome

  1. Go to the Console tab from the DevTools bar.
  2. Go to the Console Settings and select Preserve Log.
  3. Leave the console open and perform the steps that reproduce the issue.
  4. Right-click on any of the items within the Console tab and select Save as log file.
  5. Attach the log file to your support ticket.

How to find the console tab in Chrome's developer tools.

In Firefox

  1. Go to the Console tab from the Web Developer Tools bar.
  2. Go to the Console Settings and select Persist Log and Show Timestamps.
  3. Leave the console open and perform the steps that reproduce the issue.
  4. Right click, Select All messages and Export Visible Messages to File.
  5. Attach the log file to your support ticket.

In Microsoft Edge

  1. Go to the Console tab from the Developer Tools bar.
  2. Go to the Console Settings and select Preserve Log.
  3. Leave the console open and perform the steps that reproduce the issue.
  4. Right click on any of the items within the Console tab and select Save as log file.
  5. Attach the log file to your support ticket.

In Safari

  1. Go to the Console tab from the Web Inspector bar.
  2. Tick the box Preserve Log.
  3. Leave the console open and perform the steps that reproduce the issue.
  4. Select all the messages, right click and Save Selected to a log file.
  5. Attach the log file to your support ticket.

Capture a NetLog dump

When to use

Use a NetLog dump when you experience protocol-level errors such as ERR_QUIC_PROTOCOL_ERROR or ERR_HTTP2_PROTOCOL_ERROR. This provides detailed network-level debugging information that goes beyond what a HAR file captures.

In some cases, in order to further troubleshoot issues related to protocols (errors such as ERR_QUIC_PROTOCOL_ERROR, ERR_HTTP2_PROTOCOL_ERROR, etc..) our Support team may ask you to provide a NetLog dump ↗︎.

Caution

You can only generate a NetLog dump on the Google Chrome, Opera or Microsoft Edge browsers.

  1. Open a new tab and enter the following depending on the browser you're using:

  2. chrome://net-export

  3. edge://net-export
  4. opera://net-export

  5. Click the Start Logging To Disk button.

  6. Reproduce the network problem in a different tab. (the chrome://net-export/, edge://net-export/ or opera://net-export tab needs to stay open otherwise logging will automatically stop)
  7. Click Stop Logging button.
  8. Attach the log file to your support ticket.

Command-line troubleshooting

These tools are run from your terminal or command prompt and are useful for testing connectivity, performance, and server responses without browser overhead.

Identify the Cloudflare data center serving your request

When to use

Use this when you need to determine which Cloudflare Point of Presence (PoP) is serving your requests. This is helpful when troubleshooting regional issues or verifying traffic routing.

A map of our data centers ↗︎ is listed on the status page locations view ↗︎, sorted by continent. The three-letter code in the data center name is the IATA code ↗︎ of the nearest major international airport. Determine the Cloudflare data center serving requests for your browser by visiting: http://``_www.example.com_``/cdn-cgi/trace.

Replace www.example.com with your domain and hostname. Note the colo field from the output.

Troubleshoot requests with curl

When to use

Use curl when you need to test HTTP requests without browser interference, measure performance metrics, check HTTP headers, or determine if an issue originates from Cloudflare or your origin server.

curl ↗︎ is a command line tool for sending HTTP/HTTPS requests and is useful for troubleshooting:

  • HTTP/HTTPS Performance
  • HTTP Error Responses
  • HTTP Headers
  • APIs
  • Comparing Server/Proxy Responses
  • SSL Certificates

Note

If you are using Windows, you can find more details on how to use curl on Windows in our Making API calls on Windows article.

Run the following command to send a standard HTTP GET request to your website (replace www.example.com with your hostname):

curl -svo /dev/null http://www.example.com/

This example curl command returns output detailing the HTTP response and request headers but discards the page body output. curl output confirms the HTTP response and whether Cloudflare is currently proxying traffic for the site.

Note

Review the curl command options ↗︎ for additional functionality.

View the sections below for tips on troubleshooting HTTP errors, performance, caching, and SSL/TLS certificates:

HTTP errors

When troubleshooting HTTP errors in responses from Cloudflare, test whether your origin caused the errors by sending requests directly to your origin web server. To troubleshoot HTTP errors, run a curl directly to your origin web server IP address (bypassing Cloudflare’s proxy):

curl -svo /dev/null http://example.com --connect-to ::203.0.113.34

Note

If you have multiple origin web servers, test each one to ensure there are no response differences. If you observe the issue when connecting directly to your origin web server, contact your hosting provider for assistance.

Performance

curl measures latency or performance degradation for HTTP/HTTPS requests via the -w or --write-out curl option ↗︎. The example curl below measures several performance vectors in the request transaction such as duration of the TLS handshake, DNS lookup, redirects, transfers, etc:

curl -svo /dev/null https://example.com/ -w "\nContent Type: %{content_type} \
\nHTTP Code: %{http_code} \
\nHTTP Connect:%{http_connect} \
\nNumber Connects: %{num_connects} \
\nNumber Redirects: %{num_redirects} \
\nRedirect URL: %{redirect_url} \
\nSize Download: %{size_download} \
\nSize Upload: %{size_upload} \
\nSSL Verify: %{ssl_verify_result} \
\nTime Handshake: %{time_appconnect} \
\nTime Connect: %{time_connect} \
\nName Lookup Time: %{time_namelookup} \
\nTime Pretransfer: %{time_pretransfer} \
\nTime Redirect: %{time_redirect} \
\nTime Start Transfer: %{time_starttransfer} \
\nTime Total: %{time_total} \
\nEffective URL: %{url_effective}\n" 2>&1