Most active commenters

    ←back to thread

    475 points snthd | 29 comments | | HN request time: 0.966s | source | bottom
    1. roshin ◴[] No.45567872[source]
    when it works it's amazing. but very often both my phone and laptop are connected to the same WiFi, yet kde connect can't see them. I can't figure out how to diagnose and solve that when it happens
    replies(14): >>45568298 #>>45568302 #>>45574832 #>>45654362 #>>45654425 #>>45654451 #>>45654843 #>>45655274 #>>45655852 #>>45655866 #>>45655896 #>>45657950 #>>45661121 #>>45661674 #
    2. zenitsukz ◴[] No.45568298[source]
    vpn sometimes
    3. pull_my_finger ◴[] No.45568302[source]
    I have the same issue, very frustrating. I thought it was a firewall issue, or Android's blocking LAN connections without a VPN, but at this point I'm pretty sure it's just some KDE Connect bug.
    replies(1): >>45571253 #
    4. cromka ◴[] No.45571253[source]
    Maybe local DNS/DHCP resolution issue? I have this on my LAN with with other services and hosts: the Dnsmasq drops the ball every now and then and does not update the lease database, which results in hosts seemingly being offline.

    I would try fixed IPs to see if this solves the issue for you.

    5. ottah ◴[] No.45574832[source]
    Same, it's just too unreliable to be a tool for me. Which feels like the experience with everything that relies on automatic network discovery.
    replies(2): >>45654415 #>>45654877 #
    6. jcgl ◴[] No.45654362[source]
    It’s pretty dreadful on iOS, presumably due to OS constraints. I miss how amazing it was on Android.
    replies(1): >>45655316 #
    7. janwl ◴[] No.45654415[source]
    Mirrors my experience with AirDrop.
    8. geokon ◴[] No.45654425[source]
    Very typical for my KDE experience. Things break and it's impossible to figure out what's gone wrong b/c there is no additional information/logs/diagnostics exposed to the user. Everything to do with Networking and Bluetooth is plagued by this (though to be fair things break a lot less than ~5 years ago)
    9. jeroenhd ◴[] No.45654451[source]
    It should work on any network where mDNS works and where TCP connections can be established. There's not much going on that's more complicated than that when it comes to device discovery.

    Many VPN configurations break mDNS and other broadcasts (i.e. Chromecast, file shares, that kind of thing), though. A lot of "how to get started with WireGuard/OpenVPN/etc." guides stop the moment HTTP(S) connections work, but there's more to a functional network than that.

    I found that I could get KDE Connect working on my buggy VPN profile by manually specifying remote IP addresses for devices on the other end of the VPN in the settings.

    replies(1): >>45657436 #
    10. tga ◴[] No.45654843[source]
    Same here, Fedora and iOS. I've mostly stopped using it because I couldn't rely on the app working when I needed it.

    The computer doesn't even change addresses, there is no need for mDNS or anything fancy, setting up devices manually once would be just fine.

    replies(1): >>45655749 #
    11. Libidinalecon ◴[] No.45654877[source]
    Same, I haven't used it in years because it was so disappointing when it would randomly stop working.

    In the last year I have even given up on KDE in favor of Cinnamon on Mint.I loved KDE but there would always be some issue coming up. LTS Mint with Cinnamon has been rock solid.

    12. greenavocado ◴[] No.45655274[source]
    Speculating here based solely on general networking knowledge. You may have "AP Isolation" enabled and/or multicast blocking on your network may be causing problems.

    If I was working on KDE Connect I would add a microphone and speaker based pairing system using OFDM modulation lifted from Rattlegram. Each device would share all IP addresses associated with themselves using sound to broadcast the information.

    replies(1): >>45655727 #
    13. hagbard_c ◴[] No.45655316[source]
    ...then why use iOS? Get a de-Googled Android and relish in the power a pocket personal computer can provide when the vendor takes its thumb off the scales.
    replies(1): >>45656420 #
    14. estimator7292 ◴[] No.45655727[source]
    Just use Bluetooth. These days it's very uncommon for a PC to not have Bluetooth. More of my PCs have Bluetooth than have microphones.
    replies(1): >>45656694 #
    15. cpuguy83 ◴[] No.45655749[source]
    Yeah eveey time I want to use it I generally need to unpair and pair it again. Weird stuff like trying to send my clipboard from my phone and it goes the other way.

    It's handy, but needs work.

    16. dTal ◴[] No.45655852[source]
    Agreed. I've read a lot of apologetics for KDE Connect but there's definitely something wrong with discovery. Often it will fail to discover other devices unless I click "refresh" in both devices. I've gone as far as writing a script to force-refresh at 1 minute intervals. Sometimes it can't be persuaded to work at all. Blame my network maybe, but LocalSend works every time.
    17. Jedd ◴[] No.45655866[source]
    That's weird, especially with the exhaustive details you provided there.

    I've rarely had any connection issues with Google Pixel (7 currently) and Debian with Plasma 5 or 6 on x86 / 64 platforms.

    18. AnonymousPlanet ◴[] No.45655896[source]
    I used to recommend KDE-Connect left and right but stopped doing so because it went from rock solid and dependable to a complete disaster in a couple of years.

    Linux, Android, iOS, macOS all worked in harmony. Now not even two Android phones using the same software version can see each other, file transfers keep failing after a brief while. And all with the same devices that worked before, across various networks.

    Not to say anything about connectivity between Linux and Android or iOS.

    replies(1): >>45657286 #
    19. jcgl ◴[] No.45656420{3}[source]
    I don't need software freedom preached to me, thanks. And I'm not going to waste time trying to prove my free software bona fides to you.

    Suffice it to say: at the time I bought this iPhone 12 mini, there weren't really good options when prioritizing {small form factor,good privacy posture,good security posture,software freedom}.

    replies(1): >>45694700 #
    20. greenavocado ◴[] No.45656694{3}[source]
    Maybe the Bluetooth connection can be used for IP and port discovery.
    21. mixmastamyk ◴[] No.45657286[source]
    Some wifi APs block client to client traffic by default these days.
    replies(1): >>45657608 #
    22. aidenn0 ◴[] No.45657436[source]
    Oh, so if I setup mDNS on my workstation KDE Connect will be more reliable? Kind of annoying since I DNS already works to resolve names.
    replies(1): >>45658398 #
    23. AnonymousPlanet ◴[] No.45657608{3}[source]
    Mine does not. Same AP.
    24. Self-Perfection ◴[] No.45657950[source]
    It has really got unreliable in my experience.

    Often desktop client just cannot connect to mobile. At first I noticed that this happens when desktop client starts to output in logs these (reported [1]):

      kdeconnect.core: Too many remembered identities, ignoring "<id of KDE Connect on my android device>" received via UDP
    
    Restarting desktop client helped, so I wrote watcher that monitors logs for such lines and restarts kdeconnect. But it turned out to be insufficient. Now I have this script running in background to restart kdeconnectd whenever connection is missing, and finally can use KDE Connect reliably:

      #!/bin/dash -x
      
      
      while sleep 1m; do
          nmcli connection show --active | grep wifi || continue
      
          kdeconnect-cli -l | grep reachable && continue
      
      
      #   notify-send 'No reachable devices via kdeconnect. Restarting'
          systemctl --no-pager --user status app-org.kde.kdeconnect.daemon@autostart.service
          systemctl --no-pager --user stop app-org.kde.kdeconnect.daemon@autostart.service
          killall kdeconnectd
          systemctl --no-pager --user start app-org.kde.kdeconnect.daemon@autostart.service
      
      done
    
    
    [1] https://bugs.kde.org/show_bug.cgi?id=506563
    25. jeroenhd ◴[] No.45658398{3}[source]
    Your desktop probably already has mDNS set up, most user-friendly distros do it out of the box.

    But it doesn't really matter, because KDE Connect implements its own sort-of mDNS system by itself, in the form of JSON broadcast across the local network on a standard port offering hostnames, services, and other metadata. Actual, real mDNS would require integration into the host's networking setup and that's too much to ask for clients like Android or iOS and you'd need to implement it manually in many other cases, so they kind of made their own mDNS. It also means you don't need root access to run KDE Connect on your device, which makes it viable on platforms like the Steam Deck.

    To get KDE Connect working reliably, you need to make multicast traffic work reliably. Every network has its own restrictions when it comes to multicast so it's hard to know what specific tweaks your workstation needs. Having KDE Connect open on your phone, you should see packets coming in on your desktop on 255.255.255.255 on 1716/udp.

    replies(1): >>45659029 #
    26. aidenn0 ◴[] No.45659029{4}[source]
    1. I don't use a user-friendly distro

    2. Thanks for that info; next time it fails to connect I'll take a look in wireshark.

    27. ValdikSS ◴[] No.45661121[source]
    The majority of desktop Wi-Fi cards/chipsets have buggy drivers that break mDNS discovery in one way or another.

    To the point that I'd say that Wi-Fi drivers are the most offender in printer discovery problems, which also rely on mDNS.

    Another issue that many mDNS applications, including KDE Connect, don't account on multi-interface setups and send respond to mDNS request using incorrect network interface: https://bugs.kde.org/show_bug.cgi?id=507972 / https://bugs.kde.org/show_bug.cgi?id=507954

    28. lazycouchpotato ◴[] No.45661674[source]
    At least for Windows, marking a WiFi connection from Public to Private solved a lot of connection issues for me.
    29. hagbard_c ◴[] No.45694700{4}[source]
    > > > It’s pretty dreadful on iOS, presumably due to OS constraints. I miss how amazing it was on Android

    > > Then why use iOS?

    > I don't need software freedom preached to me, thanks

    ...and we don't need to hear kvetching about self-inflicted punishment. If it was 'amazing' on Android and is 'dreadful' on iOS the solution seems clear.

    > Suffice it to say: at the time I bought this iPhone 12 mini, there weren't really good options when prioritizing {small form factor,good privacy posture,good security posture,software freedom}.

    Who cares about privacy and security postures? I'd rather have real privacy and security, never mind any posturing done by vendors whom have shown not to be trustworthy anyway.

    Mentioning something iOS together with software freedom is as oxymoronic as it gets. There is no software freedom on iOS, you accept what you're offered and say thank you Sir may I have another [1]. Complaining about these well-known restrictions while passive-aggressively defending your choice does not make any sense.

    [1] https://www.youtube.com/watch?v=qdFLPn30dvQ