service.prerender.io giving 503 service unavailable
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- apache
- Área
- devops
Línea de trabajo
Start with the posted .htaccess and reproduce the failure using curl with the twitterbot user agent. Inspect the rewrite, proxy, and request-header conditions involved in forwarding to service.prerender.io; done means the request no longer returns a 503 response.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I've been testing prerender from curl and other social media platforms. Curl gives a 503 error. This is my .htaccess
<IfModule mod_headers.c>
RequestHeader set X-Prerender-Token "MY_TOKEN"
RequestHeader set X-Prerender-Version "prerender-apache@2.0.0"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
# -- REDIRECTION to https (optional):
# If you need this, uncomment the next two commands
# RewriteCond %{HTTPS} !on
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
# --
<IfModule mod_proxy_http.c>
RewriteCond %{HTTP_USER_AGENT} googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\$
RewriteCond %{QUERY_STRING} _escaped_fragment_
RewriteCond %{REQUEST_URI} ^(?!.*?(\.js|\.woff2|\.json|\.css|\.xml|\.less|\.png|\.jpg|\.jpeg|\.gif|\.pdf|\.doc|\.txt|\.ico|\.rss|\.zip|\.mp3$
RewriteRule ^(index\.html|index\.php)?(.*) https://service.prerender.io/https://mydomain.co/$2 [P,END]
</IfModule>
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.*) index.html [NC,L]
</IfModule>
Executing curl -A "twitterbot" https://mydomain.com gives me the next response:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 10
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de prerender/prerender-apache
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
prerender/prerender-apache#3 · 4 comentarios ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 35/100
prerender/prerender-apache#2 · 1 comentario · 1 reacción ·
-
Cannot get it to work Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 20/100
prerender/prerender-apache#1 · 3 comentarios ·
Todos los issues de prerender/prerender-apache
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
vicharanashala/fln#564 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
haskell-actions/setup#152 ·
-
Remove PSPs from Helm chart Abiertofeature-request helm
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
gravitational/teleport#69785 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Abiertoarea: ci bug perceived difficulty: 3
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
TencentCloud/Octop#1007 ·