As part of our Server Support Services, we have helped customers solve common rsync command related errors.
In this context, we shall look into this issues and how to fix it.
When this error occurs, you will see an error message such as;
rsync error: timeout waiting for daemon connection (code 35) at socket.c(200) [Receiver=3.1.2]
Rsync client have an option in its settings where the maximum I/O timeout in seconds can be configured. In the process where any data is not received after a call, the process will be terminated.
To prevent this error, you can extend the timeout time for the client as the default time is zero which signifies that there is no timeout.
This rsync timeout error can result from the following factors;
When Port 873 is not accessible.
When ssh service or rsync daemon is not running in the server
When an incorrect username or password is used.
Fixing this error is easy. First you need to cross check that the correct username or password is used. Ensure that port 873 is not blocked. You can set it open in the firewall area of the server.
Finally, restart the server to effect changes.
Rsync error timeout waiting for daemon connection is usually triggered while trying to access the directory listing of a remote server.