You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Martin Lichtin <li...@yahoo.com> on 2022/01/10 14:49:30 UTC

SSH issue when trying to upgrade from 4.2.11 to 4.2.14

I've an issue upgrading from 4.2.11 to 4.2.14.

Programmatically connecting via SSH into Karaf, this works fine with 
4.2.11. Using an SSH session one can remotely execute several commands. 
However, with 4.2.14, after executing one command, that SSH Session to 
Karaf starts to hang.

See attached some test code that can be used to reproduce the issue.

- Martin



Re: SSH issue when trying to upgrade from 4.2.11 to 4.2.14

Posted by Martin Lichtin <li...@yahoo.com>.
https://issues.apache.org/jira/browse/KARAF-7358

On 15/01/2022 06:17, Jean-Baptiste Onofre wrote:
> Possible. I already changed the stream handling.
>
> Can you create a Jira dedicated to that ? I will take a look.
>
> Thanks,
> Regards
> JB
>
>> Le 14 janv. 2022 à 16:16, Martin Lichtin <li...@yahoo.com> a écrit :
>>
>> Hmm, still seeing this issue with 4.2.15
>>
>> It could be the change done for KARAF-7190 was not correct?
>> The 2.5.1 ssh upgrade can't be the issue as ssh-2.5.1 is already used in 4.2.11 and in that Karaf version the issue does not show up.
>>
>> - Martin
>>
>> On 10/01/2022 17:05, Jean-Baptiste Onofre wrote:
>>> Hi,
>>>
>>> I think it’s what I fixed for 4.2.15 (closing the ssh session).
>>>
>>> Let me double check the commit id.
>>>
>>> Regards
>>> JB
>>>
>>>> Le 10 janv. 2022 à 15:49, Martin Lichtin <li...@yahoo.com> a écrit :
>>>>
>>>> I've an issue upgrading from 4.2.11 to 4.2.14.
>>>>
>>>> Programmatically connecting via SSH into Karaf, this works fine with 4.2.11. Using an SSH session one can remotely execute several commands. However, with 4.2.14, after executing one command, that SSH Session to Karaf starts to hang.
>>>>
>>>> See attached some test code that can be used to reproduce the issue.
>>>>
>>>> - Martin
>>>>
>>>>
>>>> <KarafConnectViaSshTest.java>
>

Re: SSH issue when trying to upgrade from 4.2.11 to 4.2.14

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Possible. I already changed the stream handling.

Can you create a Jira dedicated to that ? I will take a look.

Thanks,
Regards
JB

> Le 14 janv. 2022 à 16:16, Martin Lichtin <li...@yahoo.com> a écrit :
> 
> Hmm, still seeing this issue with 4.2.15
> 
> It could be the change done for KARAF-7190 was not correct?
> The 2.5.1 ssh upgrade can't be the issue as ssh-2.5.1 is already used in 4.2.11 and in that Karaf version the issue does not show up.
> 
> - Martin
> 
> On 10/01/2022 17:05, Jean-Baptiste Onofre wrote:
>> Hi,
>> 
>> I think it’s what I fixed for 4.2.15 (closing the ssh session).
>> 
>> Let me double check the commit id.
>> 
>> Regards
>> JB
>> 
>>> Le 10 janv. 2022 à 15:49, Martin Lichtin <li...@yahoo.com> a écrit :
>>> 
>>> I've an issue upgrading from 4.2.11 to 4.2.14.
>>> 
>>> Programmatically connecting via SSH into Karaf, this works fine with 4.2.11. Using an SSH session one can remotely execute several commands. However, with 4.2.14, after executing one command, that SSH Session to Karaf starts to hang.
>>> 
>>> See attached some test code that can be used to reproduce the issue.
>>> 
>>> - Martin
>>> 
>>> 
>>> <KarafConnectViaSshTest.java>
>> 


Re: SSH issue when trying to upgrade from 4.2.11 to 4.2.14

Posted by Martin Lichtin <li...@yahoo.com>.
Hmm, still seeing this issue with 4.2.15

It could be the change done for KARAF-7190 was not correct?
The 2.5.1 ssh upgrade can't be the issue as ssh-2.5.1 is already used in 
4.2.11 and in that Karaf version the issue does not show up.

- Martin

On 10/01/2022 17:05, Jean-Baptiste Onofre wrote:
> Hi,
>
> I think it’s what I fixed for 4.2.15 (closing the ssh session).
>
> Let me double check the commit id.
>
> Regards
> JB
>
>> Le 10 janv. 2022 à 15:49, Martin Lichtin <li...@yahoo.com> a écrit :
>>
>> I've an issue upgrading from 4.2.11 to 4.2.14.
>>
>> Programmatically connecting via SSH into Karaf, this works fine with 4.2.11. Using an SSH session one can remotely execute several commands. However, with 4.2.14, after executing one command, that SSH Session to Karaf starts to hang.
>>
>> See attached some test code that can be used to reproduce the issue.
>>
>> - Martin
>>
>>
>> <KarafConnectViaSshTest.java>
>

Re: SSH issue when trying to upgrade from 4.2.11 to 4.2.14

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,

I think it’s what I fixed for 4.2.15 (closing the ssh session).

Let me double check the commit id.

Regards
JB

> Le 10 janv. 2022 à 15:49, Martin Lichtin <li...@yahoo.com> a écrit :
> 
> I've an issue upgrading from 4.2.11 to 4.2.14.
> 
> Programmatically connecting via SSH into Karaf, this works fine with 4.2.11. Using an SSH session one can remotely execute several commands. However, with 4.2.14, after executing one command, that SSH Session to Karaf starts to hang.
> 
> See attached some test code that can be used to reproduce the issue.
> 
> - Martin
> 
> 
> <KarafConnectViaSshTest.java>