jenkinsci / docker-plugin

Jenkins cloud plugin that uses Docker
https://plugins.jenkins.io/docker-plugin/
MIT License
489 stars 319 forks source link

Error when test connection: Read timed out, Perhaps the docker API is not responding normally. #716

Closed waleedurehman closed 5 years ago

waleedurehman commented 5 years ago
rpelisse commented 4 years ago

@waleedurehman I'm running into the same issue. Did you ever resolve the problem?

pjdarton commented 4 years ago

FYI the clues are in the error message: it's telling you the endpoint it tried to talk to, and what happened (no response within the specified timeout). From the Jenkins plugin's point of view, that's all it can tell you - what it was trying to do and when it gave up waiting. The additional text "Perhaps the docker API (tcp://DockerHost-remote:4243) is not responding normally, or perhaps you need to increase the readTimeout value." is just a hint regarding the usual causes of this error.

To fix it, you need to ensure that: