ec2-plugin can create instances but doesn't keep the ssh connection

Issue

  • ec2-plugin can create instances but doesn’t keep the ssh connection
  • You see a stacktrace like the one below:
Waiting for SSH to come up. Sleeping 5.
Connecting to XX.XX.XX.XX on port 22, with timeout 10000.
Waiting for SSH to come up. Sleeping 5.
Connecting to XX.XX.XX.XX on port 22, with timeout 10000.
Waiting for SSH to come up. Sleeping 5.
Connecting to XX.XX.XX.XX on port 22, with timeout 10000. 

Environment

  • CloudBees Jenkins Enterprise
  • ec2-plugin 

Resolution

This usually happens because you have a HTTP Proxy Configuration under http://<JENKINS_URL>/pluginManager/advanced that maybe you don’t need or you don’t really want to use for the ec2-plugin.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.