Error updating CERT data: Connection reset by peer (104)

Today I wanted to update my feeds for the first time since I installed the scanner some time ago.
I ran sudo -u gvm bash -c "greenbone-feed-sync --type GVMD_DATA && greenbone-feed-sync --type SCAP && greenbone-feed-sync --type CERT"

It started syncing, I went away from the keyboard and noticed then, it did not work.
GSAD reported all feeds up to date except CERT, so I ran sudo -u gvm greenbone-feed-sync --type CERT once more.

I got an rsync error (see title).

The output I got is:

sudo -u gvm greenbone-feed-sync --type CERT
Greenbone community feed server - http://feed.community.greenbone.net/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the Greenbone community portal.
See https://community.greenbone.net 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.

receiving incremental file list
timestamp
             13 100%   12.70kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes  received 115 bytes  105.33 bytes/sec
total size is 13  speedup is 0.08
Greenbone community feed server - http://feed.community.greenbone.net/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the Greenbone community portal.
See https://community.greenbone.net 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.

receiving incremental file list
./
CB-K20.xml
      3,322,304  69%    8.95kB/s    0:02:41
rsync: [receiver] read error: Connection reset by peer (104)
rsync error: error in socket IO (code 10) at io.c(784) [receiver=3.2.3]
rsync: connection unexpectedly closed (846 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [generator=3.2.3]

It seems to me, my synchronisation was canceled by greenbone’s servers. Is that right? Any help updating my CERT data?

GVM versions

gsad: (‘gsad --version’) 21.4.3
gvmd: (‘gvmd --version’) 21.4.4
openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’) 21.4.3
gvm-libs: 21.4.3

Environment

Operating system: Debian 10/Buster
Kernel: Linux VulnerabilityScanner 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10) x86_64 GNU/Linux
Installation method / source: Built from source

Hi @felixN,

Can you give it another try to see if it’s working now? Thanks!

Edit to add- after the next try, if the CERT data still isn’t syncing try looking in the network component logs (router/firewall, etc.) to see if there are any messages regarding aborted connections.

2 Likes

It did work now, yes. Thank you.

1 Like