Computer: Antergos 19.4 (latest updates)
Phone: Samsung Galaxy S9 on Android Pie
Ping, Ring, and messages work fine. Phone is able to send files to computer, but not the other way around.
Apr 12 21:41:00 dbus-daemon[587]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 12 21:41:00 systemd[1]: Started Hostname Service.
Apr 12 21:41:00 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 12 21:41:00 kernel: audit: type=1130 audit(1555130460.206:203): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 21:41:07 gjs[28172]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Additionally, my computer won't mount the phone:
Apr 12 21:47:55 gjs[28172]: JS ERROR: Samsung SM-G960U1 (sftp): Gio.IOErrorEnum: Connection refused by server
_mount/</<@/home/avantbored/.local/share/gnome-shell/extensions/[email protected]/service/plugins/sftp.js:159:33
@/home/avantbored/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:744:2
JS ERROR: Samsung SM-G960U1 (sftp): Gio.IOErrorEnum: Connection refused by server
This error, with not being able to share from GSConnect to device probably indicates a networking problem, such as a firewall. Devices exchange data over port 1716 but need 1739-1764 for transfers and SFTP.
To get a more verbose log, use the Generate Support Log feature:
You can post that here, and if it's more "Connection refused" errors, that probably means there's some port blocking happening on your desktop or router.
Can confirm that the ports indicated on the Help guide are opened on my router settings; could this be an issue with external/internal IP addresses?
Here is the output from the log generator:
``
Apr 12 23:09:05 dbus-daemon[861]: [session uid=1000 pid=861] Activating service name='org.gnome.gedit' requested by ':1.49' (uid=1000 pid=1186 comm="gjs /home/avantbored/.local/share/gnome-shell/exte")
Apr 12 23:09:05 dbus-daemon[861]: [session uid=1000 pid=861] Successfully activated service 'org.gnome.gedit'
Apr 12 23:09:05 org.gnome.Shell.desktop[916]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3e000f8
Apr 12 23:09:07 systemd[1]: systemd-hostnamed.service: Succeeded.
Apr 12 23:09:07 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 12 23:09:07 kernel: audit: type=1131 audit(1555135747.705:70): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 12 23:09:15 dbus-daemon[660]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.165' (uid=1000 pid=1186 comm="gjs /home/avantbored/.local/share/gnome-shell/exte")
Apr 12 23:09:15 systemd[1]: Starting Hostname Service...
Apr 12 23:09:15 dbus-daemon[660]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 12 23:09:15 systemd[1]: Started Hostname Service.
Apr 12 23:09:15 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 12 23:09:15 kernel: audit: type=1130 audit(1555135755.391:71): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 12 23:09:18 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
It seems like you still haven't generated a proper support log:

Apologies! Below is the log:
GSConnect Version: 21
GSConnect Install: user
GJS: 15601
XDG_SESSION_TYPE: x11
GDMSESSION: gnome
--------------------------------------------------------------------------------
-- Logs begin at Tue 2019-04-09 15:20:52 PDT, end at Sat 2019-04-13 09:40:39 PDT. --
Apr 13 09:40:22 wpa_supplicant[792]: RRM: Unsupported radio measurement request 5
Apr 13 09:40:29 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:32 dbus-daemon[660]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.165' (uid=1000 pid=1186 comm="gjs /home/avantbored/.local/share/gnome-shell/exte")
Apr 13 09:40:32 systemd[1]: Starting Hostname Service...
Apr 13 09:40:32 dbus-daemon[660]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 13 09:40:32 systemd[1]: Started Hostname Service.
Apr 13 09:40:32 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 13 09:40:32 kernel: audit: type=1130 audit(1555173632.937:94): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 13 09:40:36 org.gnome.Shell.Extensions.GSConnect[1186]: [/service/protocol/core.js:send:220]: Samsung SM-G960U1: {
"id": 1555173636361,
"type": "kdeconnect.share.request",
"body": {
"filename": "paystub.pdf",
"open": false
},
"payloadSize": 76943,
"payloadTransferInfo": {
"port": 1739
}
}
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 gjs[1186]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 13 09:40:36 org.gnome.Shell.Extensions.GSConnect[1186]: [/service/protocol/lan.js:close:570]: "Transfer (tcp)"
Apr 13 09:40:36 org.gnome.Shell.Extensions.GSConnect[1186]: [/service/protocol/lan.js:close:570]: "Transfer (tcp)"
Apr 13 09:40:38 org.gnome.Shell.Extensions.GSConnect[1186]: [/service/protocol/core.js:receive/<:177]: Samsung SM-G960U1: {
"id": 1555173637907,
"type": "kdeconnect.notification",
"body": {
"id": "0|org.kde.kdeconnect_tp|395475244|null|10296",
"isCancel": true
}
}
Apr 13 09:40:39 org.gnome.Shell.Extensions.GSConnect[1186]: [/service/protocol/lan.js:_onIdentity:238]: {
"id": 1555173638616,
"type": "kdeconnect.identity",
"body": {
"deviceId": "0ad333e739e744da",
"deviceName": "Samsung SM-G960U1",
"protocolVersion": 7,
"deviceType": "phone",
"incomingCapabilities": [
"kdeconnect.sms.request_conversations",
"kdeconnect.telephony.request_mute",
"kdeconnect.telephony.request",
"kdeconnect.notification",
"kdeconnect.mpris",
"kdeconnect.sms.request_conversation",
"kdeconnect.findmyphone.request",
"kdeconnect.ping",
"kdeconnect.systemvolume",
"kdeconnect.notification.reply",
"kdeconnect.notification.action",
"kdeconnect.share.request",
"kdeconnect.sftp.request",
"kdeconnect.share.request.update",
"kdeconnect.notification.request",
"kdeconnect.mousepad.request",
"kdeconnect.photo.request",
"kdeconnect.sms.request",
"kdeconnect.contacts.request_vcards_by_uid",
"kdeconnect.runcommand",
"kdeconnect.battery.request",
"kdeconnect.clipboard",
"kdeconnect.contacts.request_all_uids_timestamps"
],
"outgoingCapabilities": [
"kdeconnect.sms.messages",
"kdeconnect.telephony",
"kdeconnect.notification",
"kdeconnect.contacts.response_uids_timestamps",
"kdeconnect.findmyphone.request",
"kdeconnect.ping",
"kdeconnect.mousepad.keyboardstate",
"kdeconnect.share.request",
"kdeconnect.contacts.response_vcards",
"kdeconnect.notification.request",
"kdeconnect.mousepad.echo",
"kdeconnect.mousepad.request",
"kdeconnect.sftp",
"kdeconnect.photo",
"kdeconnect.runcommand.request",
"kdeconnect.mpris.request",
"kdeconnect.systemvolume.request",
"kdeconnect.battery",
"kdeconnect.clipboard"
],
"tcpPort": 1716,
"tcpHost": "192.168.1.13"
}
}
Apr 13 09:40:39 org.gnome.Shell.Extensions.GSConnect[1186]: [/service/protocol/lan.js:_onIdentity:262]: "already connected"
Hmm, it doesn't seem as though there are any errors. Does the transfer notification in Android say the transfer failed?
Indeed.
Gnome-shell indicates that the transfer is "successful," while Android tells me that it failed to receive the file from me. See shots:
Gnome-Shell notification:

Android notification:

@avantbored @andyholmes
I'm actually seeing the same issue right now, with v22-rc1 and KDE Connect 1.12.6. In my case, the transfer fails instantly on the device side, and for every failed transfer attempt a 0-byte file is created in the destination directory... so KDE Connect is _attempting_ to save the file, but failing. (It's even getting as far as opening the output filehandle, which is what made me stop thinking it was probably some sort of permissions issue on the Android side.)
Things I've tried:
Not yet tried:
I've tried unpairing as well as uninstalling/reinstalling the app. No luck.
I do have an update:
Am connected to a wifi connection that is not my home router, and the device is mounted through IP (as per GSConnect instructions). However, the connection crashed when I tried to send the file from Android -> Linux. So that suggests that it is a network error, as @andyholmes suggested above, as well as something else.
GSConnect Version: 21
GSConnect Install: user
GJS: 15601
XDG_SESSION_TYPE: x11
GDMSESSION: gnome
--------------------------------------------------------------------------------
-- Logs begin at Tue 2019-04-09 15:20:52 PDT, end at Sun 2019-04-14 08:47:42 PDT. --
Apr 14 08:47:02 gnome-shell[889]: Ignoring excess values in shadow definition
Apr 14 08:47:02 gnome-shell[889]: Ignoring excess values in shadow definition
Apr 14 08:47:11 tracker-miner-f[1105]: g_str_has_suffix: assertion 'str != NULL' failed
Apr 14 08:47:11 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:11 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:11 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:11 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:11 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:11 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:25 org.gnome.Shell.Extensions.GSConnect[1318]: [/service/protocol/core.js:send:220]: Samsung SM-G960U1: {
"id": 1555256845025,
"type": "kdeconnect.sftp.request",
"body": {
"startBrowsing": true
}
}
Apr 14 08:47:25 org.gnome.Shell.Extensions.GSConnect[1318]: [/service/protocol/core.js:receive/<:177]: Samsung SM-G960U1: {
"id": 1555256844733,
"type": "kdeconnect.sftp",
"body": {
"ip": "192.168.0.170",
"port": 1740,
"user": "kdeconnect",
"password": "WnZF4mWSzqnXERQ3Rh6yzrUc89LO",
"path": "/",
"multiPaths": [
"/3164-3131",
"/Music"
],
"pathNames": [
"3164-3131",
"Music"
]
}
}
Apr 14 08:47:27 nautilus[2660]: gtk_notebook_get_tab_label: assertion 'list != NULL' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:27 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Apr 14 08:47:42 tracker-miner-f[1105]: g_str_has_suffix: assertion 'str != NULL' failed
Apr 14 08:47:42 org.gnome.Shell.Extensions.GSConnect[1318]: [/service/plugins/sftp.js:_unmount/</<:211]: Samsung SM-G960U1: Backend currently unmounting
_unmount/</<@/home/avantbored/.local/share/gnome-shell/extensions/[email protected]/service/plugins/sftp.js:211:29
@/home/avantbored/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:744:2
Apr 14 08:47:42 gjs[1318]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
I wonder if the network issues I experience on my home connection have to do with the fact that it is a mesh system? I have the ports forwarded with TCP/UDP settings, yet two-way communication between the computer and the phone is still asymmetrical.
When I am at home, I will try these other suggestions. Thanks.
Best thing to would probably be to check adb/logcat for any Android errors. 1.12 included a lot changes for sharing and SFTP that might be causing problems here.
I have the same error of @avantbored
Phones: Mi A2, Mi A2 Lite both with Android 9
Also have this issue
Android 9, Note 9, can't mount phone, no errors present in logs
GSConnect Version: 21
GSConnect Install: user
GJS: 15601
XDG_SESSION_TYPE: x11
GDMSESSION: gnome
--------------------------------------------------------------------------------
-- Logs begin at Wed 2019-03-06 17:54:18 MSK, end at Sat 2019-04-20 00:35:32 MSK. --
апр 20 00:35:30 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/core.js:send:220]: Midnight: {
"id": 1555709730083,
"type": "kdeconnect.sftp.request",
"body": {
"startBrowsing": true
}
}
апр 20 00:35:31 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/core.js:send:220]: Midnight: {
"id": 1555709731408,
"type": "kdeconnect.sftp.request",
"body": {
"startBrowsing": true
}
}
апр 20 00:35:32 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/core.js:send:220]: Midnight: {
"id": 1555709732635,
"type": "kdeconnect.sftp.request",
"body": {
"startBrowsing": true
}
}
KDE Connect 1.12.6 from Google Play
Also can't send file to phone:
апр 20 00:39:19 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/core.js:send:220]: Midnight: {
"id": 1555709959460,
"type": "kdeconnect.share.request",
"body": {
"filename": "archlinux.bmp",
"open": false
},
"payloadSize": 3148854,
"payloadTransferInfo": {
"port": 1739
}
}
апр 20 00:39:20 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/lan.js:close:570]: "Transfer (tcp)"
апр 20 00:39:20 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/lan.js:close:570]: "Transfer (tcp)"
апр 20 00:39:24 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/lan.js:_onIdentity:238]: {
"id": 1555709977049,
"type": "kdeconnect.identity",
"body": {
"deviceId": "8240497090f31fce",
"deviceName": "Midnight",
"protocolVersion": 7,
"deviceType": "phone",
"incomingCapabilities": [
"kdeconnect.sms.request_conversations",
"kdeconnect.telephony.request_mute",
"kdeconnect.telephony.request",
"kdeconnect.notification",
"kdeconnect.mpris",
"kdeconnect.sms.request_conversation",
"kdeconnect.findmyphone.request",
"kdeconnect.ping",
"kdeconnect.systemvolume",
"kdeconnect.notification.reply",
"kdeconnect.notification.action",
"kdeconnect.share.request",
"kdeconnect.sftp.request",
"kdeconnect.share.request.update",
"kdeconnect.notification.request",
"kdeconnect.mousepad.request",
"kdeconnect.photo.request",
"kdeconnect.sms.request",
"kdeconnect.contacts.request_vcards_by_uid",
"kdeconnect.runcommand",
"kdeconnect.battery.request",
"kdeconnect.clipboard",
"kdeconnect.contacts.request_all_uids_timestamps"
],
"outgoingCapabilities": [
"kdeconnect.sms.messages",
"kdeconnect.telephony",
"kdeconnect.notification",
"kdeconnect.contacts.response_uids_timestamps",
"kdeconnect.findmyphone.request",
"kdeconnect.ping",
"kdeconnect.mousepad.keyboardstate",
"kdeconnect.share.request",
"kdeconnect.contacts.response_vcards",
"kdeconnect.notification.request",
"kdeconnect.mousepad.echo",
"kdeconnect.mousepad.request",
"kdeconnect.sftp",
"kdeconnect.photo",
"kdeconnect.runcommand.request",
"kdeconnect.mpris.request",
"kdeconnect.systemvolume.request",
"kdeconnect.battery",
"kdeconnect.clipboard"
],
"tcpPort": 1716,
"tcpHost": "192.168.1.69"
}
}
апр 20 00:39:24 org.gnome.Shell.Extensions.GSConnect[5495]: [/service/protocol/lan.js:_onIdentity:262]: "already connected"
Has anyone had this issue not on Android 9/Pie? Seems like there is a common denominator here, in which case this is probably another Google = jerks situation.
@andyholmes Oh, yeah, my Galaxy S6 is still running 7.0 Nougat, stock Samsung/Sprint firmware.
Probably this bug is related to #518, so here the same comment I made there:
Since I can't reproduce this myself and none of the provided logs from GSConnect indicate anything wrong on our side, the next step would be for someone affected to get a logcat from the Android app.
Once adb is installed and authenticated with the phone, you can start logging kdeconnect-android with the following command, then try to share a file or mount the phone's filesystem:
adb logcat --pid=$(adb shell pidof -s org.kde.kdeconnect_tp)
I'm fairly certain this is not a problem with GSConnect, since nothing has really changed in the sftp/share plugins that should cause problems, but logs will let us be certain.
Phone mount: https://gist.github.com/Nik-mmzd/e79635b61ff2f3864a1ed3fe002f8c58
"Share"... is working strange O_o
gsconnect: "file sent" message
kde connect on phone: error notification
but seems like file was received successfully
04-21 16:12:34.222 32635 1366 I SharePlugin: Adding to downloads
04-21 16:13:24.832 32635 2020 I SharePlugin: Adding to downloads
04-21 16:11:18.477 32635 1143 E SftpServer: No more ports available
It's uncommon for this to happen, unless you have 25+ notifications transferring icons at the time the Sftp server tries to start. Is there anything on your Android device that might be blocking ports 1739-1764?
I have no idea which app may block these ports
Unfortunately there's not much I can do to fix this in GSConnect. I'd advise either trying to track down what might be blocking these ports, or open a bug on the KDE Connect bugzilla under the android-application component.
Apologies for the silence, since I'm OP.
I haven't had time to set up an adb log, but will try to this week. However, my suspicion is that it will be similar to @Nik-mmzd's issue, since we're using similar devices and software (Galaxy S9 on Android 9 here).
In the event that apps are tracked down, would the solution be to forward the ports of the apps-in-question on the router?
If it's the case that you have the same error message:
E SftpServer: No more ports available
It would most likely mean that some program has binded to those ports, in which case the problem would have to be solved on your device itself.
I have the same problem except file sharing is working but mounting isn't
At first I tried to mount it but this didn't work. Then I send a file from the device, this worked. After that I tried mounting it again.
here is the support log:
GSConnect Version: 23
GSConnect Install: user
GJS: 15403
XDG_SESSION_TYPE: x11
GDMSESSION: ubuntu
--------------------------------------------------------------------------------
-- Logs begin at Fri 2019-04-26 12:41:58 CEST, end at Thu 2019-05-02 23:49:58 CEST. --
mei 02 23:49:03 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/core.js:send:220]: Samsung SM-G973F: {
"id": 1556833743302,
"type": "kdeconnect.sftp.request",
"body": {
"startBrowsing": true
}
}
mei 02 23:49:03 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/core.js:receive/<:177]: Samsung SM-G973F: {
"id": 1556833743793,
"type": "kdeconnect.sftp",
"body": {
"ip": "172.20.10.2",
"port": 1739,
"user": "kdeconnect",
"password": "cfGnpzbLZ8wL7FrSNbYn8s27k1Tn",
"path": "/",
"multiPaths": [
"/primary"
],
"pathNames": [
"primary"
]
}
}
mei 02 23:49:04 gjs[3462]: JS ERROR: Samsung SM-G973F (sftp): Gio.IOErrorEnum: Password dialog cancelled
_mount/</<@/home/toon/.local/share/gnome-shell/extensions/[email protected]/service/plugins/sftp.js:160:33
@/home/toon/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:744:2
mei 02 23:49:04 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/plugins/sftp.js:_remove_host:272]: "removed host key for [172.20.10.2]:1739"
mei 02 23:49:12 org.gnome.Shell.desktop[2341]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3800101
mei 02 23:49:22 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:22 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:22 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:24 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:24 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:24 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:24 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:24 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:25 gjs[3462]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
mei 02 23:49:44 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/core.js:send:220]: Samsung SM-G973F: {
"id": 1556833784863,
"type": "kdeconnect.sftp.request",
"body": {
"startBrowsing": true
}
}
mei 02 23:49:46 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/core.js:receive/<:177]: Samsung SM-G973F: {
"id": 1556833786458,
"type": "kdeconnect.sftp",
"body": {
"ip": "172.20.10.2",
"port": 1739,
"user": "kdeconnect",
"password": "cfGnpzbLZ8wL7FrSNbYn8s27k1Tn",
"path": "/",
"multiPaths": [
"/primary"
],
"pathNames": [
"primary"
]
}
}
mei 02 23:49:46 gjs[3462]: JS ERROR: Samsung SM-G973F (sftp): Gio.IOErrorEnum: Password dialog cancelled
_mount/</<@/home/toon/.local/share/gnome-shell/extensions/[email protected]/service/plugins/sftp.js:160:33
@/home/toon/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:744:2
mei 02 23:49:46 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/plugins/sftp.js:_remove_host:272]: "removed host key for [172.20.10.2]:1739"
mei 02 23:49:53 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/core.js:receive/<:177]: Samsung SM-G973F: {
"id": 1556833793240,
"type": "kdeconnect.share.request",
"body": {
"filename": "Your Itinerary.pdf",
"lastModified": 1556582952000,
"numberOfFiles": 1,
"totalPayloadSize": 175221
},
"payloadSize": 175221,
"payloadTransferInfo": {
"port": 1740
}
}
mei 02 23:49:56 dbus-daemon[2180]: [session uid=1000 pid=2180] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.57' (uid=1000 pid=2558 comm="/usr/lib/tracker/tracker-miner-fs " label="unconfined")
mei 02 23:49:56 systemd[2151]: Starting Tracker metadata extractor...
mei 02 23:49:56 dbus-daemon[2180]: [session uid=1000 pid=2180] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
mei 02 23:49:56 systemd[2151]: Started Tracker metadata extractor.
mei 02 23:49:56 tracker-extract[7797]: Couldn't create PopplerDocument from uri:'file:///home/toon/Downloads/Your%20Itinerary.pdf%20(1)', PDF document is damaged
mei 02 23:49:56 tracker-extract[7797]: Couldn't create PopplerDocument from uri:'file:///home/toon/Downloads/Your%20Itinerary.pdf%20(1)', PDF document is damaged
mei 02 23:49:57 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/lan.js:close:570]: "Transfer (tcp)"
mei 02 23:49:57 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/lan.js:close:570]: "Transfer (tcp)"
mei 02 23:49:58 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/core.js:send:220]: Samsung SM-G973F: {
"id": 1556833798327,
"type": "kdeconnect.sftp.request",
"body": {
"startBrowsing": true
}
}
mei 02 23:49:58 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/protocol/core.js:receive/<:177]: Samsung SM-G973F: {
"id": 1556833798784,
"type": "kdeconnect.sftp",
"body": {
"ip": "172.20.10.2",
"port": 1739,
"user": "kdeconnect",
"password": "cfGnpzbLZ8wL7FrSNbYn8s27k1Tn",
"path": "/",
"multiPaths": [
"/primary"
],
"pathNames": [
"primary"
]
}
}
mei 02 23:49:58 gjs[3462]: JS ERROR: Samsung SM-G973F (sftp): Gio.IOErrorEnum: Password dialog cancelled
_mount/</<@/home/toon/.local/share/gnome-shell/extensions/[email protected]/service/plugins/sftp.js:160:33
@/home/toon/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:744:2
mei 02 23:49:58 org.gnome.Shell.Extensions.GSConnect[3462]: [/service/plugins/sftp.js:_remove_host:272]: "removed host key for [172.20.10.2]:1739"
And here the logcat:
--------- beginning of main
05-02 23:34:49.279 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:34:49.279 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=true
05-02 23:34:49.282 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=false
05-02 23:34:49.428 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 486785937408} changed=true
05-02 23:34:49.431 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:34:49.431 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x7161f85400, 0x7156b3f010
05-02 23:34:49.473 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
05-02 23:34:49.489 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:34:49.489 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:34:49.498 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:34:49.498 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:34:49.498 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:34:49.498 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:34:49.498 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:34:49.499 22797 22797 D InputTransport: Input channel constructed: fd=88
05-02 23:34:49.499 22797 22797 D InputTransport: Input channel destroyed: fd=90
05-02 23:35:11.390 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 0
05-02 23:35:11.823 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 1
05-02 23:35:11.824 22797 22797 D AbsListView: onTouchUp() mTouchMode : -1
05-02 23:35:41.864 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:35:41.865 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:35:41.865 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:35:41.865 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:35:41.865 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:35:41.867 22797 22797 D InputTransport: Input channel constructed: fd=90
05-02 23:35:41.867 22797 22797 D InputTransport: Input channel destroyed: fd=88
05-02 23:35:42.229 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(true) old=false
05-02 23:35:42.738 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
05-02 23:35:42.738 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:35:42.738 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:35:46.926 22797 23222 W libEGL : EGLNativeWindowType 0x7156b3f010 disconnect failed
05-02 23:35:46.926 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x7161f85400, 0x7156b3f000
05-02 23:35:46.942 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:35:46.957 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:39:28.714 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:39:28.714 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=true
05-02 23:39:28.717 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=false
05-02 23:39:28.745 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 486785937408} changed=true
05-02 23:39:28.746 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:39:28.746 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x7161f85400, 0x7156b3f010
05-02 23:39:28.964 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
05-02 23:39:28.964 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:39:28.964 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:39:28.965 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:39:28.965 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:39:28.965 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:39:28.965 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:39:28.965 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:39:28.971 22797 22797 D InputTransport: Input channel constructed: fd=88
05-02 23:39:28.971 22797 22797 D InputTransport: Input channel destroyed: fd=90
05-02 23:39:29.853 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
05-02 23:39:29.853 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:39:29.853 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:39:29.868 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(true) old=false
05-02 23:39:29.885 22797 23222 W libEGL : EGLNativeWindowType 0x7156b3f010 disconnect failed
05-02 23:39:29.885 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x7161f85400, 0x7156b3f000
05-02 23:39:29.888 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:39:29.924 22797 22797 D InputTransport: Input channel destroyed: fd=88
05-02 23:39:30.288 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:48:27.222 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:48:27.222 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=true
05-02 23:48:27.226 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=false
05-02 23:48:27.259 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 486785937408} changed=true
05-02 23:48:27.262 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:48:27.262 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x7161f85400, 0x7156b3f010
05-02 23:48:27.275 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
05-02 23:48:27.279 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:48:27.279 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:27.294 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:48:27.294 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:27.294 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:48:27.294 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:48:27.294 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:48:27.296 22797 22797 D InputTransport: Input channel constructed: fd=88
05-02 23:48:31.508 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 0
05-02 23:48:31.617 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 1
05-02 23:48:31.644 22797 22797 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@c92e680
05-02 23:48:31.655 22797 22797 I DecorView: createDecorCaptionView >> DecorView@f56cf0a[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
05-02 23:48:31.663 22797 22797 D InputTransport: Input channel constructed: fd=90
05-02 23:48:31.663 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: setView = DecorView@f56cf0a[SendFileActivity] TM=true MM=false
05-02 23:48:31.663 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
05-02 23:48:31.663 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:48:31.663 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:31.671 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: dispatchAttachedToWindow
05-02 23:48:31.678 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 487123308544} changed=true
05-02 23:48:31.680 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:48:31.680 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x716f5c4580, 0x716acfd010
05-02 23:48:31.683 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
05-02 23:48:31.684 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@f56cf0a[SendFileActivity]
05-02 23:48:31.684 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:31.684 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@f56cf0a[SendFileActivity]
05-02 23:48:31.684 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:31.684 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:48:31.684 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:48:31.684 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:48:31.685 22797 22797 D InputTransport: Input channel constructed: fd=94
05-02 23:48:31.685 22797 22797 D InputTransport: Input channel destroyed: fd=88
05-02 23:48:31.705 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 2280) ci=Rect(0, 112 - 0, 126) vi=Rect(0, 112 - 0, 126) or=1
05-02 23:48:31.705 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
05-02 23:48:31.705 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@f56cf0a[SendFileActivity]
05-02 23:48:31.705 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:31.839 22797 23222 W libEGL : EGLNativeWindowType 0x716acfd010 disconnect failed
05-02 23:48:31.839 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x716f5c4580, 0x716acfd000
05-02 23:48:31.843 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:48:31.972 22797 22797 D InputTransport: Input channel destroyed: fd=94
05-02 23:48:32.057 22797 23222 W libEGL : EGLNativeWindowType 0x7156b3f010 disconnect failed
05-02 23:48:32.057 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x7161f85400, 0x7156b3f000
05-02 23:48:32.065 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:48:32.065 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: setWindowStopped(true) old=false
05-02 23:48:32.066 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7647 android.app.ActivityThread.callActivityOnStop:4372 android.app.ActivityThread.performStopActivityInner:4350 android.app.ActivityThread.handleStopActivity:4425 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70
05-02 23:48:32.066 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(true) old=false
05-02 23:48:32.066 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7647 android.app.ActivityThread.callActivityOnStop:4372 android.app.ActivityThread.performStopActivityInner:4350 android.app.ActivityThread.handleStopActivity:4425 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70
05-02 23:48:32.078 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:48:33.433 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:48:33.439 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: setWindowStopped(false) old=true
05-02 23:48:33.440 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: setWindowStopped(false) old=false
05-02 23:48:33.450 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=true
05-02 23:48:33.452 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=false
05-02 23:48:33.467 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 486785937408} changed=true
05-02 23:48:33.468 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:48:33.469 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x7161f85400, 0x7156b3f010
05-02 23:48:33.475 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
05-02 23:48:33.475 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:48:33.475 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:33.476 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:48:33.477 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:33.477 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:48:33.477 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:48:33.477 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:48:33.479 22797 22797 D InputTransport: Input channel constructed: fd=88
05-02 23:48:33.503 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:48:33.810 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: dispatchDetachedFromWindow
05-02 23:48:33.810 22797 22797 D ViewRootImpl@1fedf4f[SendFileActivity]: Surface release. android.view.ViewRootImpl.doDie:7944 android.view.ViewRootImpl.die:7912 android.view.WindowManagerGlobal.removeViewLocked:497 android.view.WindowManagerGlobal.removeView:435 android.view.WindowManagerImpl.removeViewImmediate:124 android.app.ActivityThread.handleDestroyActivity:4747 android.app.servertransaction.DestroyActivityItem.execute:39 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145
05-02 23:48:33.815 22797 22797 D InputTransport: Input channel destroyed: fd=90
05-02 23:48:35.114 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 0
05-02 23:48:35.203 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 1
05-02 23:48:37.013 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 0
05-02 23:48:37.085 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 1
05-02 23:48:37.124 22797 22797 D AbsListView: in onLayout changed
05-02 23:48:37.125 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:48:37.125 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:48:37.125 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:48:37.125 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:48:37.125 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:48:37.125 22797 22797 D InputTransport: Input channel constructed: fd=99
05-02 23:48:37.126 22797 22797 D InputTransport: Input channel destroyed: fd=88
05-02 23:49:07.073 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:49:07.074 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:49:07.074 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:49:07.074 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:49:07.074 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:49:07.076 22797 22797 D InputTransport: Input channel constructed: fd=88
05-02 23:49:07.077 22797 22797 D InputTransport: Input channel destroyed: fd=99
05-02 23:49:07.421 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(true) old=false
05-02 23:49:08.022 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
05-02 23:49:08.022 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:49:08.022 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:49:08.736 22797 23222 W libEGL : EGLNativeWindowType 0x7156b3f010 disconnect failed
05-02 23:49:08.736 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x7161f85400, 0x7156b3f000
05-02 23:49:08.743 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:49:08.766 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:49:49.753 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:49:49.753 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=true
05-02 23:49:49.758 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=false
05-02 23:49:49.836 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 486785937408} changed=true
05-02 23:49:49.840 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:49:49.840 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x7161f85400, 0x7156b3f010
05-02 23:49:49.973 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 2280) ci=Rect(0, 112 - 0, 126) vi=Rect(0, 112 - 0, 126) or=1
05-02 23:49:49.994 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
05-02 23:49:50.016 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:49:50.016 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:49:50.017 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:49:50.017 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:49:50.017 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:49:50.018 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:49:50.018 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:49:50.019 22797 22797 D InputTransport: Input channel constructed: fd=90
05-02 23:49:50.019 22797 22797 D InputTransport: Input channel destroyed: fd=88
05-02 23:49:51.172 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 0
05-02 23:49:51.229 22797 22797 D ViewRootImpl@a400a14[MainActivity]: ViewPostIme pointer 1
05-02 23:49:51.263 22797 22797 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@75fc7cc
05-02 23:49:51.275 22797 22797 I DecorView: createDecorCaptionView >> DecorView@afa9291[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
05-02 23:49:51.285 22797 22797 D InputTransport: Input channel constructed: fd=88
05-02 23:49:51.285 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: setView = DecorView@afa9291[SendFileActivity] TM=true MM=false
05-02 23:49:51.285 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
05-02 23:49:51.285 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:49:51.285 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:49:51.297 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: dispatchAttachedToWindow
05-02 23:49:51.304 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 486974889984} changed=true
05-02 23:49:51.306 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:49:51.306 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x716f5c2f00, 0x7161f72010
05-02 23:49:51.326 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1080, 2280) ci=Rect(0, 112 - 0, 126) vi=Rect(0, 112 - 0, 126) or=1
05-02 23:49:51.435 22797 22797 D InputTransport: Input channel destroyed: fd=90
05-02 23:49:51.478 22797 23222 W libEGL : EGLNativeWindowType 0x7161f72010 disconnect failed
05-02 23:49:51.478 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x716f5c2f00, 0x7161f72000
05-02 23:49:51.483 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:49:51.678 22797 23222 W libEGL : EGLNativeWindowType 0x7156b3f010 disconnect failed
05-02 23:49:51.678 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x7161f85400, 0x7156b3f000
05-02 23:49:51.683 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:49:51.683 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: setWindowStopped(true) old=false
05-02 23:49:51.683 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7647 android.app.ActivityThread.callActivityOnStop:4372 android.app.ActivityThread.performStopActivityInner:4350 android.app.ActivityThread.handleStopActivity:4425 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70
05-02 23:49:51.684 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(true) old=false
05-02 23:49:51.684 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7647 android.app.ActivityThread.callActivityOnStop:4372 android.app.ActivityThread.performStopActivityInner:4350 android.app.ActivityThread.handleStopActivity:4425 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70
05-02 23:49:51.697 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:49:53.218 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:49:53.226 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: setWindowStopped(false) old=true
05-02 23:49:53.227 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: setWindowStopped(false) old=false
05-02 23:49:53.246 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=true
05-02 23:49:53.247 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(false) old=false
05-02 23:49:53.248 22797 26904 I KDE/LanLink: Using port 1740
05-02 23:49:53.267 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x7 surface={valid=true 486785937408} changed=true
05-02 23:49:53.268 22797 23222 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
05-02 23:49:53.268 22797 23222 D OpenGLRenderer: eglCreateWindowSurface = 0x7161f85400, 0x7156b3f010
05-02 23:49:53.275 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
05-02 23:49:53.275 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:49:53.275 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:49:53.276 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:49:53.276 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:49:53.276 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:49:53.276 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:49:53.276 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:49:53.278 22797 22797 D InputTransport: Input channel constructed: fd=93
05-02 23:49:53.300 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
05-02 23:49:53.607 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: dispatchDetachedFromWindow
05-02 23:49:53.608 22797 22797 D ViewRootImpl@910c8da[SendFileActivity]: Surface release. android.view.ViewRootImpl.doDie:7944 android.view.ViewRootImpl.die:7912 android.view.WindowManagerGlobal.removeViewLocked:497 android.view.WindowManagerGlobal.removeView:435 android.view.WindowManagerImpl.removeViewImmediate:124 android.app.ActivityThread.handleDestroyActivity:4747 android.app.servertransaction.DestroyActivityItem.execute:39 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145
05-02 23:49:53.615 22797 22797 D InputTransport: Input channel destroyed: fd=88
05-02 23:49:53.631 22797 22807 W System : A resource failed to call close.
05-02 23:49:55.537 22797 26904 I KDE/LanLink: Beginning to send payload
05-02 23:49:55.548 22797 26904 I KDE/LanLink: Finished sending payload (175221 bytes written)
05-02 23:50:23.185 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:50:23.185 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:50:23.185 22797 22797 V InputMethodManager: Starting input: tba=org.kde.kdeconnect_tp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
05-02 23:50:23.185 22797 22797 D InputMethodManager: startInputInner - Id : 0
05-02 23:50:23.185 22797 22797 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
05-02 23:50:23.189 22797 22797 D InputTransport: Input channel constructed: fd=87
05-02 23:50:23.189 22797 22797 D InputTransport: Input channel destroyed: fd=93
05-02 23:50:23.534 22797 22797 D ViewRootImpl@a400a14[MainActivity]: setWindowStopped(true) old=false
05-02 23:50:24.005 22797 22797 D ViewRootImpl@a400a14[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
05-02 23:50:24.005 22797 22797 D InputMethodManager: prepareNavigationBarInfo() DecorView@26f3aaf[MainActivity]
05-02 23:50:24.005 22797 22797 D InputMethodManager: getNavigationBarColor() -855310
05-02 23:50:28.239 22797 23222 W libEGL : EGLNativeWindowType 0x7156b3f010 disconnect failed
05-02 23:50:28.239 22797 23222 D OpenGLRenderer: eglDestroySurface = 0x7161f85400, 0x7156b3f000
05-02 23:50:28.263 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x5 surface={valid=false 0} changed=true
05-02 23:50:28.297 22797 22797 D ViewRootImpl@a400a14[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] result=0x1 surface={valid=false 0} changed=false
Thanks for logs, they're very helpful. This seems like a problem on our side (whether GNOME or GSConnect) and not Android.
JS ERROR: Samsung SM-G973F (sftp): Gio.IOErrorEnum: Password dialog cancelled
Since we no longer use password authentication and instead use public key authentication, I'm guessing this means your keyring is locked on your desktop. Does a dialog pop up asking you to unlock your keyring?
@andyholmes No dialog pops up or anything. How can I unock my keyring?
BTW The mounting worked once, but then when I got disconnected because I went away and came back I wouldn't mount anymore.
Tell me if you need any other information ;)
@ToonvanStrijp can you try this zip and see if it changes anything (instructions)?
@andyholmes nope that doesn't work either :(.
Can you confirm you're using the latest version of the Android app? According the debug output of gvfs kdeconnect-android isn't requesting password authentication at all for me.
I'm using this version: 1.12.7

That is the latest version. Sorry, I can't reproduce this problem so I'm not sure how to fix it. You can try debugging GVFS as described at https://wiki.gnome.org/Projects/gvfs/debugging and see if that gives you more helpful output.
KDE Connect 1.12.3-nosms on Android 5.0.1, Gnome Shell 3.28.3, GSConnect version 23. I'm having the behavior where sending files to the device falsely reports failure while the files in fact appear in the specified directory on the device whole and safe, and more importantly, where the "Mount" button simply does nothing.
The support log sees my attempt to send files, and GVFS debugging sees me poking around in Nautilus, but neither seems to register anything from my attempts to mount the device. It's like the button simply isn't doing anything.
I only noticed this had broken because GSConnect warned me about not having any shared locations set up for filesystem expose on the device after I'd updated GSConnect. Browsing the device worked fine before what I have to assume was a change on the part of the KDEConnect app to handle this differently. Kinda wishing they hadn't done that. = /
Probably you should first start by updating to 1.12.7, since 1.12.3-nosms had several problems that have been fixed. Also be sure to set a shared location in the Android app.
Browsing the device worked fine before what I have to assume was a change on the part of the KDEConnect app to handle this differently. Kinda wishing they hadn't done that. = /
They had no choice, really. Tighter security on newer Android releases wouldn't let them export the device's local files wholesale, it's only possible only after interactively obtaining Storage permission on specific directory paths. So, that's what they do now, via the storage location sharing in the Filesystem Expose plugin settings.
Ah, that does make sense. And so long as we can explicitly set access to "yes, really, the entire internal storage partition" it doesn't really make a difference in practical terms.
andyholmes, I feel dumb for not having done that first, but it did indeed fix it and browsing is working swimmingly now, thanks so much!
Ah, that does make sense. And so long as we can explicitly set access to "yes, really, the entire internal storage partition" it doesn't really make a difference in practical terms.
*nod* Yeah, that's exactly it. It's still _possible_ to make the device just as wide-open as before. (Or, I guess, that's left up to the vendors to decide, since the OS could make certain paths off-limits if they choose to implement it that way.) The difference, though, is that now Android has to hear it _from the user_, explicitly, that that's what they want (and so they accept the risks), rather than the app being able to silently make that decision for them.
That is the latest version. Sorry, I can't reproduce this problem so I'm not sure how to fix it. You can try debugging GVFS as described at https://wiki.gnome.org/Projects/gvfs/debugging and see if that gives you more helpful output.
I have the same problem and this is my debug log from GVFS (using version 24) :
sftp: Added new job source 0x55a505e69120 (GVfsBackendSftp)
sftp: Queued new job 0x55a505e4a6d0 (GVfsJobMount)
sftp: spawn_ssh: /usr/bin/ssh -oForwardX11 no -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings yes -oProtocol 2 -oNoHostAuthenticationForLocalhost yes -p 1739 -s 192.168.0.224 sftp
sftp: handle_login #1 initial_connection = 1 - user: (null), host: 192.168.0.224, port: 1739
sftp: handle_login #1 - prompt: "The authenticity of host '[192.168.0.224]:1739 ([192.168.0.224]:1739)' can't be established.
RSA key fingerprint is SHA256:4J81PFq1dGjx4ntpkq3wCmupiiEkMDm/wIGUeqN6maw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? "
sftp: handle_login #1 - confirming authenticity of host...
sftp: handle_login #1 - prompt: "yes
"
sftp: handle_login #1 - prompt: ""
sftp: handle_login #1 - prompt: "Password: "
sftp: handle_login #1 - asking for password...
sftp: handle_login #1 - ret_val: 0
sftp: send_reply(0x55a505e4a6d0), failed=1 (Se canceló el diálogo de la contraseña)
Thanks for the debug logs, that helps clarify what's happening. It seems like for some setups either GVfs or the remote SSH server is still requesting a password, even though public key auth is supported. I can't reproduce that myself, so there a few options:
Explicitly request anonymous login:
[email protected]
Try to supply the username and password automatically:
[email protected]
The first option is really preferable because public key auth is a much better choice here, but if it doesn't I'm pretty sure the second will. Instructions for Installing from Zip.
Unfortunately, the anonymous request version doesn't work. Shell extension log is the same, but GVFS log in this case has a small difference:
sftp: Added new job source 0x5615df457120 (GVfsBackendSftp)
sftp: Queued new job 0x5615df4386d0 (GVfsJobMount)
sftp: spawn_ssh: /usr/bin/ssh -oForwardX11 no -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings yes -oProtocol 2 -oNoHostAuthenticationForLocalhost yes -p 1743 -s 192.168.0.224 sftp
sftp: handle_login #1 initial_connection = 1 - user: (null), host: 192.168.0.224, port: 1743
sftp: handle_login #1 - prompt: "The authenticity of host '[192.168.0.224]:1743 ([192.168.0.224]:1743)' can't be established.
RSA key fingerprint is SHA256:4J81PFq1dGjx4ntpkq3wCmupiiEkMDm/wIGUeqN6maw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? "
sftp: handle_login #1 - confirming authenticity of host...
sftp: handle_login #1 - prompt: "yes
"
sftp: handle_login #1 - prompt: "Password: "
sftp: handle_login #1 - asking for password...
sftp: handle_login #1 - ret_val: 0
sftp: send_reply(0x5615df4386d0), failed=1 (Se canceló el diálogo de la contraseña)
It just jumps one empty prompt after the confirmation of the fingerprint:
sftp: handle_login #1 - prompt: ""
The second option doesn't work either and prints exactly the same (I've checked I've done it well with the code replacement and I reloaded the user session).
Anyway, I began to test some code as you are unable to reproduce the issue. I've found some kind of workaround, connecting ask-password to a function that forces -or whatever it does- the setup of the username and password (I'm a complete noob in JS and GNOME libs...):
op.connect('ask-question', (op, message, choices) => {
op.reply(Gio.MountOperationResult.HANDLED);
});
op.connect('ask-password', (op, message, default_user, default_domain, flags) => {
if ((flags & Gio.AskPasswordFlags.NEED_USERNAME) == Gio.AskPasswordFlags.NEED_USERNAME) {op.set_username(info.user);}
if ((flags & Gio.AskPasswordFlags.NEED_PASSWORD) == Gio.AskPasswordFlags.NEED_PASSWORD) {op.set_password(info.password);}
op.reply(Gio.MountOperationResult.HANDLED);
});
// This is the actual call to mount the device
It works, but GVFS logs show some strange behavior from my point of view:
sftp: Added new job source 0x555bd78b10e0 (GVfsBackendSftp)
sftp: Queued new job 0x555bd78946d0 (GVfsJobMount)
sftp: spawn_ssh: /usr/bin/ssh -oForwardX11 no -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings yes -oProtocol 2 -oNoHostAuthenticationForLocalhost yes -p 1748 -s 192.168.0.224 sftp
sftp: handle_login #1 initial_connection = 1 - user: (null), host: 192.168.0.224, port: 1748
sftp: handle_login #1 - prompt: "Password: "
sftp: handle_login #1 - asking for password...
sftp: handle_login #1 - new_user: kdeconnect
sftp: handle_login #1 - ret_val: 0
sftp: spawn_ssh: /usr/bin/ssh -oForwardX11 no -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings yes -oProtocol 2 -oNoHostAuthenticationForLocalhost yes -p 1748 -l kdeconnect -s 192.168.0.224 sftp
sftp: handle_login #2 initial_connection = 1 - user: kdeconnect, host: 192.168.0.224, port: 1748
sftp: handle_login #2 - prompt: "Password: "
sftp: handle_login #2 - using credentials from previous login attempt...
sftp: handle_login #2 - prompt: ""
sftp: handle_login #2 - password_save: 0
sftp: handle_login #2 - ret_val: 1
sftp: spawn_ssh: /usr/bin/ssh -oForwardX11 no -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings yes -oProtocol 2 -oNoHostAuthenticationForLocalhost yes -p 1748 -l kdeconnect -s 192.168.0.224 sftp
sftp: handle_login #3 initial_connection = 0 - user: kdeconnect, host: 192.168.0.224, port: 1748
sftp: handle_login #3 - prompt: "Password: "
sftp: handle_login #3 - using credentials from previous login attempt...
sftp: handle_login #3 - prompt: ""
sftp: handle_login #3 - ret_val: 1
sftp: send_reply(0x555bd78946d0), failed=0 ()
I don't know what's exactly going on with the NEED_USERNAME flag, and I haven't investigated any further. The solution is based on this 2015 question from Stack Overflow, what makes me ask if this is a bug or the common procedure...
Nice, that's some good research. I had a look into gmountoperation.c and gvfsbackendsftp.c and I think what is missing is just the signal handler for ask-password calling op.reply(Gio.MountOperationResult.HANDLED).
I'm guessing it's up to the user of the mount operation, in this case GVfs, to decide whether to prompt the user and apparently it does that even if it's already been given. There's an idle callback that gets invoked if the ask-password handler doesn't take care of it.
I think this should be fixed in 5ff100c now, included in this ZIP: [email protected]
It works, but GVFS logs show some strange behavior from my point of view:
This pretty much looks like what I get. I think GVfs just does some weird things to get ssh working through a pipe.
There is a typo: you mispelled password_save forgetting a s. After fixing this, it works! Good job!
So, here's a weird thing. Upgrading to Fedora 30 solved _all_ of these problems for me, using (IIRC) stock EGO v24. I'll double-check that latter part, but I can definitely both mount/browse/transfer, and using the Nautilus extension's send-to-device feature with whatever GSConnect build I have installed now, which definitely hasn't been touched in days.
Yes, it's really strange this thing. I use Arch, with glib 2.60.3, gvfs 1.40.1 and gjs 1.56.2, I've seen the packaging routines and they look quite _vanilla_... I've seen some code related to sftp and it hasn't got any important changes for a while... Anyway, another thing that disturbs me is how can you use explicitly PKI, as the documentation doesn't show any way to do this.
Closing this as I believe it was fixed with 5ff100c and 277dbae.
For me helpful was unpairing from GSConnect and pairing again. Unpairing from phone did nothing with the problem
@andyholmes I don't think this issue is fixed. Please reopen the issue. Experiencing the same issue with:
Pop OS 20.04, GNOME 3.36.1, GSConnect 37 and Android 10
@brintal The report here involved GSConnect v21 through v24. If you're having an issue with v37 please open a new report, it's unlikely to be the same problem.
(There have been changes since then on the KDE Connect Android-app side as well, so when you do that, please also check/include the app version.)
For me deleting sftp.js file and unpair and pair solved the problem