500 Internal Server Error
HTTP ã® 500 Internal Server Error ã¯ãµã¼ãã¼ã¨ã©ã¼ã¬ã¹ãã³ã¹ã®ã¹ãã¼ã¿ã¹ã³ã¼ãã§ããµã¼ãã¼ãäºæãã¬ç¶æ³ã«ééãããªã¯ã¨ã¹ãã®å±¥è¡ã妨害ããããã¨ã示ãã¾ãã
ãã®ã¨ã©ã¼ã¯ããµã¼ãã¼ã®èª²é¡ã«å¯¾ããä¸è¬çãªããã¹ã¦ãã«ãã¼ãããã¬ã¹ãã³ã¹ã§ããããµã¼ãã¼ãã¬ã¹ãã³ã¹ã¨ãã¦è¿ãã®ã«ããé©å㪠5XX ã¨ã©ã¼ãè¦ã¤ããããªãã£ããã¨ã示ãã¾ãã
訪åè
ãã¦ã§ããã¼ã¸ã§ 500 ã¨ã©ã¼ãç®ã«ãããããµã¼ãã¼ã®ææè
ã¾ãã¯ç®¡çè
ã調æ»ãè¡ããã¨å¿
è¦ãããã¾ãã
500 ã¨ã©ã¼ã®åå ã¨ãªãå¾ããã®ã¯æ°å¤ããããä¸é©åãªãµã¼ãã¼è¨å®ãã¡ã¢ãªã¼ä¸è¶³ (OOM) ã®åé¡ãæªå¦çã®ä¾å¤ãä¸é©åãªãã¡ã¤ã«æ¨©éãä»ã«ãè¤åçãªè¦å ãèãããã¾ãã
ãµã¼ãã¼ç®¡çè
ã¯ãå°æ¥çã«ãµã¼ãã¹ã®å®å®æ§ãåä¸ãããããã«ã500 ã¹ãã¼ã¿ã¹ã³ã¼ãã®ãããªãµã¼ãã¼ã¨ã©ã¼ã¬ã¹ãã³ã¹ã®çºçãããªã¯ã¨ã¹ããããå
容ã®è©³ç´°ã¨ã¨ãã«ç©æ¥µçã«è¨é²ãã¦ãããã¨ãããã¾ãã
ã¹ãã¼ã¿ã¹
500 Internal Server Error
ä¾
>500 ãµã¼ãã¼ã¨ã©ã¼ã¬ã¹ãã³ã¹
以ä¸ã®ãªã¯ã¨ã¹ãã¯ã¦ã§ããã¼ã¸ãåå¾ãããã¨ãã¾ããã500 ã¬ã¹ãã³ã¹ãè¿ããã¾ãã ã¬ã¹ãã³ã¹æ¬ä½ã«ã¯ããµã¼ãã¼ã®ç¶æ ãè¨è¿°ãããã¼ã¸ã¨ãæ¥è¨ªè åãã®ãµãã¼ããã¼ã¸ã¸ã®ãªã³ã¯ãå«ã¾ãã¦ãã¾ãã ãµã¼ãã¼ç®¡çè ãåé¡ã®æ ¹æ¬åå ãç¹å®ããã®ã«å½¹ç«ã¤å¯è½æ§ãããæ¹æ³ã示ãããã«ãã¬ã¹ãã³ã¹æ¬ä½ã«ã¯èå¥åãå«ã¾ãã¦ãã¾ãã
GET /highlights HTTP/1.1
Host: example.com
User-Agent: curl/8.6.0
Accept: */*
HTTP/1.1 500 Internal Server Error
Content-Type: text/html;
Content-Length: 123
<!doctype html>
<html lang="en">
<head>
<title>500 Internal Server Error</title>
</head>
<body>
<h1>Internal Server Error</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>
<p>Server logs contain details of this error with request ID: ABC-123.</p>
</body>
</html>
仿§æ¸
| Specification |
|---|
| HTTP Semantics > # status.500 > |