Connecting with 8 concurrent connections already causes a TransportException
- 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.