[
https://issues.apache.org/jira/browse/SSHD-786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16281411#comment-16281411
]
ASF GitHub Bot commented on SSHD-786:
-------------------------------------
GitHub user lgoldstein opened a pull request:
https://github.com/apache/mina-sshd/pull/40
[SSHD-786] Clients can't authenticate after unexpected exception in
Nio2Acceptor
I have decide to along with _Guillaume_'s suggestion but with a minor twist
- if the attempt to re-accept fails we do not call _fail_ in order to avoid
infinite recursion.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lgoldstein/mina-sshd SSHD-786
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mina-sshd/pull/40.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #40
----
commit 947840027e9a110d13686d18240b64659988a326
Author: Goldstein Lyor <[email protected]>
Date: 2017-12-07T06:30:33Z
[SSHD-786] Mark Nio2Service correctly as disposing when dispose() called
commit 91074db17be498c0870affa4991f4a2a9e0f0fbb
Author: Goldstein Lyor <[email protected]>
Date: 2017-12-07T07:02:35Z
[SSHD-786] Clients can't authenticate after unexpected exception in
Nio2Acceptor
----
> Clients can't authenticate after unexpected exception in Nio2Acceptor
> ---------------------------------------------------------------------
>
> Key: SSHD-786
> URL: https://issues.apache.org/jira/browse/SSHD-786
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.2.0, 1.3.0, 1.4.0, 1.6.0
> Environment: Windows
> Reporter: masc
> Assignee: Goldstein Lyor
>
> {code}
> 2017-11-28 15:26:54,808 11566202 sshd-SshServer[434a2a10]-nio2-thread-4
> org.apache.sshd.common.io.nio2.Nio2Acceptor WARN - Caught IOException while
> accepting incoming connection from /0:0:0:0:0:0:0:0:13003: The specified
> network name is no longer available.
> java.io.IOException: The specified network name is no longer available.
> at sun.nio.ch.Iocp.translateErrorToIOException(Iocp.java:309)
> at sun.nio.ch.Iocp.access$700(Iocp.java:46)
> at sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:399)
> at java.lang.Thread.run(Thread.java:748)
> {code}
> As soon as this exception occurs once, clients can still connect but will
> fail to authenticate.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)