There was an incompatibility I believe in 4.1.3, where a dependency introduced a breaking change in a point release that was picked up by karaf. 4.1.5 has similar problems, though I don't know what the exact cause is there yet. We jumped to 4.1.5 and then back down to 4.1.4 as that one worked. In 4.1.3/4.1.5, external SSH clients work, just not client.bat. Vanilla 4.1.5 download, start karaf.bat, start client.bat, can't login.
> On 05 March 2018 at 13:54 [email protected] wrote: > > > We've seen the same thing. 4.1.3 had a problem, 4.1.5 has a different > problem, 4.1.4 is the sweetspot at the moment. I can't recall the details, > I'll dig them out. > > > On 05 March 2018 at 13:02 Jean-Baptiste Onofré <[email protected]> wrote: > > > > > > Hi Nicolas, > > > > the big issue is just Windows ;) > > > > Without kidding, it seems that the ParsedLine line is null in the Console > > reader. > > > > It could be related to your terminal. What's your Windows version ? > > > > Can you try to cleanup etc/shell.init.script (especially around the color > > settings) ? > > Does it work with Karaf 4.1.4 ? > > > > Thanks ! > > Regards > > JB > > > > On 03/05/2018 01:56 PM, DUTERTRY Nicolas wrote: > > > Hi, > > > > > > > > > > > > I have just downloaded Karaf 4.1.5 and it seems that, under Windows, it > > > is not > > > possible to obtain an interactive SSH session anymore with the script > > > “client.bat”. > > > > > > The login is successful but when I press any key the SSH session ends. > > > > > > I have this error in logs : > > > > > > > > > > > > 2018-03-05T13:35:39,496 | ERROR | Karaf ssh console user karaf | > > > ShellUtil | 43 - org.apache.karaf.shell.core - > > > 4.1.5 | > > > Exception caught while executing command > > > > > > java.lang.NullPointerException: null > > > > > > at > > > org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:348) > > > [43:org.apache.karaf.shell.core:4.1.5] > > > > > > at java.lang.Thread.run(Thread.java:748) [?:?] > > > > > > 2018-03-05T13:35:40,011 | WARN | sshd-SshServer[50ae478a]-nio2-thread-3 | > > > ServerSessionImpl | 48 - org.apache.sshd.core - 1.6.0 | > > > exceptionCaught(ServerSessionImpl[karaf@/127.0.0.1:65321])[state=Opened] > > > IOException: The specified network name is no longer available. > > > > > > > > > > > > Do you have any idea what the issue is ? > > > > > > Regards, > > > > > > -- > > > > > > Nicolas Dutertry > > > > > > Sopra HR Software - http://www.soprahr.com/ > > > > > > > > > > > > > -- > > Jean-Baptiste Onofré > > [email protected] > > http://blog.nanthrax.net > > Talend - http://www.talend.com
