Skip to content

Commit 5cd6b70

Browse files
authored
Merge pull request #39 from klodr/master
add missing 504 Gateway Timeout error in all languages
2 parents 67e35cc + 31671a2 commit 5cd6b70

File tree

7 files changed

+48
-0
lines changed

7 files changed

+48
-0
lines changed

docs/HTTP504.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<!-- Simple HttpErrorPages | MIT License | https://github.com/HttpErrorPages -->
5+
<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>We&#39;ve got some trouble | 504 - Webservice currently unavailable</title>
7+
<style type="text/css">/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}/*! Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages */body,html{width:100%;height:100%;background-color:#21232a}body{color:#fff;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.5);padding:0;min-height:100%;-webkit-box-shadow:inset 0 0 100px rgba(0,0,0,.8);box-shadow:inset 0 0 100px rgba(0,0,0,.8);display:table;font-family:"Open Sans",Arial,sans-serif}h1{font-family:inherit;font-weight:500;line-height:1.1;color:inherit;font-size:36px}h1 small{font-size:68%;font-weight:400;line-height:1;color:#777}a{text-decoration:none;color:#fff;font-size:inherit;border-bottom:dotted 1px #707070}.lead{color:silver;font-size:21px;line-height:1.4}.cover{display:table-cell;vertical-align:middle;padding:0 20px}footer{position:fixed;width:100%;height:40px;left:0;bottom:0;color:#a0a0a0;font-size:14px}</style>
8+
</head>
9+
<body>
10+
<div class="cover"><h1>Webservice currently unavailable <small>502</small></h1><p class="lead">We&#39;ve got some trouble with our backend upstream cluster.<br />Our service team has been dispatched to bring it back online.</p></div>
11+
<footer><p>Technical Contact: <a href="mailto:x@example.com">x@example.com</a></p></footer>
12+
</body>
13+
</html>

i18n/pages-en_US.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
"title": "Webservice currently unavailable",
4646
"message": "We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."
4747
},
48+
49+
// http proxy time out error
50+
"504": {
51+
"title": "Webservice currently unavailable",
52+
"message": "We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."
53+
},
4854

4955
// CUSTOM ERROR CODES
5056
// =======================================================

i18n/pages-es_VE.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@
5151
"message": "Se encontró una condición inesperada. Nuestro equipo de servicio está abocado para colocarlo nuevamente en servicio."
5252
},
5353

54+
// http 504 Gateway Timeout
55+
"504": {
56+
"title": "Servicio web proxy actualmente no disponible",
57+
"message": "Tenemos algunos problemas con nuestro racimo. Nuestro equipo de servicio fue enviado para restablecerlo nuevamente en línea."
58+
},
59+
5460
//https://tools.ietf.org/html/rfc6585#section-6
5561
// http 511 Network Authentication Required (offer a URL for login)
5662

i18n/pages-fr_FR.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
"title": "Service Web actuellement indisponible",
4646
"message": "Nous avons quelques problèmes avec notre cluster en amont. Notre équipe de service a été dépêchée pour le remettre en ligne."
4747
},
48+
49+
// http proxy timeout error
50+
"504": {
51+
"title": "Service Web actuellement indisponible",
52+
"message": "Nous avons quelques problèmes avec notre cluster en amont. Notre équipe de service a été dépêchée pour le remettre en ligne."
53+
},
4854

4955
// CUSTOM ERROR CODES
5056
// =======================================================

i18n/pages-pl-PL.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
"message": "Wystąpił nieoczekiwany błąd.\nJuż pracujemy nad przywróceniem witryny."
6565
},
6666

67+
"504": {
68+
"title": "Witryna jest aktualnie niedostępna",
69+
"message": "Wystąpił nieoczekiwany błąd.\nJuż pracujemy nad przywróceniem witryny."
70+
},
71+
6772
"520": {
6873
"title": "Błąd — nieznany host",
6974
"message": "Żądana nazwa hosta nie jest routowana. Używaj tylko nazw hostów, aby uzyskać dostęp do zasobów."

i18n/pages-pt_BR.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
"message": "Nós tivemos alguns problema com o nosso backend. Nosso time de serviços está trabalhando para deixar isso online novamente."
4545
},
4646

47+
// http proxy timeout error
48+
"504": {
49+
"title": "Webservice atualmente indisponível",
50+
"message": "Nós tivemos alguns problema com o nosso backend. Nosso time de serviços está trabalhando para deixar isso online novamente."
51+
},
52+
4753
// CUSTOM ERROR CODES
4854
// =======================================================
4955
// webserver origin error

i18n/pages-zh_CN.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
"title": "Webservice目前不可用",
4646
"message": "我们的后端上游服务器出现了问题。\n技术支持团队正在努力修复中。"
4747
},
48+
49+
// http proxy timeout error
50+
"504": {
51+
"title": "Webservice目前不可用",
52+
"message": "我们的后端上游服务器出现了问题。\n技术支持团队正在努力修复中。"
53+
},
4854

4955
// CUSTOM ERROR CODES
5056
// =======================================================

0 commit comments

Comments
 (0)