Rsync to timeout

Getting this error when trying to sync nvt:
rsync: [Receiver] safe_read failed to read 1 bytes: Connection timed out (110)
rsync error: error in rsync protocol data stream (code 12) at io.c(282) [Receiver=3.2.7]

Can access
timeout 5 bash -c “</dev/tcp/” && echo “connection success” || echo “connection failed”
connection success

What might be the problem?

Kind regards

Your internet connection, your routing, your firewall, CGN … etc… ?

Thank you for the feedback.

Is there a verbose option to run the sync task/script in order to see what the problem might be?

Kind regards.

Debug it like any other TCP connection, use TCPDUMP so see what happens and where and why the connection is not working.

tcpdump -i eth0 port 873 and host

And you need to do a tcp connection with a differnt terminal like:

nc 873

The rest is network debugging like any other TCP issue in the Internet.

Thank you for your quick response.

We can connect and do get the welcome message:

@RSYNCD: 31.0

Greenbone community feed server - . . .

This service is hosted by Greenbone Networks - . . .

All transactions are logged.

If you have any questions, please use the Greenbone community portal.

See for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

I suspect it might be local files/access rights and will investigate further.

Kind regards