Bug 473957 - iPhone can pair with laptop, but upon refreshing it will never be able to connect again.
Summary: iPhone can pair with laptop, but upon refreshing it will never be able to con...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: ios-application (show other bugs)
Version: unspecified
Platform: Apple App Store iOS
: NOR grave
Target Milestone: ---
Assignee: Lucas W.
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-30 18:13 UTC by Flynn
Modified: 2024-03-17 05:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Flynn 2023-08-30 18:13:38 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. LINUX: Kill kdeconnectd
2. LINUX: Delete all config files for kdeconnect
3. LINUX: Reopen kdeconnect
4. iOS: Open kdeconnect. See that the computer is available for pairing.
5. iOS: Press the pair button on the computer's icon.
6. LINUX: Accept the pair notification. 
7. iOS: Attempt to use the kdeconnect functions. For me, remote input seems to function, while send photos just shows an uncertain progress bar endlessly on the computer screen, even for a single image.
8. iOS: Go back to the main screen and swipe the whole screen down to refresh devices. See that the computer you just paired to is now categorized as "remembered" (but not connectable). Further refreshing will show a flash of green as the desktop device appears again, but it immediately vanishes.

OBSERVED RESULT
I can no longer connect to my laptop without deleting all the kdeconnect configuration files, and even if I do so it still does not enable me to send images.

EXPECTED RESULT
I would be able to repeatedly connect to the same device and use all available functions.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.46 generic
KDEConnect Desktop Version: Unknown (am on GNOME, do not know how to find this)
iOS app version: 0.3.0 (9)

ADDITIONAL INFORMATION
I am on a dorm network. My laptop is connected via ethernet. I know that direct connections over the wifi are allowed (because I have a Jellyfin server that works pretty much fine), but I do not keep a static IP on my laptop, and I do not have access to any router-level configuration. 

I have openvpn installed and would be interested in using it if by doing so I can circumvent this issue. That said, I have seen the help article on using it and I realize that there is no iOS client mentioned, which may make this route impossible. I am also willing to attempt to run a laptop-hosted wifi hotspot if this will fix the issue.
Comment 1 pete 2023-10-12 07:34:03 UTC
I can confirm I have this issue as well.
Comment 2 tombrown9501 2024-02-16 17:15:26 UTC
I also have a similar issue, I was able to pair once, but I haven't been able to again. I've tried disabling the firewall and manually entering my laptops ip in the ios app. A fresh install of the apps doesn't work either.
Comment 3 pete 2024-02-16 18:02:44 UTC
(In reply to nealheinecke from comment #2)
> I also have a similar issue, I was able to pair once, but I haven't been
> able to again. I've tried disabling the firewall and manually entering my
> laptops ip in the ios app. A fresh install of the apps doesn't work either.

Try going into advanced settings and erasing saved cache and certificate. Then re-pair. That worked for me.
Comment 4 tombrown9501 2024-02-16 20:34:32 UTC
(In reply to pete from comment #3)
> (In reply to nealheinecke from comment #2)
> > I also have a similar issue, I was able to pair once, but I haven't been
> > able to again. I've tried disabling the firewall and manually entering my
> > laptops ip in the ios app. A fresh install of the apps doesn't work either.
> 
> Try going into advanced settings and erasing saved cache and certificate.
> Then re-pair. That worked for me.

No luck still doesnt work for me