New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GSConnect can't find any devices #804
Comments
This is most likely a network problem, since nothing's changed in GSConnect or kdeconnect-android in that code path for awhile. You should be sure you can ping your phone from your laptop, and then generate a support log showing what happens when you hit the Refresh button to be sure the packet is being broadcast:
If there are no errors there, then GSConnect is doing everything properly and there's something else going wrong. |
I can ping my phone:
(I know the duplicated packets indicate something wrong is going on, but I can ping other devices from my laptop just fine, and the phone can see other phones via kdeconnect, so that shouldn't be an issue) Okay, so I opened the GSConnect Settings and clicked on generate support log, and while the dialog window was open, I clicked on refresh a few times, but nonetheless there is nothing in the log:
No debug message whatsoever, I think there may lay the issue. |
What does |
That just outputs nothing. |
That most likely means GSConnect failed to bind to that port. Usually there should be an error notification, unless it was granted that port in some kind of isolation. |
Is there any way to track that? |
You can call:
But you can also just leave the dialog open while restarting the service. Otherwise you'll have to remember to turn that off manually later. |
I got a meaningful log:
Are you using |
Yes, openssl is required to create a TLS certificate for the LAN backend. |
Apparently some distributions don't ship openssl, and when that happens an error is thrown that isn't displayed to the user. Set a new error type and init the TLS certificate in start() cc #804
Installed openssl and now everything is working, thanks for the help! |
Okay, I guess I should make a note in the wiki and maybe a notification pointing to it. I guess you can't count on anything being installed these days 😉 |
For the record, it's only the
|
Just to pipe in – Silverblue (F32) does not include the openssl binary, and I guess most Silverblue systems therefore don’t have it installed, since you’d have to layer it. @andyholmes could the library be used directly possibly? Or at least a ‘Cannot find |
Since @jurf As of the fix in b9b96e8 (v37 I think) there should be an error notification that opens a dialog like this when clicked (I had to fake not having Did the notification not show, or did you maybe not notice it when it moved to the notification tray? Silverblue is getting more common and we already have some code to help NixOS, so I don't have a problem improving this. |
Oh yeah, I did see the notification, but I meant something more human-readable, since it’s an expected error in this context. I just thought something went seriously wrong until I stumbled on the wiki. |
Okay, I see. Probably we should just make the error notification urgent (so it doesn't sneakily hide or get replaced) and have it link to the Wiki somewhere like other "known" errors. I'll open a new issue for this (#893), so I remember to get it done. Might be time to clean up our little error handling framework to make this easier in the future. |
I'm still lost. I am so new to all of this. I have tried all I can think of and all I read to do. Also, be gentle with me, as I am so new and do not understand still. I'm on a hands on type person. I can read and it'll still go above my head. I want to learn though, so why I am here. :D |
Please see the help page in the Wiki, Connecting an Android Device. |
Hey I can't ping my phone. it's showing destination host unreachable.. what should I do? |
Describe the bug
Since a few weeks GSConnect can't see any device on any network I've been in the last couple of weeks. (It used to work before that, but I can't say when it exactly stopped)
I have 2 Android devices that can see each other but GSConnect can't see any of them and they can't see GSConnect.
I already tried with a disabled firewalld and also added kdeconnectd to the allowed services of the firewall but still nothing.
Steps To Reproduce:
Expected behavior
Devices on my network should show up.
Support Log
there is nothing else printed in the support log than this:
System Details (please complete the following information):
GSConnect environment (if applicable):
Additional Notes:
Also adding directly via the IP has no effect, after pressing on connect nothing happens.
The text was updated successfully, but these errors were encountered: