sshj icon indicating copy to clipboard operation
sshj copied to clipboard

Exception in the reader thread

Open srikarn opened this issue 5 years ago • 6 comments
trafficstars

2020-06-25 17:24:58.485 ERROR 73802 --- [ reader] n.schmizz.sshj.transport.TransportImpl : Dying because - Broken transport; encountered EOF

net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.29.0.jar:0.29.0]

Is there a way to handle this error, I couldn't find the ability to set exception handler for this thread.

srikarn avatar Jun 25 '20 21:06 srikarn

This exception occurs when the server side unexpectedly closes the connection.

hierynomus avatar Jul 02 '20 07:07 hierynomus

Same issue over here. What can be done?

rEVOLution-BlackMamba avatar Feb 27 '23 19:02 rEVOLution-BlackMamba

More logs are needed (preferably both client and server side) to determine what went wrong.

hierynomus avatar Feb 27 '23 19:02 hierynomus

I don't have acces to the server side, and from my part this is the only relevant part of the log. I am usign akka.stream.alpakka.ftp library from my scala code.

rEVOLution-BlackMamba avatar Mar 01 '23 19:03 rEVOLution-BlackMamba

you would really need to have a trace and preferably server side log to determine what went wrong. As you can imagine from a 2 line stacktrace excerpt with a message Broken transport: unexpected EOF I cannot venture to guess what went wrong in your application

hierynomus avatar Mar 01 '23 20:03 hierynomus