Welcome to Web Hosting Forum - Net Hosting Talk

Register now and be part of our community! When you register with the Net Hosting Talk you can join in with topics, start new topics, and generally be a part of the first level of our community. It's also quick and totally free, so what are you waiting for?

The most common server errors

nhtadmin 

Administrator
Moderator
Premium Member
Messages
38
Reaction score
18
Browsing the internet consists on the user's side of loading web pages. Each time a web is loaded an HTTP status code is sent that shows whether the website load has been correctly performed or if on the contrary server errors have occurred. Since most of the time the load occurs correctly the HTTP status code is not displayed to the user.

However, when an error occurs the browser returns the error code to inform the user of what has happened. These HTTP status codes are divided into five types according to their function or origin. Thus, 1xx codes are for informational purposes only the 2xx indicate that the request occurred correctly HTTP 3xx codes address redirects the errors 4xx refer to customer errors occur and 5xx server errors.

HTTP 5xx status code: server errors

Errors headed by a "5" have to do with failures that occur in the server and that prevent a web from loading properly. Typically, this type of errors occur due to problems in the content of the web for example, the use of images that are too heavy. In any case, the HTTP status code itself will tell you where the problem that caused the error on the server is.

Most common 5xx errors
  • 500. Internal server error. Generally, an error 500 is related to errors in the code that prevent the web from being used correctly although it may also be because it is not possible to specify the error. If your website returns an error 500, check the error log to find more information and solve the bug.
  • 502. Incorrect gateway. A server is nothing more than a link between a browser and the content stored on the server. Therefore, if there is no agreement in the communication protocol, an error 502 will be returned. Generally, error 502 is the consequence of a bad connection of the hosting provider or an overload of the service.
  • 503. Service not available. When for maintenance tasks or as a consequence of an overload the server is not available. If your website returns an error 503 contact your web hosting provider to check if for example it is being updated. In the event that the server error occurs as a result of an overload you will have to assess the possibility of extending the service so that these types of server failures stop occurring.
  • 504. Server time has run out. Errors 504 occur when the estimated time to respond to a request is exhausted without it being possible to offer a result. This server error means that the communication between the browser and the server is being too slow. To solve an error 504 it will be necessary to review in addition to the functioning of the server, the content of the web. The most probable thing is that the web weighs too much to be able to be loaded in the estimated time or that has an excess of information that increases the download time.
Other common server errors

If many of the 5xx errors that occur are related to a bad configuration of the web there are others that occur as a result of the lack of server update or lack of resources.
  • 505. HTTP version not supported. Sometimes, it is possible the browser and the server are using different versions of a protocol hence there are incompatibilities between both. To avoid this it will be necessary to update the server so that it uses the same version of the protocol as the browser. In addition updating the server also improves its security.
  • 507. Insufficient storage. When a server does not have enough free memory an error 507 will appear. This can be solved in two ways: eliminating obsolete content from the server or increasing its resources .
  • 509. Broadband limit exceeded. Just as the server memory may run out the same can happen with bandwidth . Some web hosting plans have an assigned broadband limit that when exceeded will cause the server to fail.

Errors are not limited to the web page and the server SMTP errors can also occur in relation to the mailing. Remember that you can find all the information of these errors in your error log. And if you do not know what you have to do contact your hosting provider to help you get your website back to the best conditions.
 
Messages
22
Reaction score
0
I believe most of the webmasters face 500 error with their website when there is permission issue or .htaccess file is not configured properly .
 

hostitsmart

Newbie
Messages
2
Reaction score
0
400 Bad Request.
401 Unauthorized.
403 Forbidden.
404 Not Found.
500 Internal Server Error.
502 Bad Gateway.
503 Service Unavailable.
504 Gateway Timeout.
 

Servers Base

Newbie
Messages
14
Reaction score
0
1. 400 Bad Request error- It means the HTTP request that was sent to the server has invalid syntax.
2. 401 Unauthorized- Unauthorized error, means that the user trying to access the resource has not been authenticated or has not been authenticated correctly.
3. 403 Forbidden- Forbidden error, means that the user made a valid request but the server is refusing to serve the request, due to a lack of permission to access the requested resource.
4. 404 Not Found- Not Found error, means that the user is able to communicate with the server but it is unable to locate the requested file or resource.
5.500 Internal Server Error- The 500 status code, or Internal Server Error, means that server cannot process the request for an unknown reason.
 

Hostwinds

Newbie
Messages
16
Reaction score
2
Thank you for laying these common server errors out all in one post! This is a great resource. Thank you to those who commented with more examples of errors. We appreciate you!
 

Advertisement

Top