Community Tip - Fixing "The Speed test could not run"

Error
Try the suggestions in this Community Tip to help you fix the error The Speed test could not run.

Background
The “Speed test could not run” error on the Speed app of the Cloudflare Dashboard indicates the test was somehow blocked. The blocks can occur due to a rule you have set in Cloudflare, a restriction from your hosting provider, or it may just be a temporary issue that resolves without intervention. When the test is somehow blocked, you’ll see the error “The Speed test could not run”. Follow the Quick Fix Ideas to resolve the issue.

Image Resizing

Quick Fix Ideas

  1. The site was just added to Cloudflare and is not yet active. Wait until the site becomes active and you are sure the traffic is going through Cloudflare.

  2. It’s a temporary delay, sometimes fetching data for the test takes time and you need to try a couple of times. You may see a 504 error that the origin server (e.g., the web host) is returning to us.

  3. Review any existing Firewall Rules which may be blocking access to ‘Known Bots’.

  4. Review the configuration between your origin server and Cloudflare and ensure that the origin resolves requests successfully. You may see a 522 error if you’ve not allowlisted Cloudflare’s IP’s at your origin server, IP Ranges.

  5. Speed tests are performed from Google Cloud Platform IP addresses which will fail if rate limited or blocked at the server or hosting provider. When this happens, we will not be able to execute the test. Review the documentation to verify the IPs are allowed, Compute Engine FAQ.

  6. Assuming there are no Cloudflare Firewall Rules or Rate Limiting settings or filters in place through your Cloudflare dashboard, the problem may be with your origin server. Check with your server administrator or hosting provider to ensure there are no rules or filters in place on the origin that would cause this issue. You’ll want to ask them to check for IP address, browser, and user-agent blocks. A 403 error in the Speed tab is always returned directly from the origin web server, not Cloudflare, and is generally related to permission rules on the origin server. Either a permission rule or an error in the .htaccess rules, the Mod_security rules, or the IP Deny rules are the most likely reasons for the 403. Use the cURL below to the origin to check for a 403 Forbidden:

    $ curl -I example.com --connect-to ::123.123.123.123
    HTTP/1.1 403 Forbidden
    Date: Mon, 11 Nov 2019 09:28:04 GMT
    Server: Apache
    Content-Type: text/html; charset=iso-8859-1

  1. Add a firewall rule that allows Known Bots.

  2. When “I’m Under Attack Mode” is on, Cloudflare will respond with a 503 error until this is turned off.

  3. Verify your site is active on Cloudflare. If the name servers have changed or are not yet assigned to Cloudflare, you will encounter issues when running the Speed Test.

  4. If you’re still unable to run the Speed test and are seeing an error 404, 526, or 530 error please contact Cloudflare Support for more help.

Load Balancing

Research The Issue
Community
Google

Performance Option
Image Resizing is currently available for Pro, Business and Enterprise customers. To begin, ensure you have enabled Image Resizing in the Cloudflare dashboard.

If You Need More Help
This community of other Cloudflare users may be able to assist you, login to Cloudflare and post your question to the Community. When you post on the Community make sure to include as much of this information as possible: the specific error message you are seeing, the URLs this is happening on, screen shot of the error, and the steps to reproduce the error. Please indicate what troubleshooting steps you’ve tried in order to help us help you.

This is a Cloudflare Community Tip, to review other tips click here.

Çevirme…traduzir…翻译…traducir…Traduire…Übersetzen…:greyg: Translate this Tip

FXSTCT 052820

4 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.