When you visit websites on the internet, you access them through your web browser. The basis for this trans­mis­sion, which is handled by default through TCP, is the stateless protocol HTTP (“Hypertext Transfer Protocol”), which describes the initial exchange of messages between web server and browser. According to the classic client-server principle, the browser issues an HTTP request, after which the server sends back a response which includes a status code.

While you don’t notice most of this com­mu­ni­ca­tion as a user, the situation is usually different when it comes to HTTP error codes: if a problem occurs during the exchange, the browser often presents cor­re­spond­ing code in the 4xx and 5xx series, which stand for various client or server-side error sources. For example, the HTTP 408 message tells you that the client request timed out. How, exactly, this timeout occurs and how you can solve the problem will be explained in this guide.

What does the http 408 error code mean?

The HTTP error code 408 – like all members of the 4xx error series – is one of the messages that indicate a client-side problem. When you go into the back­ground of this error message in more detail, however, it becomes clear that it does not nec­es­sar­i­ly have to be a browser mal­func­tion: Error 408 is linked to “Request Timeout” in­for­ma­tion, which simply means that the request sent from the client to the web server took more time than the web server allows for. As a result, the browser receives the HTTP 408 message instead of the actual response. Of course, this may be due to problems with your internet con­nec­tion, but it cannot be ruled out that the timeout is the result of an overload or incorrect con­fig­u­ra­tion of the web server.

An overview of possible reasons for “408: Request Timeout” error messages

Although there are over 50 different  HTTP status codes, more than half of which are error messages, these messages often only prove to be a rough guideline for the following problem solution. This also applies to error code 408, which basically just says that too much time has passed in a pre­scribed time interval after es­tab­lish­ing at TCP/IP con­nec­tion without data trans­fer­ring through the con­nec­tion. However, there are several possible causes for this delay, and for the sub­se­quent error messages, for example:

  • Bandwidth problems and dis­con­nec­tions: HTTP 408 messages often result from problems with your internet con­nec­tion. For example, the bandwidth may be so low that the HTTP request fails due to the defined time interval. It is also possible that the internet con­nec­tion to the server was tem­porar­i­ly in­ter­rupt­ed after the TCP/IP con­nec­tion was es­tab­lished, so the request data might not have been com­plete­ly sent.
     
  • Trying to access incorrect or in­ac­ces­si­ble URLs: Not every website URL is available to visitors without en­cryp­tion. If you in­ad­ver­tent­ly try to access a page that you have no au­tho­riza­tion for, or you try to access an HTTPS page that doesn’t have an SSL/TLS activated, a 408 timeout could certainly occur. In addition, many URLs have re­stric­tions regarding the permitted HTTP request methods (GET, POST, HEAD, PUT, and so on), so the timeout can also be the result of an in­cor­rect­ly applied method. In both cases, however, there are also standard messages that indicate the problem (“403: Forbidden“ for unau­tho­rized access attempts and “405: Method Not Allowed” for un­avail­able HTTP methods).
     
  • Incorrect web server con­fig­u­ra­tion: Re­gard­less of the web server software used, the website runner specifies how many seconds an HTTP request should be rejected in the re­spec­tive con­fig­u­ra­tion file. There are separate values for the header and the body of the HTTP messages. If the server chooses too short a time interval for pro­cess­ing one or both package com­po­nents, this may well be the reason for the 408 error on user pages.
     
  • Plugins, ex­ten­sions, modules, etc.: A problem that can be both a client-side and a server-side problem is the use of faulty or outdated ex­ten­sions. Therefore, both the browser plugins used by the website visitor and the CMS modules used by the operator could be re­spon­si­ble for the HTTP timeout and cause the HTTP 408 error.

HTTP-408: how to solve the http timeout problem as a browser user

If you are con­front­ed with a “408: Request Timeout” message when visiting a website, you are naturally in­ter­est­ed in the quickest possible solution to the problem. However, you cannot always fix the problem on your own. If the error is ex­clu­sive­ly on the client side, chances are good that you can correct the 408 error using one of the following ap­proach­es.

Solution 1: check URL

Before you go on more intensive trou­bleshoot­ing, your very first look should be at the URL you entered. The URL you have chosen might no longer be ac­ces­si­ble to you. This happens in par­tic­u­lar if you try to access the targeted website using old bookmarks. If the website in question has made changes to per­mis­sions or permitted request methods in the interim, or has switched to HTTPS, it is very likely that the saved link will no longer lead to the website, but instead the HTTP-408 or com­pa­ra­ble error messages. So make sure that the URL you entered is correct and up to date to avoid this error source.

Solution 2: check internet con­nec­tion and restart router

Problems with an internet con­nec­tion are always a nerve-racking affair. Sometimes, the con­nec­tion no longer works at all, so access to the web remains com­plete­ly closed. While you will in­evitably notice these complete failures, in most cases you won’t notice any temporary fluc­tu­a­tions or con­nec­tion in­ter­rup­tions. So, the cause for slow loading times and error messages during loading – like the 408 error – should be quick to find on the visited website. For this reason, it is rec­om­mend­ed that you check your own network con­nec­tion by visiting other websites or per­form­ing a DSL speed test, for example.

If you find that there are technical dif­fi­cul­ties with your access, you should reboot your router. If the con­nec­tion problem persists, you should contact your internet provider.

Solution 3: disable browser ex­ten­sions

With plugins, addons, or ex­ten­sions, web browser functions can be extended with just a few clicks. However, the practical ex­ten­sions do not always work as desired – in the worst case, they make the surfing ex­pe­ri­ence worse and cause error messages like HTTP-408, often because the ex­ten­sions are outdated and/or no longer com­pat­i­ble with the current browser version, since they are no longer actively developed. To test whether the timeout error is due to one or more included ex­ten­sions, tem­porar­i­ly de­ac­ti­vate them com­plete­ly. Once the problem is resolved, you can turn on the plugins one by one to find out which was re­spon­si­ble for the HTTP error message.

Solution 4: try to access the website at a later time

The “408: Request Timeout” error cannot always be corrected using the sug­ges­tions listed above – e.g. if it is due to prolonged problems with your network con­nec­tion. In this case, it is advisable that you wait and try again at a later date. If the HTTP exchange still fails, it is highly likely that the cause of the error lies in the web server. If the re­spon­si­ble website has provided ap­pro­pri­ate contact data, you can find out whether they are aware of the problem and when the page will be available as usual again.

How to fix HTTP Error 408 if you run a website

While the HTTP timeout problem is primarily annoying for visitors because the target page cannot be opened, its impact on website operators can be much bigger. If many users are con­front­ed with the error message over a longer time, this not only has a negative effect on traffic, but also on the website’s rep­u­ta­tion. In addition, there is also the threat of pun­ish­ment by search engines if HTTP 408 errors occur more fre­quent­ly of if a cor­rec­tion takes too long. If you are re­spon­si­ble for a website, you should take immediate action once you discover the issue.

Solution 1: check web server con­fig­u­ra­tion

Incorrect settings are among the most common server-side HTTP error code causes (like “408: Request Timeout”). You should check the re­spec­tive file first, either on Apache (httpd.conf; apache2.conf), NGINX (nginx.conf), or others. In Apache web server settings, for example, the di­rec­tives “KeepAlive­Time­out” and “Re­questRead­Time­out” deserve special attention. Both specify a time interval for incoming HTTP requests, which may be too low (15 or even 30 seconds is rec­om­mend­ed). If your website runs on an NGINX server, the di­rec­tives are “keepalive_timeout,” “client_body_timeout,” and “client_header_timeout.” Do not forget to save the changes to the re­spec­tive con­fig­u­ra­tion file before starting the web server to finally resolve the HTTP 408 problem.

Solution 2: inspect server logs and customize prob­lem­at­ic pages

As mentioned above, HTTP error 408 only occurs on one page or in­di­vid­ual pages on a website because those pages have con­fig­u­ra­tion errors with their action rights and permitted HTTP methods. So if you discover a timeout problem, it is rec­om­mend­ed to check which URL(s) are causing the HTTP error. To avoid having to access each page manually, just take a look at your web server’s error log file, where all the HTTP errors are au­to­mat­i­cal­ly archived. Once you have iden­ti­fied the prob­lem­at­ic pages, you can search for specific causes for the timeout and, if necessary, make changes to the access rights and methods.

Note

You can usually also view the web server error logs if you are hosting your website with a web hosting provider. To do this, log onto the re­spec­tive customer account, which should include a section with server sta­tis­tics including down­load­able server logs. If you cannot find the cor­re­spond­ing menu item on your own, the FAQ area or provider’s service team should be able to help.

Solution 3: de­ac­ti­vate obsolete, faulty modules, templates, and plugins in the CMS

Content man­age­ment systems are in high demand as a basis for websites. A major advantage of these platforms is their high degree of ex­ten­si­bil­i­ty through modules, templates, and plugins, which provide ad­di­tion­al functions, layouts, and designs. These ex­ten­sions, like their client-side coun­ter­parts, can also be re­spon­si­ble for the 408 request timeout. In the abundance of ad­di­tion­al modules and plugins, there are always rep­re­sen­ta­tives who promise a huge added value for their own product, but in the end they don’t work the way they should or stop being developed at a certain point. This is es­pe­cial­ly true for ex­ten­sions from third-party vendors, where there may be problems with every new CMS version. The simple solution is to disable plugins (and modules if necessary).

Note

Even if all modules and plugins work properly, the ex­ten­sions can cause errors like the HTTP-408 error: if you use too many ex­ten­sions in your CMS, this can neg­a­tive­ly affect the per­for­mance of your website. Make sure you switch off any un­nec­es­sary or no longer required ad­di­tion­al functions and design com­po­nents in time to be able to exclude these scenarios.

Solution 4: check and repair code

Of course, the error does not always have to be traced back to an external source, but can just as easily be hidden in your own code. If you are dealing with error code 408 and have not yet found a solution, either during the web server con­fig­u­ra­tion file in­spec­tion or during the content man­age­ment system check, it is advisable to look at the HTML framework, as well as the built-in CSS snippets and scripts (JavaScript, PHP, etc.). Do not hesitate to perform a complete debugging process with the ap­pro­pri­ate software if the timeout problem cannot be solved any other way. This allows you to ef­fi­cient­ly locate and repair faulty code.

Solution 5: increase server resources

The more HTTP requests reach the web server, the more resources it needs for pro­cess­ing. If the available computing power is not suf­fi­cient to handle the incoming traffic, error messages like “408: Request Timeout” are not uncommon. If your budget allows, you should consider in­creas­ing processor per­for­mance and memory.

Note

If your server’s per­for­mance is poor despite having suf­fi­cient resources, this may indicate technical problems with your hosting provider. Under these cir­cum­stances, you cannot correct an HTTP error 408 by posting ad­di­tion­al service com­po­nents. Your only option is to contact the provider directly to get detailed in­for­ma­tion for possible trou­bleshoot­ing.

Go to Main Menu