Harikrishna1307 opened a new issue, #418: URL: https://github.com/apache/mina-sshd/issues/418
### Version 2.10.0 ### Bug description When we can close the channel and session objects after writing the commends successfully into the channel, we are getting below warning message. Could you please help me this? WARN ---[state=Graceful] **SshException: Write attempt on closing session: SSH_MSG_CHANNEL_EOF** SshException thows in sshd-common-2.10.0.jar & sshd-core-2.10.0.jar ChannelSession.class asyncIn = new ChannelAsyncOutputStream(this, SshConstants.SSH_MSG_CHANNEL_DATA) { @SuppressWarnings("synthetic-access") @Override protected CloseFuture doCloseGracefully() { // First get the last packets out CloseFuture result = super.doCloseGracefully(); result.addListener(f -> { try { // The channel writes EOF directly through the SSH session sendEof(); } catch (IOException e) { getSession().exceptionCaught(e); } }); return result; } }; AbstractSsshFuture.class protected void notifyListener(SshFutureListener<T> l) { try { T arg = asT(); ThreadUtils.runAsInternal(() -> { l.operationComplete(arg); return null; }); } catch (Throwable t) { warn("notifyListener({}) failed ({}) to invoke {}: {}", this, t.getClass().getSimpleName(), l, t.getMessage(), t); } } ### Actual behavior WARN ---[state=Graceful] SshException: Write attempt on closing session: SSH_MSG_CHANNEL_EOF ### Expected behavior while closing the channel and session objects, below warn message should not be displayed in logs. WARN ---[state=Graceful] **SshException: Write attempt on closing session: SSH_MSG_CHANNEL_EOF ### Relevant log output ```Shell WARN ---[state=Graceful] SshException: Write attempt on closing session: SSH_MSG_CHANNEL_EOF ``` ### Other information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org