502 Bad Gateway
HTTP ã® 502 Bad Gateway ã¯ãµã¼ãã¼ã¨ã©ã¼ã¬ã¹ãã³ã¹ã¹ãã¼ã¿ã¹ã³ã¼ãã§ãã²ã¼ãã¦ã§ã¤ã¾ãã¯ãããã·ã¼ã¨ãã¦æ©è½ãã¦ãããµã¼ãã¼ã䏿µã®ãµã¼ãã¼ãã䏿£ãªã¬ã¹ãã³ã¹ãåãåã£ããã¨ã示ãã¦ãã¾ãã
ãã®ã¬ã¹ãã³ã¹ã¯ããµã¼ãã¼ã¨ã©ã¼ã®ä¸è¬ç㪠"catch-all" ã¨ããæå³ã§ã¯ã500 Internal Server Error ã¬ã¹ãã³ã¹ã¨ä¼¼ã¦ãã¾ãã
éãã¯ãã¨ã©ã¼ãçºçãããªã¯ã¨ã¹ããã§ã¼ã³ã®ãã¤ã³ããç¹å®ããã¦ããç¹ã§ãã
å
ã®ãµã¼ãã¼ãã²ã¼ãã¦ã§ã¤ã«æå¹ãª HTTP ã¨ã©ã¼ã¬ã¹ãã³ã¹ãéä¿¡ããå ´åã502 ãã¯ã©ã¤ã¢ã³ãã«æ¸¡ãã®ã§ã¯ãªããã¬ã¹ãã³ã¹ã渡ãã¹ãã§ãã
ããã«ããã失æã®çç±ãæç¢ºã«ãªãã¾ãããããã·ã¼ã¾ãã¯ã²ã¼ãã¦ã§ã¤ãå
ã®ãµã¼ãã¼ãã HTTP ã¬ã¹ãã³ã¹ãåä¿¡ãã¦ããªãå ´åã代ããã« 504 Gateway Timeout ãã¯ã©ã¤ã¢ã³ãã«éä¿¡ãã¾ãã
502 ã¨ã©ã¼ã«ã¯å¤ãã®åå ãããããã®ãããªåé¡ãä¿®æ£ããã«ã¯ããµã¼ãã¼ã®ææè
ã¾ãã¯ç®¡çè
ã®ç¢ºèªãå¿
è¦ã«ãªãã§ãããã
ä¾å¤ã¯ãã¯ã©ã¤ã¢ã³ãã®ãããã¯ã¼ã¯ã¨ã©ã¼ã§ãããç¹ã«ããã®ãµã¼ãã¹ãä»ã®æ¥è¨ªè
ã«å¯¾ãã¦åä½ããå ´åãããã³ãã¯ã©ã¤ã¢ã³ãã VPN ãªã©ã®ç¬èªã®ãããã¯ã¼ã¯è¨å®ã使ç¨ãã¦ããå ´åã§ãã
ãã®ãããªå ´åãã¯ã©ã¤ã¢ã³ãã¯ãããã¯ã¼ã¯è¨å®ããã¡ã¤ã¢ã¦ã©ã¼ã«è¨å®ããããã·ã¼è¨å®ãDNS æ§æãªã©ã確èªããå¿
è¦ãããã¾ãã
ã¹ãã¼ã¿ã¹
502 Bad Gateway
ä¾
>502 ã²ã¼ãã¦ã§ã¤ã¨ã©ã¼ã¬ã¹ãã³ã¹
次ã®ãªã¯ã¨ã¹ãã¯ã¦ã§ããã¼ã¸ãåå¾ãããã¨ãã¾ããã502 ã¬ã¹ãã³ã¹ãè¿ããã¾ãã
ã¬ã¹ãã³ã¹æ¬ä½ã«ã¯ããµã¼ãã¼ã®ç¶æ
ãè¨è¿°ãããã¼ã¸ã¨ãæ¥è¨ªè
åãã®ãµãã¼ããã¼ã¸ã¸ã®ãªã³ã¯ãå«ã¾ãã¦ãã¾ãã
GET /highlights HTTP/1.1
Host: example.com
User-Agent: curl/8.6.0
Accept: */*
HTTP/1.1 502 Bad Gateway
Content-Type: text/html;
Content-Length: 123
<!doctype html>
<html lang="en">
<head>
<title>502 Bad Gateway</title>
</head>
<body>
<h1>Bad Gateway</h1>
<p>The server was unable to complete your request. Please try again later.</p>
<p>If this problem persists, please <a href="https://example.com/support">contact support</a>.</p>
</body>
</html>
仿§æ¸
| 仿§æ¸ |
|---|
| HTTP Semantics > # status.502 > |