Gnome-shell-extension-gsconnect: Connection trouble with recent kdeconnect?

Created on 26 Mar 2018  Â·  22Comments  Â·  Source: GSConnect/gnome-shell-extension-gsconnect

Folks; with recent kdeconnect (1.8.1 upgraded from Play Store this morning), I do have difficulties maintaining a stable connection between my laptop and my phone. I'm switching networks (WiFi <=> Ethernet) internall then and now, and last week this still worked flawlessly. However today I already lost connection three times while doing so and always needed to remove and re-pair the phone to be working again. Known issue? Anything to track down what's happening here?
TIA and all the best,
Kristian

Most helpful comment

Should be fixed in 1.8.2 that was just pushed to the Play Store and F-Droid.

All 22 comments

I have also problem with kdeconnect 1.8.1. With Ubuntu 17.10 + Samsung Galaxy S8 (Android 7.0) connection not working, pairing not working (timeout). With old kdeconnect all working good.

Can confirm too.

Same problem. kdeconnect 1.8.1 + Fedora 27 + Samsung Galaxy A5 (Android 6).

As far as I can tell there were no changes to the protocol requiring changes in GSConnect between 1.8.0 and 1.8.1. The only changed related at all to connecting devices was 3d4bf64, which doesn't change anything for GSConnect.

If you can provide debug logs (debugging can be turned on in the About page) showing the failure to connect that may give more information, but I would assume this is an upstream bug if it began with an update to the Android app.

Same here, after upgrading to 1.8.1, kdeconnect is no more working.
Here's some log from debug console, at least something that seems meaningful. But I also think it's an upstream bug, I didn't change GSConnect version (still build from latest commit in master):

JS LOG: Daemon: Updating device
JS LOG: Received from 'Xiaomi'
JS LOG: Authenticating '1a209975927f6c1c'
JS LOG: Error connecting: Gio.TlsError: Unacceptable TLS certificate
JS LOG: Disconnected from 'Xiaomi'
JS LOG: Daemon: Removing device

I also tried to clean everything both on pc and phone sides, nothing changes.
There are many other error messages that I didn't see before, and I'm not able to pair anymore multiple devices (laptop and desktop, although they see each other).

I'll try to provide a more complete log tomorrow, now it just seems a lot confusing :/

Thanks,

Mauro

Also confirming recent problems with the 1.8.1 KDE Connect App and GSConnect. Here's the Daemon log:

JS LOG: [[email protected]]: Cuppola (deb0fc73b17c0047)
JS LOG: [[email protected]]: Cuppola (deb0fc73b17c0047) already active
JS LOG: [[email protected]]: LanChannel.receive(deb0fc73b17c0047)
JS LOG: [[email protected]]: Device received: {"id":1522103770670,"type":"kdeconnect.pair","body":{"pair":true,"publicKey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuiMrBQ+vAVxX9/pyUjhEzOTuCAUgUdjI\n3Kb4YT/9Ly0ZF2kUTq12fIx3rqICEV+NF5jPMvT7kA7OFVru/GoA/9Ju8ul9COTJJjzM/3s9YQ8j\ndEIs4nYJ0oDmBxyjp9Gpk8uMAn8BGXs/sppJSi6toY+htEeXyGNHkem2KhL6RRcrlWEE6q7FVuVt\nLBK6iUJoMXaExF9/sF9MVo1QbK0cwIVFUFaqk10U+EPwXdkkOmuEoHvE3UHisljxRBaVW6piG0JQ\nRuc26qdTestInPOM8js20oIlEu+3+QQxc1nUZcjJOp1dIUZXdwacFw/ebX/cjIriCQLOhigVdnJN\nHenujwIDAQAB\n-----END PUBLIC KEY-----\n"}}
JS LOG: Received from 'Cuppola'
JS LOG: Pair request from Cuppola
JS ERROR: TypeError: this._dbus is undefined
Device<._notifyPair@/home/ian/.local/share/gnome-shell/extensions/[email protected]/service/device.js:404:1
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Device<._handlePair@/home/ian/.local/share/gnome-shell/extensions/[email protected]/service/device.js:368:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Device<._onReceived@/home/ian/.local/share/gnome-shell/extensions/[email protected]/service/device.js:325:10
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Device<.activate/<@/home/ian/.local/share/gnome-shell/extensions/[email protected]/service/device.js:213:58
LanChannel<.receive@/home/ian/.local/share/gnome-shell/extensions/[email protected]/service/protocol.js:553:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
LanChannel<._initStreams/<@/home/ian/.local/share/gnome-shell/extensions/[email protected]/service/protocol.js:399:26
@/home/ian/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:889:2

JS LOG: [[email protected]]: UdpListener.receive()
JS LOG: [[email protected]]: Daemon._addDevice(Samsung SM-G950U)
JS LOG: Daemon: Adding device
JS LOG: [[email protected]]: Samsung SM-G950U (ccd9b166fbed91c1)
JS LOG: Connecting to 'ccd9b166fbed91c1'
JS LOG: [[email protected]]: Samsung SM-G950U (ccd9b166fbed91c1)
JS LOG: [[email protected]]: Samsung SM-G950U (ccd9b166fbed91c1) already active
JS LOG: [[email protected]]: UdpListener.receive()
JS LOG: [[email protected]]: Daemon._addDevice(Samsung SM-G950U)
JS LOG: Daemon: Updating device
JS LOG: [[email protected]]: Samsung SM-G950U (ccd9b166fbed91c1)
JS LOG: Received from 'Samsung SM-G950U'
JS LOG: [[email protected]]: Samsung SM-G950U (ccd9b166fbed91c1)
JS LOG: [[email protected]]: Samsung SM-G950U (ccd9b166fbed91c1) already active
JS LOG: Error connecting: Gio.IOErrorEnum: Could not connect to 10.17.89.23: No route to host
JS LOG: Disconnected from 'Samsung SM-G950U'
JS LOG: [[email protected]]: Daemon._removeDevice(/org/gnome/Shell/Extensions/GSConnect/Device/deb0fc73b17c0047)
JS LOG: Daemon: Removing device
JS LOG: [[email protected]]: Daemon._removeDevice(/org/gnome/Shell/Extensions/GSConnect/Device/ccd9b166fbed91c1)
JS LOG: Daemon: Removing device

(Cuppola is my phone.)

I was at first having a lot of trouble with this, but I unpaired my device and after force stopping the Android app and clearing all data, things seem to be much better. Has anyone else tried this?

Hmmm. Not sure what's wrong on my device. Currently, even after some (laptop) reboots and several force-closes / reinstalls of the Android app, I'm now completely "disconnected":

  • gsconnect shows the device "grey" / offline occassionally. I see the "reconnect" button, but the "pair" button is greyed out.
  • On the phone, also occassionally I manage to see my laptop in the list of available devices but pairing from the phone fails (ends in a timeout without anything happening on the laptop.
  • I now managed to re-connect things from the phone by manually adding the laptop using its IP address, which suddenly also made it appear again in gsconnect and suddenly I also managed to see the "pair device" button. Laptop to phone, pairing works.

Though I enabled Debug in the config, I doubt the output I am seeing here is really useful. Why don't I see more? :o

== Stack trace for context 0x55a81f9ed0a0 ==

0 0x7ffd53cdd880 b resource:///org/gnome/shell/ui/tweener.js:80 (0x7f6ff40c7cd0 @ 82)

1 0x7ffd53cdd920 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7f6ff40c7f78 @ 36)

2 0x7ffd53cdd9c0 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7f6ff40c7de0 @ 52)

3 0x7ffd53cdda80 b resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f6ff40d2918 @ 54)

4 0x7ffd53cddbd0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f6ff40d29a0 @ 1626)

5 0x7ffd53cddc80 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f6ff40d2a28 @ 100)

6 0x7ffd53cddd10 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f6ff40d2ab0 @ 10)

7 0x7ffd53cddd90 I resource:///org/gnome/gjs/modules/signals.js:126 (0x7f6ff40cff78 @ 386)

8 0x7ffd53cdde40 b resource:///org/gnome/shell/ui/tweener.js:207 (0x7f6ff40cf5e8 @ 159)

9 0x7ffd53cddeb0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f6ff40b4de0 @ 71)

10 0x7ffd53cddeb0 I resource:///org/gnome/shell/ui/tweener.js:182 (0x7f6ff40cf560 @ 15)

Object Clutter.Clone (0x55a825c96490), has been already finalized. Impossible to get any property from it.
Object Clutter.Clone (0x55a825c96490), has been already finalized. Impossible to set any property to it.
== Stack trace for context 0x55a81f9ed0a0 ==

0 0x7ffd53cdc9d0 b resource:///org/gnome/shell/ui/tweener.js:73 (0x7f6ff40c7cd0 @ 9)

1 0x7ffd53cdca70 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7f6ff40c7f78 @ 36)

2 0x7ffd53cdcb10 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7f6ff40c7de0 @ 52)

3 0x7ffd53cdda80 b resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f6ff40d2918 @ 54)

4 0x7ffd53cddbd0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f6ff40d29a0 @ 1626)

5 0x7ffd53cddc80 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f6ff40d2a28 @ 100)

6 0x7ffd53cddd10 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f6ff40d2ab0 @ 10)

7 0x7ffd53cddd90 I resource:///org/gnome/gjs/modules/signals.js:126 (0x7f6ff40cff78 @ 386)

8 0x7ffd53cdde40 b resource:///org/gnome/shell/ui/tweener.js:207 (0x7f6ff40cf5e8 @ 159)

9 0x7ffd53cddeb0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f6ff40b4de0 @ 71)

10 0x7ffd53cddeb0 I resource:///org/gnome/shell/ui/tweener.js:182 (0x7f6ff40cf560 @ 15)

== Stack trace for context 0x55a81f9ed0a0 ==

0 0x7ffd53cdc9d0 b resource:///org/gnome/shell/ui/tweener.js:80 (0x7f6ff40c7cd0 @ 82)

1 0x7ffd53cdca70 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7f6ff40c7f78 @ 36)

2 0x7ffd53cdcb10 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7f6ff40c7de0 @ 52)

3 0x7ffd53cdda80 b resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f6ff40d2918 @ 54)

4 0x7ffd53cddbd0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f6ff40d29a0 @ 1626)

5 0x7ffd53cddc80 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f6ff40d2a28 @ 100)

6 0x7ffd53cddd10 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f6ff40d2ab0 @ 10)

7 0x7ffd53cddd90 I resource:///org/gnome/gjs/modules/signals.js:126 (0x7f6ff40cff78 @ 386)

8 0x7ffd53cdde40 b resource:///org/gnome/shell/ui/tweener.js:207 (0x7f6ff40cf5e8 @ 159)

9 0x7ffd53cddeb0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f6ff40b4de0 @ 71)

10 0x7ffd53cddeb0 I resource:///org/gnome/shell/ui/tweener.js:182 (0x7f6ff40cf560 @ 15)

Currently, even after some (laptop) reboots and several force-closes / reinstalls of the Android app, I'm now completely "disconnected"

I didn't reboot, or reinstall the app, this is what I did:

  • Android unpair GSConnect, then (for good measure) GSConnect unpair Android
  • App Info -> Force Quit

    • Storage -> Clear Data

Though I enabled Debug in the config, I doubt the output I am seeing here is really useful. Why don't I see more? :o

There are two parts to GSConnect:

  • Shell extension (includes the panel and user menu elements)

    • journalctl -f -o cat /usr/bin/gnome-shell

  • Service daemon

    • journalctl -f -o cat /usr/bin/gjs

When you first enable Debug Mode, a terminal window should open with two tabs; one for each of these. After that you can either toggle the switch off and on, or run the above journalctl commands in a terminal.

In case this might help.....

On an Asus P00l tablet running Adroid 6.0.1, upgrading to KDE Connect 1.8.1 caused the same problems people above reported. I tried the suggested solution of

Android unpair GSConnect, then (for good measure) GSConnect unpair Android
App Info -> Force Quit
    Storage -> Clear Data

But that did not work. So, I reinstalled KDE Connect 1.8.0, and now GSConnect works fine.

On my Samsung S6 Edge running Android 7.0 I have no problems, and that has KDE Connect 1.8.1 installed.

On my Samsung S6 Edge running Android 7.0 I have no problems, and that has KDE Connect 1.8.1 installed.

That's interesting, I'm also using Android 7.0 on the device I managed to fix. I wrote the KDE Connect mailing list asking if they changed any Android API requirements recently (or anything else), but they're mostly in EU timezones so probably won't hear back until tomorrow at least.

Same issue here:

  • Fresh install of Ubuntu 17.10
  • Latest version of GSConnect from Gnome Shell Extension Website
  • Android 8.1

Works instantly with KDE Connect 1.8.0
Doesn't work at all with KDE Connect 1.8.1

Here are some logs:

-- Logs begin at Thu 2018-03-22 17:21:19 CET, end at Tue 2018-03-27 11:27:45 CEST. --
Mär 26 13:34:06 thomas-ThinkPad-T480 org.gnome.Weath[16947]: JS LOG: Failed to connect to GeoClue2 service: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 1000
-- Reboot --
Mär 27 11:01:30 thomas-ThinkPad-T480 gjs[17978]: JS LOG: UdpListener: using port 1716
Mär 27 11:01:30 thomas-ThinkPad-T480 gjs[17978]: JS LOG: TcpListener: using port 1716
Mär 27 11:01:30 thomas-ThinkPad-T480 gjs[17978]: JS LOG: 0 devices loaded from cache
Mär 27 11:04:31 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Adding device
Mär 27 11:04:31 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Connecting to '859805539bb80e31'
Mär 27 11:04:34 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:04:34 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:06:46 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:06:46 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:07:04 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:07:04 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:07:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:07:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:07:18 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:07:18 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:08:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Removing device
Mär 27 11:08:59 thomas-ThinkPad-T480 gjs[17978]: JS ERROR: Gio.IOErrorEnum: Error sending message: Network is unreachable
                                                  UdpListener<.send@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/protocol.js:207:9
                                                  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                  Daemon<.broadcast@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:371:9
                                                  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                  Daemon<.vfunc_startup/<@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:828:17
                                                  @/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:889:2
Mär 27 11:09:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Error connecting: Gio.IOErrorEnum: Error receiving data: Connection timed out
Mär 27 11:09:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Disconnected from 'Nexus 5'
Mär 27 11:09:23 thomas-ThinkPad-T480 gjs[17978]: JS WARNING: [/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/device.js 506]: reference to undefined property "_dbus"
Mär 27 11:11:05 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Adding device
Mär 27 11:11:05 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Connecting to '859805539bb80e31'
Mär 27 11:11:20 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:11:20 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:11:29 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:11:29 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:11:54 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Error connecting: Gio.TlsError: Peer failed to perform TLS handshake
Mär 27 11:11:54 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Disconnected from 'Nexus 5'
Mär 27 11:11:54 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Removing device
Mär 27 11:11:54 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Error connecting: Gio.TlsError: Peer failed to perform TLS handshake
Mär 27 11:19:47 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Adding device
Mär 27 11:19:47 thomas-ThinkPad-T480 gjs[17978]: JS ERROR: TypeError: outgoing is undefined
                                                  Device<._handleIdentity/<@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/device.js:183:52
                                                  Device<._handleIdentity@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/device.js:183:17
                                                  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                  Device<._init@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/device.js:111:13
                                                  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                  Daemon<._addDevice@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:435:26
                                                  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                  Daemon<.vfunc_startup/<@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:776:17
                                                  UdpListener<.receive@/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/protocol.js:241:9
                                                  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                  @/home/thomas/.local/share/gnome-shell/extensions/[email protected]/service/daemon.js:889:2
Mär 27 11:19:47 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Adding device
Mär 27 11:19:47 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Connecting to 'd6e91e7146bb9ce7'
Mär 27 11:19:48 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Authenticating 'd6e91e7146bb9ce7'
Mär 27 11:19:48 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Connected to 'google'
Mär 27 11:19:54 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:19:54 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Pair request from google
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142397001,"type":"kdeconnect.mpris.request","body":{"requestPlayerList":true}}
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142397012,"type":"kdeconnect.mpris.request","body":{"requestPlayerList":true}}
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142396983,"type":"kdeconnect.battery","body":{"currentCharge":69,"isCharging":false,"thresholdEvent":0}}
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:19:57 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142397023,"type":"kdeconnect.runcommand.request","body":{"requestCommandList":true}}
Mär 27 11:21:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.receive()
Mär 27 11:21:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._addDevice(google)
Mär 27 11:21:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:21:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (d6e91e7146bb9ce7)
Mär 27 11:21:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:21:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (d6e91e7146bb9ce7)
Mär 27 11:21:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (d6e91e7146bb9ce7) already active
Mär 27 11:21:32 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:21:32 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Device received: {"id":1522142491757,"type":"kdeconnect.pair","body":{"pair":false}}
Mär 27 11:21:32 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:21:32 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Pair rejected by google
Mär 27 11:21:55 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:21:55 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Failed to receive packet: Gio.TlsError: TLS connection closed unexpectedly
Mär 27 11:21:55 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Disconnected from 'google'
Mär 27 11:21:55 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._removeDevice(/org/gnome/Shell/Extensions/GSConnect/Device/d6e91e7146bb9ce7)
Mär 27 11:21:55 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Removing device
Mär 27 11:22:10 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.receive()
Mär 27 11:22:10 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._addDevice(google)
Mär 27 11:22:10 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Adding device
Mär 27 11:22:10 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (859805539bb80e31)
Mär 27 11:22:10 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Connecting to '859805539bb80e31'
Mär 27 11:22:10 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (859805539bb80e31)
Mär 27 11:22:10 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (859805539bb80e31) already active
Mär 27 11:22:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.receive()
Mär 27 11:22:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._addDevice(google)
Mär 27 11:22:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Updating device
Mär 27 11:22:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (859805539bb80e31)
Mär 27 11:22:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'google'
Mär 27 11:22:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (859805539bb80e31)
Mär 27 11:22:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: google (859805539bb80e31) already active
Mär 27 11:22:42 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Error connecting: Gio.TlsError: Peer failed to perform TLS handshake
Mär 27 11:22:42 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Disconnected from 'google'
Mär 27 11:22:42 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._removeDevice(/org/gnome/Shell/Extensions/GSConnect/Device/859805539bb80e31)
Mär 27 11:22:42 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Removing device
Mär 27 11:23:50 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.send()
Mär 27 11:23:50 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.receive()
Mär 27 11:23:50 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._addDevice(Thinkpad)
Mär 27 11:24:09 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.send()
Mär 27 11:24:09 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.receive()
Mär 27 11:24:09 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._addDevice(Thinkpad)
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: UdpListener.receive()
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Daemon._addDevice(Nexus 5)
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Daemon: Adding device
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Nexus 5 (d6e91e7146bb9ce7)
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Connecting to 'd6e91e7146bb9ce7'
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Nexus 5 (d6e91e7146bb9ce7)
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Nexus 5 (d6e91e7146bb9ce7) already active
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Authenticating 'd6e91e7146bb9ce7'
Mär 27 11:24:12 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Connected to 'Nexus 5'
Mär 27 11:24:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:24:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Device received: {"id":1522142662259,"type":"kdeconnect.pair","body":{"pair":true,"publicKey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA17WFHFPTDjIO1dNqqj/hzjyU6HZ47Fzw\nbjRSgsGNJnN0W+zF3CKEqa3SeVvyFAGKQgzSvXAG0Yo2Yn3PZokWKDajNLvycouvrRF66FbEj/Nd\noIWa2w3+LjfJDLjf5b85vbuZ4M0ZI5EKSDJthImJxvYPYetB+og2wwLyJv1UydNmw+dQV/xX6iba\n03gtDpmsZgEVfIfwXSZ7WIyY5urmW4s9FfL9zoPXc8BZKfb2sqCg3uCcWfnDYUZZirX76GJl2bbl\nvWGPZFESZoDXqsJoMvnui3nsDxGP2UA+2P0FeQxSCKKpfKlup5iN793EPWxSaEyReRYr3aXNs/47\nT0GKNwIDAQAB\n-----END PUBLIC KEY-----\n"}}
Mär 27 11:24:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:24:23 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Pair request from Nexus 5
Mär 27 11:24:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Nexus 5 (d6e91e7146bb9ce7)
Mär 27 11:24:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Nexus 5 (d6e91e7146bb9ce7)
Mär 27 11:24:26 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.send(d6e91e7146bb9ce7, {"id":0,"type":"kdeconnect.pair","body":{"pair":true}})
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Device received: {"id":1522142666261,"type":"kdeconnect.battery","body":{"currentCharge":68,"isCharging":false,"thresholdEvent":0}}
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142666261,"type":"kdeconnect.battery","body":{"currentCharge":68,"isCharging":false,"thresholdEvent":0}}
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Device received: {"id":1522142666274,"type":"kdeconnect.mpris.request","body":{"requestPlayerList":true}}
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142666274,"type":"kdeconnect.mpris.request","body":{"requestPlayerList":true}}
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Device received: {"id":1522142666282,"type":"kdeconnect.mpris.request","body":{"requestPlayerList":true}}
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142666282,"type":"kdeconnect.mpris.request","body":{"requestPlayerList":true}}
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Device received: {"id":1522142666299,"type":"kdeconnect.runcommand.request","body":{"requestCommandList":true}}
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:24:27 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142666299,"type":"kdeconnect.runcommand.request","body":{"requestCommandList":true}}
Mär 27 11:26:15 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: LanChannel.receive(d6e91e7146bb9ce7)
Mär 27 11:26:15 thomas-ThinkPad-T480 gjs[17978]: JS LOG: [[email protected]]: Device received: {"id":1522142666261,"type":"kdeconnect.battery","body":{"currentCharge":67,"isCharging":false,"thresholdEvent":0}}
Mär 27 11:26:15 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received from 'Nexus 5'
Mär 27 11:26:15 thomas-ThinkPad-T480 gjs[17978]: JS LOG: Received unsupported packet type: {"id":1522142666261,"type":"kdeconnect.battery","body":{"currentCharge":67,"isCharging":false,"thresholdEvent":0}}

I switched back and forth between the versions 1.8.1 and 1.8.0. All the successful connections were with version 1.8.0.
"google" and "Nexus 5" are the same devices, I just renamed it inbetween.

Same problem with kdeconnect 1.8.1 from FDroid on Motorola G 3 gen running Android 6.0.1
I have to downgrade back to kdeconnect 1.8.0

Same problem here since I updated to 1.8.1
I have Ubuntu 17.10 and an LG K3 4G (K100) with Android 6.0.1

I tried to force quit the app and clear its data but it didn't help.
I had to uninstall it and install 1.8.0 manually, now it's working perfectly again.

I hope they will fix this issue.

Should be fixed in 1.8.2 that was just pushed to the Play Store and F-Droid.

Yes I updated to 1.8.2 and the issue is fixed for me!

Thank you Albert!

Same for me, works again as expected!

Thanks =)

Same here - works like a charm. Thanks @albertvaka (and sorry for actually placing the issue in the wrong component, gsconnect didn't seem to be the culprit here...). :)

Work again with 1.8.2. It's not a gsconnect's fault but it was a problem raised by a fix on KDE-Connect Android.

Hello,

I have GSConnect v11 in ubuntu 18.04 and KDE Connect v1.8.4 in my phone.

I still have issues to pair devices. I cannot see GSConnect in my phone, and I can see this error:

JS LOG: [[email protected]]: UdpListener.receive()
JS LOG: [[email protected]]: Daemon._addDevice(motorola)
JS LOG: Daemon: Adding device
JS LOG: [[email protected]]: motorola (7a7412e2b3bfe884)
JS LOG: Connecting to '7a7412e2b3bfe884'
JS LOG: [[email protected]]: motorola (7a7412e2b3bfe884)
JS LOG: [[email protected]]: motorola (7a7412e2b3bfe884) already active
JS LOG: Error connecting: Gio.IOErrorEnum: Could not connect to 192.168.1.78: No route to host
JS LOG: Disconnected from 'motorola'
JS LOG: [[email protected]]: Daemon._removeDevice(/org/gnome/Shell/Extensions/GSConnect/Device/7a7412e2b3bfe884)
JS LOG: Daemon: Removing device

It seems like GSConnect is receiving the broadcast from the Android device, but can't connect to the provided address. Can you ping the address from a terminal? Are you running any additional firewall software or have any router settings that might be conflicting?

In any case, this seems like a separate bug; could you open a new issue to track this?

@andyholmes , thanks for you reply.

I will open a new issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aia832003 picture aia832003  Â·  6Comments

amivaleo picture amivaleo  Â·  3Comments

mavit picture mavit  Â·  6Comments

sk0gen picture sk0gen  Â·  4Comments

paulo8448 picture paulo8448  Â·  4Comments