web server is returning an unknown error 520 что делать

Ошибки 520, 521, 522, 524 на сайте

Ошибки 520, 521, 522, 524 связаны с проблемами в работе сервиса CloudFlare.

CloudFlare — сервис для перенаправления трафика на сайт с помощью облачного прокси-сервера, который обеспечивает дополнительную защиту от DDoS-атак и ускоряет загрузку вашего сайта.

Ошибка 520 Unknown Error

Что означает ошибка 520? Система CloudFlare выдаёт 520 ошибку, если не может обработать ответ от веб-сервера, на котором расположен сайт:

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

Причины появления ошибки:

Способы устранения ошибки:

Подробные рекомендации по исправлению ошибки 520 даны в справке CloudFlare.

Ошибка 521 Web Server Is Down

Код ошибки 521 возникает, когда веб-сервер обрывает соединение с CloudFlare:

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

Это может произойти в двух случаях:

сервер не отвечает или недоступен. Необходимо проверить работоспособность сервера;

веб-сервер блокирует запросы CloudFlare. Поскольку CloudFlare работает как обратный прокси-сервер, все запросы к серверам поступают от IP-адресов CloudFlare. Иногда система безопасности хостинга принимает постоянные подключения с одних и тех же IP-адресов за DDoS-атаку. В результате на IP-адреса CloudFlare накладывается блокировка/ограничения по скорости.

Диапазон IP-адресов CloudFlare вы можете увидеть по ссылке.

Рекомендации по исправлению ошибки 521 даны в справке CloudFlare.

Ошибка 522 Connection timed out

Ошибка 522 возникает, если превышено время ожидания ответа от веб-сервера и пользователь не может попасть на страницу:

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

Что делать? Для решения проблемы удостоверьтесь, что ваш веб-сервер активен и принимает HTTP-запросы. Проверьте, корректны ли настройки DNS в Личном кабинете на CloudFlare.

Подробные рекомендации по исправлению ошибки 522 даны в справке CloudFlare.

Как исправить ошибку 522 в Google Chrome

Откройте командную строку. Для этого введите в поисковую строку «Командная строка» и выберите появившееся приложение:

Источник

На сайте ошибки 520, 521, 522, 524

520, 521, 522, 524 — это нестандартные типы ошибок, которые можно встретить при использовании сервиса CloudFlare. CloudFlare — сервис, с помощью которого можно перенаправить трафик на сайт, ускорить загрузку его страниц и настроить дополнительную защиту от DDoS-атак. Cloudflare работает как обратный прокси-сервер для сайта.

Unknown Error — ошибка 520

Если CloudFlare не может обработать ответ от веб-сервера, на котором расположен сайт, вы увидите ошибку 520:

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

Возможные причины ошибки:

Исправить ошибку 520 можно с помощью инструкций в справке CloudFlare.

Web Server Is Down — ошибка 521

Если между веб-сервером и CloudFlare оборвалось соединение, вы увидите ошибку 521:

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

Основные причины ошибки:

На официальном сайте можно увидеть диапазон IP-адресов CloudFlare. Ошибку 521 можно исправить с помощью инструкций в справке CloudFlare.

Connection timed out — ошибка 522

Если время ожидания ответа от веб-сервера превышено, вы увидите ошибку 522:

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

Ошибка может возникнуть, если:

Перед решением проблемы убедитесь, что ваш веб-сервер принимает HTTP-запросы. Также проверьте, что DNS в Личном кабинете на CloudFlare настроены корректно. Ошибку 522 можно исправить с помощью инструкций в справке CloudFlare.

A timeout occurred — Ошибка 524

В случае когда подключение с веб-сервером установлено, но он не успел ответить за установленное время ожидания, может возникнуть ошибка 524. Время ожидания HTTP-ответа на CloudFlare — 100 секунд.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

Основные причины ошибки:

Ошибку 522 можно исправить с помощью инструкций в справке CloudFlare.

Обратите внимание!

Специалисты 2domains не оказывают техническую поддержку по сервису CloudFlare. По вопросам возникновения ошибок обращайтесь в техническую поддержку CloudFlare. Если некорректная работа сайта связана с хостингом 2domains, оставьте заявку в клиентскую службу.

Источник

Ошибки 520, 521, 522, 524

Ошибки 520, 521, 522, 524 могут появляться на сайте в том случае, если вы используете для своего сайта сервисы Cloudflare. Cloudflare — сервис, перенаправляющий трафик. Он позволяет увеличить скорость загрузки сайта и обеспечивает защиту от хакерских и DDoS-атак.

Ошибка 520 (Web server is returning an unknown error)

Если Cloudflare не удается обработать ответ сервера, на котором размещен сайт, то он выдает эту ошибку.

Причины появления ошибки 520

Способы устранения ошибки 520 Web server is returning an unknown error

Если любое из вышеперечисленных условий исходит от веб-сервера, на котором размещен сайт, нужно обратиться в техподдержку хостинг-провайдера.

Правила ограничения скорости Cloudflare или другие запросы фильтрации иногда могут вызывать проблемы в работе сайта. Важно проверить и протестировать ваш сайт после подключения сервисов Cloudflare. Если на сервере хостинга используются системы безопасности, блокирующие запросы к сайту, обязательно укажите IP-адреса Cloudflare в белом списке, чтобы исключить вероятность блокировки запросов.

Ошибка 521 (Web Server Is Down)

Браузер показывает ошибку 521, когда веб-сервер неожиданно обрывает соединение с Cloudflare.

Причины появления ошибки 521

Способы устранения ошибки 521 Web Server Is Down

Возможно, веб-сервер отключен или работает с перебоями. В таком случае:

Если веб-сервер или хостинг-провайдер блокируют запросы Cloudflare, внесите в белый список все диапазоны IP-адресов сервиса в брандмауэре сервера или другом программном обеспечении безопасности.

Ошибка 522 (Connection timed out)

Появляется в случае, когда превышено время ожидания ответа от веб-сервера.

Причины появления ошибки 522

Неисправную маршрутизацию в сети между Cloudflare и исходным веб-сервером устранить сложнее. Прежде чем перейти к этому пункту, исключите предыдущие. Если вы считаете, что причиной могут быть проблемы с сетью, отправьте заявку в службу поддержки Cloudflare.

Ошибка 524 (A timeout occurred)

Браузер покажет эту страницу, когда подключение к веб-серверу будет установлено, но его ответ превысит лимит ожидания. Cloudflare ожидает HTTP-ответ в течение 100 секунд.

Причины появления ошибки 524

Способы устранения ошибки 524 A timeout occurred

Проверьте доступные ресурсы веб-сервера, включая процессор, оперативную память и общий уровень трафика. Высокий уровень использования памяти память или высокая загрузка процессора могут сигнализировать о проблеме с ресурсами.

Источник

How to Fix Cloudflare’s “Error 520: Web Server Is Returning an Unknown Error”

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делать

When your site’s visitors see error 520 in their browser, it means Cloudflare is sending the message because your server returned an empty, unknown, or unexpected response.

The 520 error can be approached through troubleshooting first to find the cause and then fixed following these steps.

Let’s jump right in:

Troubleshooting Error 520

Since the 520 error is coming up because of an issue on your server, you can troubleshoot the issue by looking in your error log.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьAn example of error 520 for a website.

Disable Cloudflare

Before you start troubleshooting, it’s necessary to disable Cloudflare. This helps isolate the problem by ensuring the issue can be replicated without Cloudflare being a factor.

Step 1

Start by logging into Cloudflare. Then, find your site on the list and click on it.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick on your listed site.

Step 2

Next, click on the DNS tab, then on the orange cloud under the Proxy status section in the table. You’ll know Cloudflare was disabled because the cloud will have turned gray.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick on the orange cloud to disable Cloudflare.

Pause Cloudflare

Alternatively, you can choose to pause Cloudflare after logging in.

Step 1

Click on your connected site from the list.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick on your site from the list after logging in.

Step 2

Then, scroll down until you see the Advanced Actions section in the sidebar. Click on the Pause Cloudflare on Site link.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick on the link to pause Cloudflare.

Step 3

A pop-up will be displayed on the page that asks you to confirm you want to pause Cloudflare. Go ahead and click the Confirm button.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick Confirm to pause Cloudflare.

Go into Development Mode

If you don’t want to pause or disable Cloudflare, you can keep it running, but place it in development mode so you can still troubleshoot error 520.

Step 1

After logging into Cloudflare, click the Caching tab toward the top of the page.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьGo to the Caching tab.

Step2

Next, scroll down to the Development Mode section and click the Off toggle button. It should now say “On.”

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьTurn on development mode by clicking the toggle button.

Checking Your Server’s Error Logs

Now that you have disabled, paused or put Cloudflare into development mode, you can troubleshoot error 520 by checking your server’s error logs.

Finding your error log can vary between hosts so check with yours if you’re unsure of where to find your error logs.

If your hosting provider uses cPanel, you can follow the steps below.

Step 1

Log into cPanel and in the dashboard, go to the Metrics section. Then, click the Errors button.

Step 2

The error log page displays errors in reverse chronological order as well as up to 300 of the most recent messages. The error log may display more messages if you or your host adjusted the settings.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьView cPanel’s error log to troubleshoot error 520.

Checking Your Log for Error 520 Using MyKinsta

If you host your WordPress site with Kinsta, you can follow the steps below to check your error log.

Step 1

Log into MyKinsta and click on Sites in the menu on the left. Then, select the site you want to troubleshoot from the list on the page.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick on Sites in the menu of MyKinsta.

Step 2

Click on the Logs tab. By default, the error log is displayed. If you don’t see anything listed, it’s due to the fact that no errors on your site have occurred.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьIf there are any errors, they’re displayed on the Logs tab.

How to Interpret the Error Log

Each message in an error log has a structure. If you understand it, you can interpret the error messages that come up.

The date and time of the message are listed first followed by the LogLevel directive which tells you about the severity level of the message.

Next up is the IP address of the client. This is who made the issue appear.

Finally, the actual message is displayed and may contain a path to the affected file.

Here are the LogLevel severity levels which could be listed in your error log’s messages:

Use a cURL Command to Troubleshoot Error 520

You can also use a cURL command to troubleshoot error 520 by testing against the origin server.

Be sure to change “you-site.com” to your actual domain. You also need to update “123.45.6.789” with your site’s IP address. If you changed your login page, you should also change the “wp-login.php” part.

A successful response header would look similar to the example below:

If you see something like this, it means everything’s okay and the site was reached without an error 520 response.

On the other hand, if you see a response header similar to the example below, it means the 520 error has occurred when Cloudflare was active:

How to Generate a HAR File

A HAR is an HTTP archive file. It contains archives for requests that are going to the server of origin and also through Cloudflare.

It can help you with troubleshooting because it compares response headers coming from the origin server and Cloudflare when it’s used as a proxy.

It’s also used to confirm that the headers are too large if that’s why error 520 has appeared.

You can create a HAR file with your browser with the steps below:

Chrome

Step 1

Open your browser and right-click on the page. Then, select Inspect.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьRight-click in Chrome and choose Inspect.

Step 2

Once the panel has opened, click the Network tab and make sure there’s a red circle button toward the top, left-hand side of the panel. If it’s gray, click it.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьBe sure the record button is red on the Network tab.

Step 3

Check the Preserve log option next to the record button and then click the clear button.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSelect the option to preserve the log and then click to clear previous messages.

Step 4

Load the page that’s bringing up error 520. Then, right-click anywhere in the messages area of the Chrome developer tool.

Select the Save as HAR with Content and save the file to your computer.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSave the HAR file to your computer.

Firefox

Step 1

Open Firefox and right-click anywhere on the page. Then, select Inspect Element.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSelect Inspect Element after right-clicking on the page.

Step 2

Go to the Network tab and visit the page that has the 520 error coming up. Right-click on messages in the panel and select the Save All as HAR option.

Save the file to your computer.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьRight-click and choose to save the HAR file.

Step 1

Open the Edge browser and right-click the page. Select Inspect from the list.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSelect Inspect after right-clicking in the browser.

Step 2

Go to the Network tab and ensure the circular record button is red. If it’s not, click it. Check the Preserve log option, then the icon to clear the current messages.

Sign Up For the Newsletter

Want to know how we increased our traffic over 1000%?

Join 20,000+ others who get our weekly newsletter with insider WordPress tips!

Step 3

Go to the page where you’re experiencing error 520. Then, right-click on the messages in the developer tool panel and select the Save all as HAR with content option.

Save the file to your computer.

Safari

Step 1

Open Safari and right-click on the page for Windows or press CMD on your keyboard and click for Mac. Select Inspect Element from the list.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьChoose the Inspect Element option after right-clicking on the page.

Step 2

Go to the Network tab. Check the Preserve Log option, then go to the page with the error 520 issue.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьCheck the option to preserve the log on the Network tab.

Step 3

Click the Export button and save the HAR file to your computer.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьExport the HAR file.

Resolving the Common Reasons for Error 520

Now that you have your error log, search through it and see if you notice any one of the issues below. Then, follow the steps below to resolve the issue.

Origin Server PHP Application Crashed

One common issue that causes error 520 is that one of the PHP applications have crashed on your server. Restarting PHP will fix the error.

Step 1

Using SSH, you can enter the command below for Apache servers:

For Nginx servers, you can restart PHP using the command below:

Restart PHP in MyKinsta

If your site is hosted with Kinsta, you can restart PHP in a few clicks.

Step 1

Log into MyKinsta and click on Sites on the left. Then, click on your site from the list.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSelect your site from the list at MyKinsta.

Step 2

Go to the Tools tab and click the Restart PHP button.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьYou can restart PHP in the MyKinsta control panel.

Cloudflare IP Addresses Aren’t Whitelisted

Another reason why the 520 error can occur is if Cloudflare’s IP addresses aren’t whitelisted. You can whitelist them, but the steps vary between hosting providers.

Tired of experiencing issues with your WordPress site? Get the best and fastest hosting support with Kinsta! Check out our plans

If you’re not sure how to whitelist IPs, contact your host, especially if you don’t find any settings for it.

At Kinsta, Cloudflare’s IP addresses are whitelisted by default so there’s no need to worry about this cause of the error. It also won’t impact the other reasons why the error occurs.

TCP Idle Timeouts Are Shorter Than 300 Seconds

The Transmission Control Protocol (TCP) could also be the cause of error 520.

TCP is a standard protocol that establishes and maintains a network connection. If the TCP is set to timeout in under 300 seconds, it could cause the 520 error to pop up.

You can change the TCP service timeout using a CLI command:

Headers Exceed 8 KB

This issue is typically due to too many cookies or cookies that are too large. The HAR file that you downloaded during the troubleshooting process will show you if this is the problem.

Cloudflare has a limit of 8 KB that can be used for headers.

If you authored a plugin that requires too many cookies or has too much data in its cookies, try to reduce them. Or, if you’re using a lot of plugins that all need cookies, remove some of them (you should always use quality plugins).

Empty Response from Your Server

This problem occurs when your site lacks an HTTP status code or response body. To resolve it, make sure your DNS settings are set correctly for your site’s domain.

The steps involved to check your settings depends on your DNS host. If your hosting plan has DNS bundled with it, then check with your hosting provider.

It may be important to note that if you updated your DNS settings, it may take up to 72 hours for your site to propagate. This means your site may be unavailable for up to three days.

After changing your DNS settings, you need to clear your site’s cache. If you have a caching plugin installed on your WordPress site, you can check its documentation if you’re unsure of how to clear your site’s cache from the plugin’s settings.

You can also clear your site’s cache through your hosting provider. Be sure to check with them if you need to know how to do this for your site.

If your site is hosted with Kinsta, you can click Sites in the menu, then on your listed site.

Then, click the Tools tab and click the Clear cache button.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьYou can clear your site’s cache using MyKinsta.

If you have updated your DNS settings, your site is available again, you cleared your site’s cache and you still are experiencing error 520, restart your server.

If you don’t find the option in your settings, contact Kinsta’s support team and we’ll help you with this.

Missing Response Headers

“A response header is an HTTP header that can be used in an HTTP response and that doesn’t relate to the content of the message. Response headers, like Age, Location or Server are used to give a more detailed context of the response.”

Missing response headers can be caused by a multitude of reasons.

Your best bet with this issue is to use a debugging tool like Fiddler to debug the issue and see exactly what the problem is so you can fix it.

Server not Returning Proper HTTP Error Responses

When your server sent an invalid error response, it could have caused the 520 error. This means the message didn’t fit in with the standard list of HTTP response codes.

It’s caused by your server or it could also be something on your server such as PHP applications or possibly plugins used on your WordPress site.

If you can’t find the source for the improper error code to fix it, try contacting support for further help.

Enabling Cloudflare Again

Check to see if you receive the error again. If you do, keep Cloudflare disabled and continue troubleshooting.

If the 520 error has been resolved, enable Cloudflare again.

Step 1

To do this, log into Cloudflare and if you disabled Cloudflare by turning the cloud gray in your account, start by selecting your site from the list.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSelect the site where you want to enable Cloudflare.

Step 2

Click the DNS tab, then click the gray cloud to re-enable Cloudflare.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick the gray cloud to enable Cloudflare.

Restoring Cloudflare After Pausing It

Step 1

If you paused Cloudflare earlier, restore it by logging into Cloudflare and click on your listed site in the dashboard.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSelect the site where you need to restore Cloudflare.

Step 2

Then, go to the Overview tab and scroll down to the bottom of the page until you see the Advanced Actions sections in the sidebar on the right-hand side of the page.

Click the Enable Cloudflare on Site link.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick the link the enable Cloudflare again.

Turning off Development Mode

Step 1

If you have previously turned on Cloudflare’s development mode, you can turn it off by logging in. Then, click your site that’s listed on the page.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьSelect your site.

Step 2

Next, go to the Caching tab.

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick the Caching tab.

Step 3

Scroll down to the Development Mode section and click the toggle button that’s currently set to “On.”

web server is returning an unknown error 520 что делать. Смотреть фото web server is returning an unknown error 520 что делать. Смотреть картинку web server is returning an unknown error 520 что делать. Картинка про web server is returning an unknown error 520 что делать. Фото web server is returning an unknown error 520 что делатьClick the toggle to disable development mode.

What to Do If All Else Fails

If you’re still seeing issues, contact Cloudflare support.

Provide them with the following details:

Summary

The 520 error can seem confusing, especially since it’s a Cloudflare error. But, it has to do with an error with your server that causes Cloudflare to not connect.

The steps above are the solutions to the most common causes of error 520. If you’re still having issues after trying them, you might want to contact Cloudflare or your hosting support.

Save time, costs and maximize site performance with:

All of that and much more, in one plan with no long-term contracts, assisted migrations, and a 30-day-money-back-guarantee. Check out our plans or talk to sales to find the plan that’s right for you.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *