r-c-f / waynergy

A synergy client for Wayland compositors
MIT License
394 stars 17 forks source link

syn_connect_setup: connect: Connection refused #87

Open luochen1990 opened 10 months ago

luochen1990 commented 10 months ago

It just not working for me, not sure why:

$ nix-shell -p waynergy 

[nix-shell:~/ws/nixos]$ waynergy
0.011789773: [WARN] Child died: PID 42116, Status 127
0.011809459: [WARN] wl-clipboard not found, no clipboard synchronization support
0.033310939: [WARN] KDE does not support xkb keymaps -- use raw-keymap instead
0.033847567: [ERROR] syn_connect_setup: connect: Connection refused
0.033865901: [ERROR] Connection attempt failed, trying to reconnect in a second
1.034362721: [ERROR] syn_connect_setup: connect: Connection refused
1.034388438: [ERROR] Connection attempt failed, trying to reconnect in a second
2.034823727: [ERROR] syn_connect_setup: connect: Connection refused

About my system info:

$ neofetch --stdout

OS: NixOS 23.11.20230813.100a155 (Tapir) x86_64
Host: ASUSTeK COMPUTER INC. TUF GAMING X670E-PLUS
Kernel: 6.4.10
Uptime: 3 hours, 23 mins
Packages: 3374 (nix-system), 215 (nix-user)
Shell: zsh 5.9
Resolution: 3840x2160
DE: Plasma 5.27.7 (Wayland)
WM: kwin
Icons: Papirus-Dark [GTK2/3]
Terminal: .konsole-wrappe
CPU: AMD Ryzen 9 7950X (32) @ 4.500GHz
GPU: AMD ATI Raphael
GPU: NVIDIA GeForce RTX 4090
Memory: 5304MiB / 63436MiB
aidanhadley commented 9 months ago

I have this same issue. Endeavour OS on GNOME 44, installed through the AUR.

diegovgsilva95 commented 6 months ago

I was also getting this error. In my case, I'm using Waynergy to connect to a Barrier server on a X11 machine. The error went away when I disabled TLS both in Barrier (through its settings) and in Waynergy (using the -E parameter). Actually, it's not the ideal scenario, as this makes the connection insecure, but I guess there's some ciphering mismatch between client and server that makes the server drop the connection at the TLS handshake before they start to communicate Synergy/Barrier protocols.