You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Pawel Sm7 (JIRA)" <ji...@apache.org> on 2015/05/14 16:51:59 UTC

[jira] [Reopened] (SSHD-432) SSH Server fails when is opened and closed 3 times in a row

     [ https://issues.apache.org/jira/browse/SSHD-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pawel Sm7 reopened SSHD-432:
----------------------------

Still not fixed in 0.14.0

> SSH Server fails when is opened and closed 3 times in a row
> -----------------------------------------------------------
>
>                 Key: SSHD-432
>                 URL: https://issues.apache.org/jira/browse/SSHD-432
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Pawel Sm7
>            Assignee: Guillaume Nodet
>
> When I try to start and then stop SSH Server, starting SSH Server for
> the 3. time fails with the error:
> Address already in use: bind.
> In other words, the sequence of actions fail:
> SSH Server start
> SSH Server stop
> SSH Server start
> SSH Server stop
> SSH Server start
> I checked that 2. stop in not fully performed - the 'if' condition is not true:
> CloseableUtils.java, AbstractCloseable.close(), line 282
> if (state.compareAndSet(State.Opened, State.Graceful)) {
> Forcing the condition above to true causes 2. stop to perform
> completely, and as a consequence,
> consecutive SSH Server start/stops work.
> I know this is just workaround, but not complete solution for the problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Re: [jira] [Reopened] (SSHD-432) SSH Server fails when is opened and closed 3 times in a row

Posted by Pawel Sm7 <pa...@gmail.com>.
Hello,

Unfortunately, this issue is still visible in 0.14.0. I reopened the issue.
Regards,

Pawel

2015-05-14 16:51 GMT+02:00 Pawel Sm7 (JIRA) <ji...@apache.org>:
>
>      [ https://issues.apache.org/jira/browse/SSHD-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Pawel Sm7 reopened SSHD-432:
> ----------------------------
>
> Still not fixed in 0.14.0
>
>> SSH Server fails when is opened and closed 3 times in a row
>> -----------------------------------------------------------
>>
>>                 Key: SSHD-432
>>                 URL: https://issues.apache.org/jira/browse/SSHD-432
>>             Project: MINA SSHD
>>          Issue Type: Bug
>>    Affects Versions: 0.13.0
>>            Reporter: Pawel Sm7
>>            Assignee: Guillaume Nodet
>>
>> When I try to start and then stop SSH Server, starting SSH Server for
>> the 3. time fails with the error:
>> Address already in use: bind.
>> In other words, the sequence of actions fail:
>> SSH Server start
>> SSH Server stop
>> SSH Server start
>> SSH Server stop
>> SSH Server start
>> I checked that 2. stop in not fully performed - the 'if' condition is not true:
>> CloseableUtils.java, AbstractCloseable.close(), line 282
>> if (state.compareAndSet(State.Opened, State.Graceful)) {
>> Forcing the condition above to true causes 2. stop to perform
>> completely, and as a consequence,
>> consecutive SSH Server start/stops work.
>> I know this is just workaround, but not complete solution for the problem.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)