Error 503 Error en la recuperación del backend: cómo solucionarlo

Error 503 Backend Fetch Failed

Si ha encontrado el error 503 Backend Fetch Failed Varnish cache server mientras navega por Internet, ¡esta guía puede ayudarle!

Hablaremos sobre las causas comunes y le ofreceremos métodos probados por los expertos de WR para solucionar el problema de inmediato.

¿Qué es un error de backend 503?

Un servidor de caché 503 Backend Fetch Failed Varnish indica que el sitio web o el servicio web al que intenta acceder no está disponible actualmente o que tiene una conexión a Internet inestable. Otras causas probables son:

  • El servidor está en mantenimiento.
  • El sitio web se considera sospechoso y, por lo tanto, Adblocker lo bloquea en su computadora.
  • El servidor del sitio web no tiene suficiente memoria para procesar la información entrante.

¿Cómo soluciono el error 503 Error en la recuperación del backend?

Antes de continuar con cualquier paso para corregir el mensaje de error 503 de recuperación fallida del backend, realice las siguientes comprobaciones preliminares:

  • Usar un navegador diferente puede ser una solución directa para resolver este problema y otros como Tiempo de espera del primer byte 503.
  • Presione F5 para actualizar la página web.
  • Cierra todas las demás pestañas activas o reinicia tu computadora.

1. Apague y encienda su enrutador (tanto para usuarios de frontend como de backend)

  1. Desenchufe el módem y el enrutador del tomacorriente.
  2. Espere entre 15 y 30 segundos y luego vuelva a enchufar el módem a la toma de corriente.
  3. Nuevamente, espere 1 o 2 minutos, luego encienda su enrutador,
  4. El enrutador se iniciará; Espere a que todas las luces se pongan verdes y luego pruebe su conexión.

Apagar y encender el enrutador puede ayudar a solucionar problemas de la red local y actualizar la información DNS. Eliminando así el problema si el problema con el sitio web está de su lado. Esto también podría ayudar a problemas similares relacionados con sitios web, como el error 503 no disponible.

2. Haga ping a su enrutador para verificar la conexión

  1. Presione la tecla Windows , escriba cmd y haga clic en Ejecutar como administrador.CMD elevated - 503 Backend Fetch Failed
  2. Escriba el siguiente comando para hacer ping a los servidores DNS de Google y mostrarle si hay alguna pérdida de paquetes y presione Enter : ping 8.8.8.8cmd_ping

Hacer ping al enrutador puede ayudar a diagnosticar problemas de conectividad de la red local y descartar posibles problemas con su red.

3. Borrar la memoria caché del navegador

  1. Abra su navegador preferido. Aquí, estamos demostrando los pasos usando Google Chrome.
  2. Vaya al icono de tres puntos y luego haga clic en Configuración.Settings CHrome
  3. Haga clic en Privacidad y privacidad. opción de seguridad y haga clic en Borrar datos de navegación.Privacy & security
  4. Para Intervalo de tiempo, seleccione Todo el tiempo en la lista desplegable y coloque una marca de verificación junto a Cookies y otros datos del sitio, & Imágenes y archivos en caché.Clear data - Error 503 Backend Fetch Failed
  5. Haga clic en Borrar datos.

Si no puede acceder al sitio web debido a datos almacenados en caché corruptos u obsoletos almacenados en su navegador, estos pasos podrían ayudarlo a eliminarlos.

Borrar el caché puede ayudarle a superar el problema El certificado de error 503 ha caducado para que no esté restringido a visitar ningún sitio web.< /span>

4. Reset your browser

  1. Open your preferred browser. Here, we are demonstrating the steps using Google Chrome.
  2. Go to the three dots icon, then click Settings.Settings CHrome - Error 503 Backend Fetch Failed
  3. From the left side, select Reset Settings.Reset the settings to default
  4. Click Reset settings to their original defaults.
  5. Now, on the following prompt, select Reset settings.Reset 2

If you can use the website on another browser but can’t open it on the preferred browser, it is time to reset it to default settings.

5. Re-enable the Varnish plugin (Backend users)

  1. Go to your website Control Panel and log in using the credentials.
  2. Next, go to Web Accelerator, then click Manage Varnish.
  3. Click Disable Varnish.Disable Varnish - Error 503 Backend Fetch Failed
  4. Next, click Confirm Action to disable.
  5. Now click Enable Varnish.eNABLE Varnish - = Error 503 Backend Fetch Failed

If the Error 503 Backend Fetch Failed issue is at the server end and caused by Varnish cache misconfiguration or other issues, refreshing the plugin can help. However, if the plugin is already disabled, try enabling it and check if the issue is resolved.

6. Modify the Varnish & NGIX configuration files (Backend users)

  1. Ensure you have logged in using admin privileges. Locate & open the file in Ubuntu from this path in the text editor of your choice: /etc/varnish/default.vcl
  2. Search this line and remove /pub from it:
    • .probe = {.url = "/pub/health_check.php";
  3. After the change, it should look like this:
    • .probe = {.url = "/health_check.php";
  1. If you don’t see /pub in the line, try adding it. Save the file.

Now locate nginx.conf.sample file in the Magneto 2 root folder, follow these steps:

  1. Locate this line and add health_check:
    • location ~ (index|get|static|report|404|503)\.php$ {
  2. After the change, it should look like this:
    • location ~ (index|get|static|report|404|503|health_check)\.php$ {
  3. Press Ctrl + S to save the changes.

7. Edit the cache length (Backend users)

  1. Go to the Varnish configuration file: etc/default/varnish
  2. Look for the http_resp_hdr_len line and change its value to 70000 bytes. In case if the parameter doesn’t exist, look for thread_pool_max and add this line: -p http_resp_hdr_len=70000 \
  3. Locate http_resp_size and change its value to 100000; it should look like this: -p http_resp_size=100000 \http_resp_hdr_len-1 - Error 503 Backend Fetch Failed
  4. Press Ctrl + S to save the changes.

In case nothing worked for you, then try considering the website admin, explain the issue and fixes you tried for further assistance.

If you have any questions or suggestions about the subject, feel free to mention them in the comments section below.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *