-
Notifications
You must be signed in to change notification settings - Fork 2
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
"Failed handshake for version: socket disconnected" when trying to share #866
Comments
That it's failing the handshake for version mismatch means it's not your firewall. The devices are connecting but they're speaking different versions of the sync protocol. This is confusing to me, because I didn't think I'd released the newer version of the protocol (it's the one that will support the upcoming relay servers). Are you able to send the lines of the log files (for desktop and phone) that might include what version it's failing on? Or what happens in the log if you do this (on the desktop)? Do you get the same messages in the log?
|
Android log:INFO [2023-02-11T05:43:39] Logging started Desktop log (inspector window, not sure if there's a log functionality other than this):
It just stops here. As for the
Oh and this is on Windows 10. I used WSL to run the netcat line |
Okay, I think the problem is that somehow the channel on Android was added as |
Thanks for looking at that. I'm not exactly sure what's going on. The latest version (not yet released) has better logging for sharing, so I hope I can get it out soon and see if this problem goes away (or at least shows more information in the logs) |
Included in v0.70.0 release (AUTOMATED COMMENT) |
It works now. Thanks! |
I've tried the latest Buckets and Buckets Beta to share. It does initially connect, but it fails with
Failed handshake for version: socket disconnected
, then tries to initialize a new connection. I've deleted the connection on the phone several times, restarted Buckets each time.When I enable sharing on the desktop side, I get this in buckets:

INFO (peddler) listening on 22322
. If I use netstat, I can confirm it's listening on that port:I tried resetting everything: When I click "Add channel" on the phone after entering the IP, I see in the desktop console window that it tries to connect, but gets stuck on
DEBUG (peddler) direct-server://0.0.0.0:22322 Waiting for saltyboat handshake to finish
.I've looked at another issue on here about sharing and I have checked my firewall settings. They are fine.
EDIT: I should mention I'm using the beta android client.
The text was updated successfully, but these errors were encountered: