Docker Community Forums

Share and learn in the Docker community.

Error parsing HTTP 408

I installed docker on raspbian. when input command " docker run hello-world", it show error

docker: Error response from daemon: error parsing HTTP 408 response body: invalid character ‘<’ looking for beginning of value: “

408 Request Time-out

\nYour browser didn’t send a complete request in time.\n\n\n”.

Please hep fix this error.
Docker version 20.10.4

A 408 Request Timeout message is an HTTP status code that is returned to the client when a request to the server takes longer than the server’s allocated timeout window. In this case, the server will terminate the connection if it is idle and thus return the 408 Request Timeout message.

In certain cases, it can be difficult to immediately determine the source of an HTTP error. Although 4xx errors are known to be client side errors, this doesn’t mean that the server should be completely ruled out as the culprit. Below are a few things you can check, both on the client and server side in order to try and resolve a 408 error.

Client side#
Double check that the URI is correct: In some cases the URI you request could actually be the cause of the 408 error. Let’s say you accidentally request a URL that requires certain credentials to access, depending on how the server is configured, this could trigger a 408 response from the server.
Check your internet connection: If there is an issue with your Internet connection or it is very slow, this could cause the request to take too long to complete. Thus, if the server’s timeout value is exceeded, a 408 error may be returned.
Try reloading the page: There may be either a temporary issue on the client side or even the server side, try refreshing the page that you are trying to access to see if the issue gets resolved.

I hope this information will be helpful!
Mark Wilson