You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/support/troubleshooting/general-troubleshooting/gathering-information-for-troubleshooting-sites.mdx
+47-47Lines changed: 47 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ title: Gathering information for troubleshooting sites
6
6
7
7
## Overview
8
8
9
-
It is important to capture as much information as possible to diagnose an issue and to[provide adequate details to Cloudflare support](/support/contacting-cloudflare-support/). This article explains how to gather troubleshooting information commonly requested by Cloudflare Support.
9
+
It is important to capture as much information as possible to diagnose an issue and to[provide adequate details to Cloudflare support](/support/contacting-cloudflare-support/). This article explains how to gather troubleshooting information commonly requested by Cloudflare Support.
10
10
11
11
:::note
12
12
@@ -33,49 +33,49 @@ Some browsers either require a browser extension or cannot generate a HAR. When
33
33
34
34
### In Chrome
35
35
36
-
1. In a browser page viewed in Incognito Mode, right-click anywhere and select**Inspect Element**.
36
+
1. In a browser page viewed in Incognito Mode, right-click anywhere and select**Inspect Element**.
37
37
38
-
2. The developer tools either appear at the bottom or left side of the browser. Click the**Network**tab.
38
+
2. The developer tools either appear at the bottom or left side of the browser. Click the**Network**tab.
39
39
40
40

41
41
42
-
3. Check**Preserve log**. Please also check ***Disable cache*** if you are reporting a Cloudflare Cache issue.
42
+
3. Check**Preserve log**. Please also check **_Disable cache_** if you are reporting a Cloudflare Cache issue.
43
43
44
44
4. Click record.
45
45
46
46

47
47
48
-
5. 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**.
48
+
5. 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**.
49
49
50
50

51
51
52
52
6. Attach the HAR file to your support ticket.
53
53
54
54
### In Firefox
55
55
56
-
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).
56
+
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).
57
57
58
58
2. Browse to the URL that causes issues.
59
59
60
-
3. After duplicating the issue,right-click and choose**Save All As HAR**.
60
+
3. After duplicating the issue,right-click and choose**Save All As HAR**.
61
61
62
62
### In Microsoft Edge
63
63
64
-
1. In a Private window, navigate to**Developer tools**(use*F12*as a shortcut) and select the**Network**tab.
64
+
1. In a Private window, navigate to**Developer tools**(use_F12_as a shortcut) and select the**Network**tab.
65
65
66
66
2. Browse to the URL that causes issues.
67
67
68
-
3. After duplicating the issue, click on**Export as HAR**followed by**Save As...**.
68
+
3. After duplicating the issue, click on**Export as HAR**followed by**Save As...**.
69
69
70
70
### In Safari
71
71
72
-
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**
72
+
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**
73
73
74
-
2. Navigate to**Develop** > **Show Web Inspector**.
74
+
2. Navigate to**Develop** > **Show Web Inspector**.
75
75
76
76
3. Browse to the URL that causes issues.
77
77
78
-
4. Ctrl + clickon a resource within Web Inspector and click**Export HAR**.
78
+
4. Ctrl + clickon a resource within Web Inspector and click**Export HAR**.
79
79
80
80
### In Mobile
81
81
@@ -93,7 +93,7 @@ Some browsers either require a browser extension or cannot generate a HAR. When
93
93
94
94
5. Select the **Network** tab in the DevTools window.
95
95
96
-
6. Check **Preserve log**. Please also check ***Disable cache*** if you are reporting a Cloudflare Cache issue.
96
+
6. Check **Preserve log**. Please also check **_Disable cache_** if you are reporting a Cloudflare Cache issue.
97
97
98
98
7. Click **record**.
99
99
@@ -103,7 +103,7 @@ Some browsers either require a browser extension or cannot generate a HAR. When
103
103
104
104

105
105
106
-
9.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](https://www.samsung.com/au/support/mobile-devices/screen-recorder/).
106
+
9.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](https://www.samsung.com/au/support/mobile-devices/screen-recorder/).
107
107
108
108
---
109
109
@@ -119,36 +119,36 @@ In certain situations when request is not issued or cancelled by the browser (fo
119
119
120
120
### In Chrome
121
121
122
-
1. Go to the**Console**tab from the Developer Tools bar.
123
-
2. Go to the Console Settings and select**Preserve Log**.
122
+
1. Go to the**Console**tab from the Developer Tools bar.
123
+
2. Go to the Console Settings and select**Preserve Log**.
124
124
3. Leave the console open and perform the steps that reproduce the issue.
125
-
4. Right click on any of the items within the**Console**tab and select**Save as**log file.
125
+
4. Right click on any of the items within the**Console**tab and select**Save as**log file.
126
126
5. Attach the log file to your support ticket.
127
127
128
128

129
129
130
130
### In Firefox
131
131
132
-
1. Go to the**Console**tab from the Web Developer Tools bar.
133
-
2. Go to the Console Settings and select**Persist Log**and**Show Timestamps**.
132
+
1. Go to the**Console**tab from the Web Developer Tools bar.
133
+
2. Go to the Console Settings and select**Persist Log**and**Show Timestamps**.
134
134
3. Leave the console open and perform the steps that reproduce the issue.
135
-
4. Right click,**Select All**messages and**Export Visible Messages to File**.
135
+
4. Right click,**Select All**messages and**Export Visible Messages to File**.
136
136
5. Attach the log file to your support ticket.
137
137
138
138
### In Microsoft Edge
139
139
140
-
1. Go to the**Console**tab from the Developer Tools bar.
141
-
2. Go to the Console Settings and select**Preserve Log**.
140
+
1. Go to the**Console**tab from the Developer Tools bar.
141
+
2. Go to the Console Settings and select**Preserve Log**.
142
142
3. Leave the console open and perform the steps that reproduce the issue.
143
-
4. Right click on any of the items within the**Console**tab and select**Save as**log file.
143
+
4. Right click on any of the items within the**Console**tab and select**Save as**log file.
144
144
5. Attach the log file to your support ticket.
145
145
146
146
### In Safari
147
147
148
-
1. Go to the**Console**tab from the Web Inspector bar.
149
-
2. Tick the box**Preserve Log**.
148
+
1. Go to the**Console**tab from the Web Inspector bar.
149
+
2. Tick the box**Preserve Log**.
150
150
3. Leave the console open and perform the steps that reproduce the issue.
151
-
4. Select all the messages, right click and**Save Selected**to a log file.
151
+
4. Select all the messages, right click and**Save Selected**to a log file.
152
152
5. Attach the log file to your support ticket.
153
153
154
154
---
@@ -178,12 +178,12 @@ You can only generate a NetLog dump on the Google Chrome, Opera or Microsoft Edg
178
178
179
179
## Identify the Cloudflare data center serving your request
180
180
181
-
[A map of our data centers](https://www.cloudflare.com/network-map)is listed on the[Cloudflare status page](https://www.cloudflarestatus.com/), sorted by continent.
182
-
The three-letter code in the data center name is the[IATA code](http://en.wikipedia.org/wiki/IATA_airport_code)of the nearest major international airport.
181
+
[A map of our data centers](https://www.cloudflare.com/network-map)is listed on the[Cloudflare status page](https://www.cloudflarestatus.com/), sorted by continent.
182
+
The three-letter code in the data center name is the[IATA code](http://en.wikipedia.org/wiki/IATA_airport_code)of the nearest major international airport.
183
183
Determine the Cloudflare data center serving requests for your browser by visiting:
184
184
`http://``_www.example.com_``/cdn-cgi/trace.`
185
185
186
-
Replace`www.example.com`with your domain and hostname. Note the`colo`field from the output.
186
+
Replace`www.example.com`with your domain and hostname. Note the`colo`field from the output.
187
187
188
188
---
189
189
@@ -204,13 +204,13 @@ If you are using Windows, you can find more details on how to use curl on Window
Run the following command to send a standard HTTP GET request to your website (replace`www.example.com`with your hostname):
207
+
Run the following command to send a standard HTTP GET request to your website (replace`www.example.com`with your hostname):
208
208
209
209
```
210
210
curl -svo /dev/null http://www.example.com/
211
211
```
212
212
213
-
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 proxyingtraffic for the site.
213
+
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 proxyingtraffic for the site.
214
214
215
215
:::note
216
216
@@ -237,7 +237,7 @@ assistance.
237
237
238
238
### Performance
239
239
240
-
curl measures latency or performance degradation for HTTP/HTTPS requests via the[*-w* or *--write-out*curl option](https://curl.haxx.se/docs/manpage.html#-w). The example curl below measures several performance vectors in the request transaction such as duration of the TLS handshake, DNS lookup, redirects, transfers, etc:
240
+
curl measures latency or performance degradation for HTTP/HTTPS requests via the[_-w_ or _--write-out_curl option](https://curl.haxx.se/docs/manpage.html#-w). The example curl below measures several performance vectors in the request transaction such as duration of the TLS handshake, DNS lookup, redirects, transfers, etc:
parses the TLS handshake and certificate information.
300
300
:::
301
301
302
-
To display the origin certificate (assuming one is installed), replace`203.0.113.34`below with the actual IP address of your origin web server and replace`www.example.com`with your domain and hostname:
302
+
To display the origin certificate (assuming one is installed), replace`203.0.113.34`below with the actual IP address of your origin web server and replace`www.example.com`with your domain and hostname:
@@ -324,25 +324,25 @@ For more details, refer to [Pause Cloudflare](/fundamentals/setup/manage-domains
324
324
325
325
## Perform a traceroute
326
326
327
-
Traceroute is a network diagnostic tool that measures the route latency of packets across a network. Most operating systems support the*traceroute*command. If you experience connectivity issues with your Cloudflare-proxied website and[ask Cloudflare Support for assistance](/support/contacting-cloudflare-support/), ensure to provide output from a traceroute.
327
+
Traceroute is a network diagnostic tool that measures the route latency of packets across a network. Most operating systems support the_traceroute_command. If you experience connectivity issues with your Cloudflare-proxied website and[ask Cloudflare Support for assistance](/support/contacting-cloudflare-support/), ensure to provide output from a traceroute.
328
328
329
329
:::note
330
330
331
331
Timeouts are possible for ping results because Cloudflare limits ping
332
332
requests.
333
333
:::
334
334
335
-
Review the instructions below for running tracerouteon different operating systems. Replace`www.example.com`with your domain and hostname in the examples below:
335
+
Review the instructions below for running tracerouteon different operating systems. Replace`www.example.com`with your domain and hostname in the examples below:
336
336
337
337
### Run traceroute on Windows
338
338
339
-
1. Open the**Start**menu.
339
+
1. Open the**Start**menu.
340
340
341
-
2. Click**Run**.
341
+
2. Click**Run**.
342
342
343
-
3. To open the command line interface, type**cmd**and then click**OK**.
343
+
3. To open the command line interface, type**cmd**and then click**OK**.
3. Type the*domain* or *IP address*in the appropriate input field and press**Trace**.
385
+
1. Openthe**Network Utility**application.
386
+
2. Click the**Traceroute**tab.
387
+
3. Type the_domain_ or _IP address_in the appropriate input field and press**Trace**.
388
388
4. You can copy the results to save in a file or paste in another program.
389
389
390
-
Alternatively, follow the same Linux traceroute instructions above when using the Mac OS terminalprogram.
390
+
Alternatively, follow the same Linux traceroute instructions above when using the Mac OS terminalprogram.
391
391
392
392
---
393
393
394
394
## Add the CF-RAY header to your logs
395
395
396
-
The**CF-RAY**header traces a website request through Cloudflare's network. Provide the**CF-RAY**of a web request to Cloudflare support when troubleshooting an issue. You can also add**CF-RAY** to your logs by editing your origin web server configuration with the snippet below that corresponds to your brand of web server:
396
+
The**CF-RAY**header traces a website request through Cloudflare's network. Provide the**CF-RAY**of a web request to Cloudflare support when troubleshooting an issue. You can also add**CF-RAY** to your logs by editing your origin web server configuration with the snippet below that corresponds to your brand of web server:
397
397
398
398
### For Apache web servers, add `%{CF-Ray}i` to LogFormat
399
399
@@ -465,7 +465,7 @@ packet capture is running, it will be recorded.
465
465
Cloudflare suggests [Wireshark](https://www.wireshark.org/download.html) for running packet captures. For instructions on how to use the _tcpdump_ command line, refer to [this](https://www.wireshark.org/docs/wsug_html_chunked/AppToolstcpdump.html) article.
466
466
467
467
1. Close all programs/browser tabs that could be sending data in the background to avoid having to use a lot of display filters later.
468
-
2. Create your Wireshark capture filter (refer to [this](https://wiki.wireshark.org/CaptureFilters) articlefor more information).
468
+
2. Create your Wireshark capture filter (refer to [this](https://wiki.wireshark.org/CaptureFilters) articlefor more information).
469
469
3. Select the appropriate interface (e.g. Wi-Fi: en0). If you're not sure which interface to use, Wireshark provides an I/O graph of each interface to give you a hint.
470
470
4. Click the blue shark fin icon in the top left-hand corner to start your packet capture.
0 commit comments