[
https://issues.apache.org/jira/browse/KARAF-7288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453292#comment-17453292
]
Jean-Baptiste Onofré commented on KARAF-7288:
---------------------------------------------
[~broconne] unfortunately no workaround in 4.3.3 as it's a change in the Karaf
sshd code. You have to downgrade to 4.3.2 or wait 4.3.4 release.
> Karaf client often hangs when executing multiple operations from the command
> line
> ---------------------------------------------------------------------------------
>
> Key: KARAF-7288
> URL: https://issues.apache.org/jira/browse/KARAF-7288
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.3.3
> Environment: Failures have been observed on Ubuntu on WSL, CentOS 8,
> and MacOS 12.
> Reporter: Brian OConnell
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> Version 4.3.3 of Karaf will hang for long periods of time (up to minutes)
> when executing karaf commands from the command line client.
>
> This is new behavior in 4.3.3 and does not exist in 4.3.2
> To reproduce:
> Download Karaf 4.3.3, edit user.properties to allow karaf user login
> run the following bash script:
> ```
> commands=(foo bar baz qux qaz quu)
> for i in "${commands[@]}"
> do
> echo $i
> time ./client -u karaf -p karaf "log:set trace $i"
> done
> ```
> The command will become unresponsive and you cannot ctrl-c to stop it.
>
> This will work consistently on 4.3.2 without hanging.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)