Bug 405680 - Can't access Android filesystems with KDE Connect: Could not find a valid sshd io provider
Summary: Can't access Android filesystems with KDE Connect: Could not find a valid ssh...
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-20 12:41 UTC by Peter Oliver
Modified: 2019-03-21 12:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: V1.12.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Oliver 2019-03-20 12:41:09 UTC
SUMMARY
On updating to the latest KDE Connect from Google Play, I found I could no longer access the phone's filesystem from Linux.

STEPS TO REPRODUCE
1. For a paired device, click the "Mount" button in GSConnect's menu.

OBSERVED RESULT
No filesystem is mounted.

adb logcat shows:
03-20 12:28:39.628 18591 18668 W System.err: java.lang.IllegalStateException: Could not find a valid sshd io provider
03-20 12:28:39.628 18591 18668 W System.err:    at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.newInstance(DefaultIoServiceFactoryFactory.java:67)
03-20 12:28:39.628 18591 18668 W System.err:    at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.getFactory(DefaultIoServiceFactoryFactory.java:43)
03-20 12:28:39.628 18591 18668 W System.err:    at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.create(DefaultIoServiceFactoryFactory.java:37)
03-20 12:28:39.628 18591 18668 W System.err:    at org.apache.sshd.common.AbstractFactoryManager.getIoServiceFactory(AbstractFactoryManager.java:76)
03-20 12:28:39.628 18591 18668 W System.err:    at org.apache.sshd.SshServer.createAcceptor(SshServer.java:353)
03-20 12:28:39.628 18591 18668 W System.err:    at org.apache.sshd.SshServer.start(SshServer.java:278)
03-20 12:28:39.629 18591 18668 W System.err:    at org.kde.kdeconnect.Plugins.SftpPlugin.SimpleSftpServer.start(SimpleSftpServer.java:116)
03-20 12:28:39.629 18591 18668 W System.err:    at org.kde.kdeconnect.Plugins.SftpPlugin.SftpPlugin.onPacketReceived(SftpPlugin.java:142)
03-20 12:28:39.629 18591 18668 W System.err:    at org.kde.kdeconnect.Device.onPacketReceived(Device.java:574)
03-20 12:28:39.629 18591 18668 W System.err:    at org.kde.kdeconnect.Backends.BaseLink.packageReceived(BaseLink.java:83)
03-20 12:28:39.629 18591 18668 W System.err:    at org.kde.kdeconnect.Backends.LanBackend.LanLink.receivedNetworkPacket(LanLink.java:284)
03-20 12:28:39.629 18591 18668 W System.err:    at org.kde.kdeconnect.Backends.LanBackend.LanLink.lambda$reset$0(LanLink.java:109)
03-20 12:28:39.629 18591 18668 W System.err:    at java.lang.Thread.run(Thread.java:761)
03-20 12:28:39.629 18591 18668 E SftpServer: No more ports available


EXPECTED RESULT
The user is offered a choice of filesystems shared from the phone.


SOFTWARE/OS VERSIONS
Android 7.1.1.
Fedora 29.
Gnome 3.30.
GSConnect 19 or 21.


ADDITIONAL INFORMATION
This error occurs with version 1.12.3 of KDE Connect for Android, found at https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp, but does not occur with version 1.12 found at https://f-droid.org/packages/org.kde.kdeconnect_tp/.
Comment 1 Kerr Avon 2019-03-20 12:50:02 UTC
Same problem with the kdeconnect app from the F-droid store
Comment 2 Erik Duisters 2019-03-21 12:31:37 UTC
Fixed in v1.12.4 released today on the play store