Seeing "java.io.IOException: Connection reset by peer" in ssh server in Fabric
Issue
Our Fuse Fabric containers occasionally or regularly log the following exception:
2016-02-19 13:26:57,257 | INFO | 0]-nio2-thread-1 | ServerSession | 31 - org.apache.sshd.core - 0.14.0 | Server session created from /127.0.0.1:34028
2016-02-19 13:26:57,259 | WARN | 0]-nio2-thread-1 | ServerSession | 31 - org.apache.sshd.core - 0.14.0 | Exception caught
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)[:1.8.0_60]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)[:1.8.0_60]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)[:1.8.0_60]
at sun.nio.ch.IOUtil.read(IOUtil.java:197)[:1.8.0_60]
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:508)[:1.8.0_60]
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)[:1.8.0_60]
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)[:1.8.0_60]
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)[:1.8.0_60]
at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:170)[31:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:135)[31:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:120)[31:org.apache.sshd.core:0.14.0]
at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_60]
at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)[31:org.apache.sshd.core:0.14.0]
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.8.0_60]
at sun.nio.ch.Invoker$2.run(Invoker.java:218)[:1.8.0_60]
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
Does it affect the stability of our Fabric?
Environment
- JBoss Fuse 6.x
- Fabric
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.