This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE connect pairing time out

Tags: None
(comma "," separated)
smak
Registered Member
Posts
8
Karma
0

KDE connect pairing time out

Sat Nov 13, 2021 7:13 pm
Hi,

please consider the following setup:

Iphone @ IOS15
WIndows 10 machine
Linux Mint machine

kdeconnect works fine between windows and ios.
But when trying to pair linux with ios kdeconnect app on ios tells me that the pairing timed out.
Any ideas/hints where I can look to check what is going wrong?

Regards smak
cjarin
Registered Member
Posts
15
Karma
0

Re: KDE connect pairing time out

Sun Nov 14, 2021 6:23 am
Hi,

Can you try to connect the devices using CLI ? 

For example, you can follow this tuto : 

https://cubiclenate.com/2019/01/09/kde- ... ture-self/
smak
Registered Member
Posts
8
Karma
0

Re: KDE connect pairing time out

Sun Nov 14, 2021 8:28 am
Tried cli, no success:

Code: Select all
kdeconnect-cli -d C436... --pair
Pair requested


Also the device is listed only if I initiated a pairing from the device before.
cjarin
Registered Member
Posts
15
Karma
0

Re: KDE connect pairing time out

Sun Nov 14, 2021 10:18 am
smak wrote:Tried cli, no success:

Code: Select all
kdeconnect-cli -d C436... --pair
Pair requested


Also the device is listed only if I initiated a pairing from the device before.


There isn't any error ? Can you ping the phone ?

Code: Select all
$kdeconnect-cli -d xxxxx --ping
smak
Registered Member
Posts
8
Karma
0

Re: KDE connect pairing time out

Sun Nov 14, 2021 4:51 pm
cjarin wrote:
smak wrote:Tried cli, no success:

Code: Select all
kdeconnect-cli -d C436... --pair
Pair requested


Also the device is listed only if I initiated a pairing from the device before.


There isn't any error ? Can you ping the phone ?

Code: Select all
$kdeconnect-cli -d xxxxx --ping


No error when trying to pair,only the pair requested message, but nothing happens on the phone.
Ping gives
Code: Select all
error: No such object path '/modules/kdeconnect/devices/xxxxx/ping'
tia3100
Registered Member
Posts
12
Karma
0

Re: KDE connect pairing time out

Sun Nov 14, 2021 6:16 pm
You should change xxxxxxx with id of your phone.

Run
Code: Select all
kdeconnect-cli -l


That long string you get is id of your device, then run
Code: Select all
kdeconnect-cli -d xxxxxxxx --ping
smak
Registered Member
Posts
8
Karma
0

Re: KDE connect pairing time out

Sun Nov 14, 2021 7:29 pm
tia3100 wrote:You should change xxxxxxx with id of your phone.

Run
Code: Select all
kdeconnect-cli -l


That long string you get is id of your device, then run
Code: Select all
kdeconnect-cli -d xxxxxxxx --ping


Did that, the xxxx just served as placeholder
cjarin
Registered Member
Posts
15
Karma
0

Re: KDE connect pairing time out

Mon Nov 15, 2021 11:05 am
What version of kdeconnect do you have ? And what's your distro exactly ?

I managed to get the same problem on an other box...Strange ! 

When kdeconnect is on on the two devices, can you post the result of :

Code: Select all
kdeconnect-cli -l


Thanks !
smak
Registered Member
Posts
8
Karma
0

Re: KDE connect pairing time out

Thu Nov 18, 2021 7:04 pm
I use Mint btw. o)

cat /etc/issue: Linux Mint 20.1 Ulyssa
edit: upgrading to 20.2 Uma didn't help...
kdeconnectcli-v : kdeconnect-cli 1.4.0

kdeconnect-l:

before initiating pair from phone :
0 devices found

after initiating pair:
- iPhone11: C436E... (reachable)
1 device found

Also when trying to initiate pairing from linux nothing happens on the phone.
Every 2nd time I try to initiate the pairing from the phone the app crashes.
Disabling the firewall makes no difference either.
smak
Registered Member
Posts
8
Karma
0

Re: KDE connect pairing time out

Fri Nov 19, 2021 5:17 am
>:(

According to the test flight app this is indeed an ubuntu lts version based problem

Known behaviours & problems:
- App is suspended in the background (per iOS
architecture conventions)
- Ubuntu 20.04 LTS and Linux distributions based on it
seem to have "time-out" issues with KDE Connect iOS,
non-LTS and rolling release Linux distributions seem to
be working fine
- Misc. craches
cjarin
Registered Member
Posts
15
Karma
0

Re: KDE connect pairing time out

Fri Nov 19, 2021 12:29 pm
smak wrote:>:(

According to the test flight app this is indeed an ubuntu lts version based problem

Known behaviours & problems:
- App is suspended in the background (per iOS
architecture conventions)
- Ubuntu 20.04 LTS and Linux distributions based on it
seem to have "time-out" issues with KDE Connect iOS,
non-LTS and rolling release Linux distributions seem to
be working fine
- Misc. craches


It's possible but I'm not sure.
I get the same problem on an other router although there is no issue at home. I'm running on Debian KDE. The device is "reachable" but it should be something like "associated and reachable". I can't work on it today but I will investigate in the next days. :)
cjarin
Registered Member
Posts
15
Karma
0

Re: KDE connect pairing time out

Sat Nov 20, 2021 12:40 pm
Hi !

I deleted my Kdeconnect app and reinstalled it with a new configuration. I added my laptop with the name (you can do it with the IP address too). It worked. :)
smak
Registered Member
Posts
8
Karma
0

Re: KDE connect pairing time out

Mon Nov 22, 2021 4:01 pm
cjarin wrote:Hi !

I deleted my Kdeconnect app and reinstalled it with a new configuration. I added my laptop with the name (you can do it with the IP address too). It worked. :)


Tried it, no success.

But we're making progress. The phone is now discovered by the linux machine without trying to pair first.
cjarin
Registered Member
Posts
15
Karma
0

Re: KDE connect pairing time out

Tue Nov 23, 2021 6:23 pm
smak wrote:
cjarin wrote:Hi !

I deleted my Kdeconnect app and reinstalled it with a new configuration. I added my laptop with the name (you can do it with the IP address too). It worked. :)


Tried it, no success.

But we're making progress. The phone is now discovered by the linux machine without trying to pair first.


Can you try to pair it using a USB Cable ? 
smak
Registered Member
Posts
8
Karma
0

Re: KDE connect pairing time out

Fri Nov 26, 2021 9:55 am
cjarin wrote:
smak wrote:
cjarin wrote:Hi !

I deleted my Kdeconnect app and reinstalled it with a new configuration. I added my laptop with the name (you can do it with the IP address too). It worked. :)


Tried it, no success.

But we're making progress. The phone is now discovered by the linux machine without trying to pair first.


Can you try to pair it using a USB Cable ? 


Any special step required on using the usb cable? If I disconnect the linux machine from network and connect the phone via usb (unlock -> trust) I don't see the phone on linux and I cannot iniate the pairing from ios.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell