java.io.IOException: There was a problem while connecting to localhost:32771


Solutions on the web53

Solution icon of github
There was a problem while connecting to localhost:32771

Solution icon of github
There was a problem while connecting to localhost:32793

Solution icon of github
via GitHub by toejough
, 1 year ago
There was a problem while connecting to localhost:49154

Solution icon of stackoverflow
via Stack Overflow by Deon
, 5 months ago
There was a problem while connecting to

Solution icon of web
via gmane.org by Unknown author, 1 year ago
There was a problem while connecting to

Solution icon of github
There was a problem while connecting to ip:port

Solution icon of github
There was a problem while connecting to 0.0.0.0:32936

Solution icon of github
There was a problem while connecting to gitlab.example.com:22

Solution icon of github
There was a problem while connecting to git.compraactiva.me:22

Solution icon of github
There was a problem while connecting to gl.mydomain.ru:22

Stack trace

java.io.IOException: There was a problem while connecting to localhost:32771
	at com.trilead.ssh2.Connection.connect(Connection.java:818)
	at com.github.kostyasha.yad.utils.HostAndPortChecker.bySshWithEveryRetryWaitFor(HostAndPortChecker.java:89)
	at com.github.kostyasha.yad.launcher.DockerComputerSSHLauncher.waitUp(DockerComputerSSHLauncher.java:90)
	at com.github.kostyasha.yad.DockerCloud.provisionWithWait(DockerCloud.java:219)
	at com.github.kostyasha.yad.DockerCloud.lambda$provision$0(DockerCloud.java:120)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Key exchange was not finished, connection is closed.
	at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:93)
	at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:230)
	at com.trilead.ssh2.Connection.connect(Connection.java:770)
	... 9 more
Caused by: java.io.IOException: Cannot read full block, EOF reached.
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81)
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
	at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
	at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:693)
	at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:489)
	... 1 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago