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
Error: "Failed to connect to socket: Connection refused (os error 111)" #11
Comments
Hi!
I believe you forgot to paste the error itself? At least I can't find it in your comment.
You could try running EDIT: AH, my bad. I read this in a hurry and didn't notice the error is literally in the title. |
"Connection Refused" would imply that the socket exists, but no one is listening to it. This would mean that the daemon exited unexpectedly and left the socket file behind. Can you please confirm if:
|
Sorry, I uninstalled it after some tries. I will install it again when chanced so I can check your suggestions |
Yes, the socket was there. I deleted it, restarted it again and it's working. Rebooted and it stopped working. For now, I will have to delete it either on logout or bootup for it to work. |
I have a few ideas of what might be happening. Wayfire should send a SIGTERM during exit to all child processes. If it isn't doing that, and is sending SIGKILL instead, that could explain this behavior. Though, I am not sure of this as I haven't looked at Wayfire's code yet. |
If it helps, I am running sway and having the same issue.
|
@Ivordir that's expected behaviour. Because there should only be one swww.socket file at a time, associated with running daemon, trying to Now, one way we could try to get around this is doing the following:
|
@Horus645 thanks for clarification. I just tested your I'm still figuring out how/why |
I've figured out the reason: swww crashes if started too early when the window manager launches. |
Hi, I don't understand if the patch was supposed to fix this, but I still need to add |
No, I don't think we there's much we can do regarding the compositor itself. The compositor must be up and properly running before |
Been experiencing the same Feb 12 23:22:48 ethereal-pc systemd-coredump[60763]: [🡕] Process 60761 (swww-daemon) of user 1000 dumped core.
Feb 12 23:22:48 ethereal-pc systemd[1]: systemd-coredump@6-60762-0.service: Deactivated successfully. swww.socket exists at $XDG_RUNTIME_DIR, even after removing it and running $ swww init If i run $ swww init --no-daemon the error returned is: WARNING: socket file /run/user/1000/swww.socket was not deleted when the previous daemon exited Hope this helps |
|
Had this issue on Arch, couldn't solve it at all (even when killing all the processes by hand and deleting the socket), what fixed it for me watch switching to the binary release on the AUR instead of building current source. No issues since then, apart from the transition starting point being incorrect when using the button in waybar |
another method |
I still get the same error on NixOS with Hyprland, though only when I have my drawing tablet connected.
|
Hello,
Thanks for this application. I installed it according to the readme instruction and added the command "swww init && swww IMG /path/to/image/file" to background command in wayfire.ini. when I logged out and logged in again it didn't work. I separated the two commands and it still did not work.
So I decided to try the command in the terminal and it worked. But after rebooting it didn't work again even in terminal giving the above error message. I can't figure out what went wrong or how to go about debugging.
I also noticed that the error keeps repeated while the command is active. Any help is appreciated.
Thanks
The text was updated successfully, but these errors were encountered: