What to do if you get an [An HTTP request took too long to complete.] Error in Docker.

Introduction

If you are using Docker and you get the error ** [An HTTP request took too long to complete.] ** when trying to start the container with docker-compose up -d, this is the solution. ..

Error statement

Until now, I didn't get an error when I started the container, but suddenly I got an error with the same command.

ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

Solutions

In conclusion, restarting *** Docker for Windows *** fixed it. -Click the Docker icon (whale icon) at the top right of the screen. ・ Click *** Quit Docker Desktop ***. -When the app is closed, restart *** Docker for Windows ***. -Start the container with docker-compose up -d. Docker has started successfully.

Finally

I've just started using Docker recently, so I was a little impatient, but it was an easy solution if I dealt with it calmly. I will post it as a memorandum. Thank you for reading to the end: grin:

Recommended Posts

What to do if you get an [An HTTP request took too long to complete.] Error in Docker.
Error displayed by docker as ERROR: An HTTP request took too long to complete.
What to do if you get a gcc error in Docker
What to do if you get a DISPLAY error in gym.render ()
What to do if you get an error in Basic authentication during Rails test code
What to do if you get an error during rails db: reset
What to do if you get an uninitialized constant Likes Controller error
What to do if you get an error when you hit Heroku logs
What to do if you get an error on heroku rake db: migrate
What to do if you get an error with bundle install by entering gem'bcrypt' in your Gemfile
What to do if you get the error Too long with no output (exceeded 10m0s) on CircleCI
What to do if you get a java.io.IOException in GlassFish
What to do if you get a wrong number of arguments error in binding.pry
What to do if you can't get the text of an element in Selenium
What to do if you get the error Couldn't find Item without an ID
[Rails] What to do if you can't get an error message with the errors method
What to do if you get a "302" error in your controller unit test code in Rails
[Java] What to do if you get an error in Eclipse saying "Not allowed at source level below 1.X"
What to do if you get an Argument Error: wrong number of arguments (given 2, expected 0) in your RSpec test
What to do if you get a "Mysql2 :: Error: Operand should contain 1 column (s)" error in Rails
What to do if you get a SQLite3 :: BusyException: database is locked error
What to do if you get the error message unrecognized selector send to instance "***"
What to do if an ActionController :: UnknownFormat error occurs
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do if you get a port error when docker-compose up on Mac
What to do if you get an error saying Cannot find a valid baseurl for repo when you use yum -y install docker in a udemy course using CentOS7
What to do if you get an error saying "Please enter a valid value" when getting with Rails datetime_field
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
What to do if you don't see the test code error message in the terminal console
What to do if you get a "Cannot Pull Container Error" when starting ECS ​​Fargate
What to do if you get angry with OpenSSL with pyenv install
What to do if you forget the root password in CentOS7
[Rails] What to do if you can't get parameters with form_with
What to do if you get angry with "ERROR: There are no scenarios; must have at least one" even though you should have entered yarn in Docker
What to do if an error occurs when doing npm install axios in React + Typescript project
What to do if you install Ubuntu
What to do if you get further occurrences of http header parsing errors will be logged at debug level. In tomcat 8.5.37
Add gem'rails-i18n','~> 6.0.0' and what to do if bundle install gives an error
What to do and how to install when an error occurs in DXRuby 1.4.7
What to do if an error occurs when nokogiri enters when bundle install
no space left on device What to do if an error occurs
What to do if you get a MiniMagick vulnerability alert on GitHub
What to do if you push incorrect information
What to do if you get Could not locate Gemfile or .bundle / directory
wildflly10 java8 ERROR [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl] (Periodic Recovery) IJ000906 What to do if an error occurs
What to do if you get angry if you don't have nokogiri while installing wp2txt
What to do if ffi installation fails when launching an application in Rails
What to do if you get a javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake in the IBM JDK
What to do if you have enabled Use the WSL2 based engine in Docker Desktop with insufficient WSL2 installation
What to do if you get Could not save master table to file after importing a project in Eclipse
What to do if Command line is too long appears when building a gradle project in Intellij IDEA
How to translate the error message into Japanese (What to do if you cannot log in for some reason)
[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina
What to do if you accidentally create a model
What to do if Failure / Error: require File.expand_path ('../ config / environment', __dir__) appears in RSpec
What to do if password authentication fails in Docker/Postgres
[Solution] What to do if you get a Docker error'ERROR: Cannot connect to the Docker daemon at unix: ///var/run/docker.sock. Is the docker daemon running?'
What to do if you get the warning "Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1." in Rails 6.0
How to make a jar with old Hadoop (hadoop-core-0.20.2-cdh3u6) in Gradle: (What to do if you get Could not expand ZIP ..)
<Dot installation> What to do if you cannot proceed due to an error when building a development environment for Rails learning.
What to do if you select a JRE in Eclipse and get "The selected JRE does not support the current compliance level 11"