<div dir="ltr">Hello.<div><br></div><div>I'am not watching for KDE connect carefully(and I dont know how Mina is used now), but Mina was added by me as simple embedable ssh-server. So if there is another ssh-server implementation of ssh-server for Java it can be used as drop-in replacement. There is a very few lines of code to instantiate ssh-server with Mina so migration must be simple.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-17 3:10 GMT+03:00 Albert Vaca <span dir="ltr"><<a href="mailto:albertvaka@gmail.com" target="_blank">albertvaka@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Vineet,<br><br></div>Some issues are always to be expected when developing something, but we will need to overcome them!<br><br></div><div>I didn't know about Netty at all, but if you think it is going to solve the problem and it's better than Mina, go for it. Actually, I'm not supper happy with Mina because most crashes from KDE Connect come from a weird issue that involves Mina [1].<br><br>If you go for Netty, that is going to require more effort than initially expected, so take it into account so you still meet your project deadlines. The most challenging part will be to make sure that devices running the old version of the app (Mina) and devices running the new one (Netty) are able to talk to each other, so either make sure that you can also have Netty without SSL (best solution), or simply keep Mina and Netty at the same time in different Links (less optimal solution).<br></div><div><br>In any case, I would raise the problem with SSL in Mina and Lollipop online (Mina's mailing
list?) to see if more people also had trouble and know if there is a solution (because we might end up having more problems with Netty and we have to fall back to Mina again).<br><br></div><div>Let us know about your findings on this topic.<br></div><div><br></div><div>[1] Most common crash in KDE Connect: <a href="https://paste.ee/r/6wt4y" target="_blank">https://paste.ee/r/6wt4y</a><br></div><br></div>Albert<br><div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 16, 2015 at 3:20 PM, vineet garg <span dir="ltr"><<a href="mailto:grgvineet@gmail.com" target="_blank">grgvineet@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>After a lot of trouble I came to this conclusion that Mina and Android Lollipop are not compatible at all when using SSL filter. I used the filter as described in documentation. As soon as SSL filter is applied over the session, the CPU usage of the application becomes incredibly high causing OS to suspend all threads, so it doesn't work at all. It didn't worked earlier in emulator too because I was using Lollipop in emulator too. My new physical device is on Lollipop too. My old device is on Jellybean and it works fine on it. In emulator too, it works fine on Jellybean image. The main reason may be because of ART, but not sure.<br><br></div>So now I have two options, either implement this from basic like in KDE version, or use Netty instead. Both Netty and Mina was started by same person, Netty was started to overcome some of the problems in Mina. Netty is actively developed and a lot of people are working on it.<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">Vineet<br><div><div><br></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
KDEConnect mailing list<br>
<a href="mailto:KDEConnect@kde.org" target="_blank">KDEConnect@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdeconnect" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
KDEConnect mailing list<br>
<a href="mailto:KDEConnect@kde.org">KDEConnect@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdeconnect" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br>
<br></blockquote></div><br></div>