We're updating the issue view to help you get more done. 

Terminating ssh connection to node results in stack trace being thrown to the console

Description

Start up a node with ssh enabled
SSH to the node
Terminate the SSH session.

An stack trace is thrown to the console. SSH sessions being terminated is a normal occurrance and shouldn't throw stack traces to the console (maybe an INFO log saying "SSH Session terminated" or something like that)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 java.io.InterruptedIOException: Interrupted at cycle #0 while waiting for data to become available at org.apache.sshd.common.channel.ChannelPipedInputStream.read(ChannelPipedInputStream.java:138) at org.apache.sshd.common.channel.ChannelPipedInputStream.read(ChannelPipedInputStream.java:100) at org.crsh.console.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:166) at org.crsh.console.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:135) at org.crsh.console.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:243) at org.crsh.console.jline.internal.InputStreamReader.read(InputStreamReader.java:257) at org.crsh.console.jline.internal.InputStreamReader.read(InputStreamReader.java:194) at org.crsh.console.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2147) at org.crsh.console.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2137) at org.crsh.console.jline.JLineProcessor.run(JLineProcessor.java:111) at org.crsh.ssh.term.CRaSHCommand.run(CRaSHCommand.java:100) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048) at org.apache.sshd.common.channel.ChannelPipedInputStream.read(ChannelPipedInputStream.java:135) ... 11 more

Tested on Windows using PuTTY as an SSH client.

Status

Assignee

Stefan Andjelic

Reporter

Anthony Keenan

Priority

Medium

Labels

None

Severity

Low

Fix versions

Ported to...

None

Feature Team

Operational Experience

Affected OS

Windows

Affects versions

Corda 4 RC03
Corda Enterprise 4.1
Corda 4.1