Connection Timed Out
Symptom 1
After you add the deployment action Run Docker Command and set Command to pull, the error message request canceled while waiting for connection is displayed.
Cause Analysis
The image to be pulled is not tagged with the repository address, repository branch, or username, or the tag information is incorrect.
Solution
Enter a correct and complete image name, and try to pull the image again.
Symptom 2
After you add the deployment action Run Docker Command and set Command to push, the error message request canceled while waiting for connection is displayed.
Cause Analysis
The image to be pushed is not tagged with the repository address, repository branch, or username, or the tag information is incorrect.
Solution
Run the tag command to tag the correct repository branch information for the image to be pushed, and try to push the image again.
Symptom 3
After you add the deployment action Run Docker Command and set Command to login, the error message request canceled while waiting for connection(Client.Timeout exceeded while awaiting headers) is displayed.
Cause Analysis
- The image repository address is incorrect. As a result, the connection fails and Docker fails to verify the v2 interface.
- The host does not have the permission to access external networks or is not configured with a proxy. As a result, the connection to the remote image repository times out.
Solution
- Check the image repository address to ensure that it is correct and reachable.
- Configure a proxy for the host to connect to the image repository.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot