question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.1 breaks SSH connectivity

See original GitHub issue

Hi,

Just upgraded the docker-plugin to version 1.1 - and my system stopped working.

For some reason, SSH connectivity is broken: As can be seen from the attached log, the plugin tries 30 times to connect to the Docker container without success. It then gives up.

Former plugin version is 1.0.4 and works fine with the same setup. I have a VMware snapshot of the machine before the upgrade, and by restoring to the snapshot and trying over and over again, I can reproduce the problem.

One would then expect that everything would be fine by reverting to 1.0.4 through the Jenkins UI; but unfortunately, that’s not the case. It still doesn’t work - though it fails with another error. See attached log.

Jenkins is 2.93, running on a fully updated Debian Stretch.

`jenkins@dscrum-is-i01:~$ java -version openjdk version “1.8.0_151” OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12) OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

jenkins@dscrum-is-i01:~$ docker --version Docker version 17.09.0-ce, build afdb6d4 `

A complete plugin list is attached.

I can keep the relevant snapshots for a while to aid troubleshooting if needed.

Regards, Lars

Jenkins cloud setup:

docker-cloud-setup

The template in question:

docker-template-setup

Start of node failure log:

node-startup

End of node failure log:

node-failure

Node failure log after plugin revert to 1.0.4:

node-startup-after-plugin-revert

Complete list of plugins:

plugin-list.txt

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:80 (47 by maintainers)

github_iconTop GitHub Comments

2reactions
magn2commented, Dec 8, 2017

Same problem here… Why is it, that everytime I update this specific plugin, it breaks my setup? 😠

1reaction
ndeloofcommented, Dec 11, 2017

If you land on this page because you hit this exact same issue please

  • try using jenkins/ssh-slave to check the cause comes from some weird sshd behaviour
  • if launcher works with jenkins/ssh-slave, please post details about your docker image (a Dockerfile to reproduce would be awesome)
  • as a short terms workaround, switch to “attach” docker launcher
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the SSH "Connection Refused" Error
Why Is My SSH Connection Refused? (5 Reasons for Connectivity Errors) · 1. Your SSH Service Is Down · 2. You Have the...
Read more >
Git Bash - ssh connection issue
Git For Windows 2.33.1 comes with OpenSSH 8.8 which disables RSA signatures using the SHA-1 hash algorithm by default.
Read more >
How to Fix The "Connection reset by peer" SSH Error
The “ssh_exchange_identification: read: Connection reset by peer” error indicates that the remote machine abruptly closed the Transition Control ...
Read more >
SSH errors and other oddities (1.1.2)
My single SSH session and my web GUI login.<insert coffe break>Here we are, an hour later, and the SSH session is still present,...
Read more >
How to prevent "Write Failed: broken pipe" on SSH ...
The rest of the network functions in the machine are not interrupted. So no, it's neither a network problem, nor a server problem,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found