hierynomus / hierynomus/sshj

Connecting with 8 concurrent connections already causes a TransportException

Open
#147 2 comments 0 reactions 0 assignees View on GitHub
undiagnosed
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

Haven't investigated too much so this may not be a bug but even if the Server accepts more than 8 concurrent connections, I get the following exception when trying to open up a 9th concurrent connection:

Calling SshClient.connect with 8 concurrent connections already causes a Connection reset
net.schmizz.sshj.transport.TransportException: Connection reset
at net.schmizz.sshj.transport.TransportImpl.init(TransportImpl.java:165)
at net.schmizz.sshj.SSHClient.onConnect(SSHClient.java:683)
at net.schmizz.sshj.SocketClient.connect(SocketClient.java:71)
at net.schmizz.sshj.SocketClient.connect(SocketClient.java:77)
...
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:196)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at net.schmizz.sshj.transport.TransportImpl.init(TransportImpl.java:159)
... 14 more

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.