Skill level: Easy
Time required: 3 minutes
When a web browser sends a request to a server, the server responds with a specific status code. Sometimes, a webpage or website encounters an error without a clear root cause. In such situations, the server returns an HTTP 500 error, commonly referred to as an internal server error.
Among the various status codes, 5xx codes indicate server-side issues. The leading digit "5" signifies that the error originates from the server. These codes, typically ranging from 500 to 510, indicate that the server was unable to complete the request due to an internal error. Below is a list of common 5xx errors:
Error | Message | Description |
500 | Internal server error | When a server encounters an unexpected condition. |
501 | Not implemented | When an HTTP method sent to a server is not supported. This is a rare situation and is caused when a web server is outdated. |
502 | Bad gateway | When servers are configured improperly, when there is poor IP communication between back-end computers, when the client's server is overloaded, or when a firewall is functioning improperly. |
503 | Service unavailable | When a server is unable to handle requests due to overload or a server is closed for maintenance. |
504 | Gateway timeout | When a server does not receive responses in a timely manner from other servers in a chain. This might be due to slow communication amongst the chain of computers. |
505 | HTTP version not supported | When a server refuses to support a specific HTTP protocol defined by the client computer. |
506 | Variant also negotiates | When a server is configured improperly. |
507 | Insufficient storage | When a server is out of free memory and fails to allocate a set of free resources to run a requested service. |
509 | Bandwidth limit exceeded | When a server's bandwidth limit set by the admin is reached. |
510 | Not extended | When a server does not support the extension attached to an HTTP request. |
Comments
0 comments
Please sign in to leave a comment.