Bug 368812

Summary: Kdeconnect forgets paired devices
Product: [Applications] kdeconnect Reporter: Simone Gaiarin <simgunz>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: normal CC: accelrtr, balpeaux, dromaretsky
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Simone Gaiarin 2016-09-14 16:41:53 UTC
As the title says, kdeconnect forgets the paired device after a day or so.

Using latest git version, fresh config folder and latest android app.

Reproducible: Always
Comment 1 accelrtr 2016-09-16 21:20:08 UTC
I have the same bug. Android client forgets my computer every time it is force stopped. looks like it also forgets device if killed by Android watchdog.
Comment 2 avi9526 2016-09-17 14:56:28 UTC
same problem when using kdeconnect on archlinux (kdeconnect-1.0-1) and kdeconnect 1.4 on android from f-droid repository
Comment 3 Albert Vaca Cintora 2016-09-20 08:55:16 UTC
Git commit 1a32f8142dbe4f6fd265e4586236cdba72a70a93 by Albert Vaca.
Committed on 20/09/2016 at 08:53.
Pushed by albertvaka into branch '1.x'.

Do not unpair on every handshake error.

Sometimes we get stupid errors like "connection closed by peer".

M  +0    -8    src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java

http://commits.kde.org/kdeconnect-android/1a32f8142dbe4f6fd265e4586236cdba72a70a93