https://bugs.kde.org/show_bug.cgi?id=480438
Bug ID: 480438 Summary: KDE Connect disconnects itself and does not connect anymore Classification: Applications Product: kdeconnect Version: 23.08.4 Platform: Manjaro OS: Linux Status: REPORTED Severity: grave Priority: NOR Component: common Assignee: albertv...@gmail.com Reporter: andrew.pr...@gmail.com CC: andrew.g.r.hol...@gmail.com Target Milestone: --- SUMMARY Everything worked fine for a while, but from some point on there is almost constantly no connection. This happened a long time ago, so I can't say what caused it. The situation is as follows - pairing of devices is normal, and I can use all functions. But after some time with the smartphone locked, the connection is lost and all I see is the message "All paired devices are unavailable". I tried running `killall kdeconnectd` and `kdeconnect-cli --refresh`, but it doesn't help. Only re-pairing the device works, but not always, sometimes the connection is lost immediately after pairing and I have to repeat unpairing and pairing. Sometimes it helps to refresh the device page on the smartphone a few times by pulling down from the top. Sometimes the first refresh shows as if it connected for a second (there are buttons Send files, Send clipboard, etc) and immediately disappears, the next time it connects normally. Or no, it's random, sometimes it doesn't work at all STEPS TO REPRODUCE 1. Pair the devices 2. Lock the phone 3. Wait and after a while the connection will be disconnected OBSERVED RESULT A broken connection that is not repaired by anything but re-pair EXPECTED RESULT Permanent connection SOFTWARE/OS VERSIONS Android: 12 Android KDE Connect: 1.29.0 Linux KDE Connect 23.08.4 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.12 Kernel Version: 6.7.0-0-MANJARO (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION uwf is disabled. Journalctl from suspicious shows only these errors: kdeconnect.interfaces: dbus interface not valid kdeconnect.interfaces: QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/modules/kdeconnect/devices/aa937f387c529772/notifications'") I don't know if this is somehow related I have a motorola edge plus with Android 12. KDE Connect is set to battery mode "Unrestricted", mobile data is set to enable background usage and unrestricted data access when Data Saver is on. Persistent notification is also enabled. UDP device discovery is enabled. Also, I added the local ip of the laptop in the KDE Connect settings. I tried to read logcat, from suspicious errors I found only these: 01-28 15:17:12.020 13186 19715 W Device : Ignoring packet with type kdeconnect.battery.request because no plugin can handle it 01-28 15:17:12.051 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Backends.LanBackend.LanLink.sendPacket(LanLink.java:147) 01-28 15:17:12.051 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Device.sendPacketBlocking(Device.java:508) 01-28 15:17:12.051 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Device.sendPacketBlocking(Device.java:480) 01-28 15:17:12.051 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.DevicePacketQueue$SendingRunnable.run(DevicePacketQueue.java:132) 01-28 15:17:12.051 13186 18763 E KDE/sendPacket: No device link (of 1 available) could send the packet. Packet kdeconnect.notification to andre-workstation lost! 01-28 15:17:12.052 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Backends.LanBackend.LanLink.sendPacket(LanLink.java:146) 01-28 15:17:12.052 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Device.sendPacketBlocking(Device.java:508) 01-28 15:17:12.052 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Device.sendPacketBlocking(Device.java:480) 01-28 15:17:12.052 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.DevicePacketQueue$SendingRunnable.run(DevicePacketQueue.java:132) 01-28 15:17:12.052 13186 18763 E KDE/sendPacket: No device link (of 1 available) could send the packet. Packet kdeconnect.notification to andre-workstation lost! 01-28 15:17:12.053 13186 23853 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.identityPacketReceived(LanLinkProvider.java:242) 01-28 15:17:12.053 13186 23853 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.tcpPacketReceived(LanLinkProvider.java:117) 01-28 15:17:12.053 13186 23853 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$setupTcpListener$3(LanLinkProvider.java:328) 01-28 15:17:12.053 13186 23853 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$EBOL-PERqPaie5mbG-VRBW1QEK0(LanLinkProvider.java:0) 01-28 15:17:12.053 13186 23853 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0) 01-28 15:17:12.053 13186 23852 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.identityPacketReceived(LanLinkProvider.java:242) 01-28 15:17:12.053 13186 23852 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.tcpPacketReceived(LanLinkProvider.java:117) 01-28 15:17:12.053 13186 23852 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.lambda$setupTcpListener$3(LanLinkProvider.java:328) 01-28 15:17:12.053 13186 23852 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider.$r8$lambda$EBOL-PERqPaie5mbG-VRBW1QEK0(LanLinkProvider.java:0) 01-28 15:17:12.053 13186 23852 E LanLinkProvider: at org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0) 01-28 15:17:12.057 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Backends.LanBackend.LanLink.sendPacket(LanLink.java:146) 01-28 15:17:12.057 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Device.sendPacketBlocking(Device.java:508) 01-28 15:17:12.057 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.Device.sendPacketBlocking(Device.java:480) 01-28 15:17:12.057 13186 18763 E KDE/sendPacket: at org.kde.kdeconnect.DevicePacketQueue$SendingRunnable.run(DevicePacketQueue.java:132) 01-28 15:17:12.058 13186 18763 E KDE/sendPacket: No device link (of 1 available) could send the packet. Packet kdeconnect.notification to andre-workstation lost! 01-28 15:17:12.060 5417 5818 W DynamicVolume-DynamicVolumeService: onForegroundActivitiesChanged, record latest volume: AppStartVolume(packageUid=10324, packageName=org.kde.kdeconnect_tp, timeInMillis=170644783 2059, date=Sun Jan 28 15:17:12 GMT+02:00 2024, startVolume=10, deviceType=2) 01-28 15:17:12.080 13186 23790 I KDE/LanLink: Beginning to send payload for kdeconnect.notification 01-28 15:17:12.082 13186 23790 W System.err: at org.kde.kdeconnect.Backends.LanBackend.LanLink.sendPayload(LanLink.java:211) 01-28 15:17:12.082 13186 23790 W System.err: at org.kde.kdeconnect.Backends.LanBackend.LanLink.lambda$sendPacket$1(LanLink.java:161) 01-28 15:17:12.082 13186 23790 W System.err: at org.kde.kdeconnect.Backends.LanBackend.LanLink.$r8$lambda$179vJeTDE8gUHpK7zDAhk-EB5is(LanLink.java:0) 01-28 15:17:12.082 13186 23790 W System.err: at org.kde.kdeconnect.Backends.LanBackend.LanLink$$ExternalSyntheticLambda0.run(R8$$SyntheticClass:0) 01-28 15:17:12.093 13186 13196 W e.kdeconnect_t: Reducing the number of considered missed Gc histogram windows from 118 to 100 01-28 15:17:12.119 13186 13198 W SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/org.kde.kdeconnect_tp/databases/Applications' was leaked! Please fix your application to end transactio ns in progress properly and to close the database when it is no longer needed. -- You are receiving this mail because: You are watching all bug changes.