bug-c / openvas-docker

OpenVAS docker container
GNU General Public License v3.0
1 stars 1 forks source link

rsync error: error in socket IO (code 10) #2

Closed akhiljalagam closed 5 years ago

akhiljalagam commented 5 years ago

# docker logs 45290f2ce3e6
Testing redis status...
Redis ready.
Generated private key in /tmp/tmp.3N5Sh5Vo2k/cakey.pem.
Generated self signed certificate in /tmp/tmp.3N5Sh5Vo2k/cacert.pem.
Installed private key to /usr/local/var/lib/gvm/private/CA/cakey.pem.
Installed certificate to /usr/local/var/lib/gvm/CA/cacert.pem.
Generated private key in /tmp/tmp.3N5Sh5Vo2k/serverkey.pem.
Generated certificate request in /tmp/tmp.3N5Sh5Vo2k/serverrequest.pem.
Signed certificate request in /tmp/tmp.3N5Sh5Vo2k/serverrequest.pem with CA certificate in /usr/local/var/lib/gvm/CA/cacert.pem to generate certificate in /tmp/tmp.3N5Sh5Vo2k/servercert.pem
Installed private key to /usr/local/var/lib/gvm/private/CA/serverkey.pem.
Installed certificate to /usr/local/var/lib/gvm/CA/servercert.pem.
Generated private key in /tmp/tmp.3N5Sh5Vo2k/clientkey.pem.
Generated certificate request in /tmp/tmp.3N5Sh5Vo2k/clientrequest.pem.
Signed certificate request in /tmp/tmp.3N5Sh5Vo2k/clientrequest.pem with CA certificate in /usr/local/var/lib/gvm/CA/cacert.pem to generate certificate in /tmp/tmp.3N5Sh5Vo2k/clientcert.pem
Installed private key to /usr/local/var/lib/gvm/private/CA/clientkey.pem.
Installed certificate to /usr/local/var/lib/gvm/CA/clientcert.pem.
Removing temporary directory /tmp/tmp.3N5Sh5Vo2k.
User created with password 'b431c697-fd58-4e35-abed-eb5173ebe44e'.
openvas-scanner - creating cache...
openvas-scanner - starting...
<28>Sep  5 12:40:58 greenbone-nvt-sync: The log facility is not working as expected. All messages will be written to the standard error stream.
<29>Sep  5 12:40:58 greenbone-nvt-sync: No Greenbone Security Feed access key found, falling back to Greenbone Community Feed
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
<27>Sep  5 12:41:18 greenbone-nvt-sync: rsync failed, aborting synchronization.
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
==> /usr/local/var/log/gvm/gsad.log <==
gsad main:MESSAGE:2019-09-05 12h40.58 utc:68: Starting GSAD version 8.0.0~git-d2f26573b-gsa-8.0
gsad main:WARNING:2019-09-05 12h41.08 utc:69: MHD: Error: received handshake message out of context
gsad main:WARNING:2019-09-05 12h41.51 utc:69: MHD: Error: received handshake message out of context
gsad main:WARNING:2019-09-05 12h41.53 utc:69: MHD: Error: received handshake message out of context

==> /usr/local/var/log/gvm/gvmd.log <==
md manage:   INFO:2019-09-05 12h41.06 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K18.xml
md manage:   INFO:2019-09-05 12h41.07 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K17.xml
md manage:   INFO:2019-09-05 12h41.07 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K13.xml
md manage:   INFO:2019-09-05 12h41.07 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K16.xml
md manage:   INFO:2019-09-05 12h41.08 utc:120: Updating Max CVSS for DFN-CERT
md manage:   INFO:2019-09-05 12h41.08 utc:120: Updating DFN-CERT CVSS max succeeded.
md manage:   INFO:2019-09-05 12h41.08 utc:120: Updating Max CVSS for CERT-Bund
md manage:   INFO:2019-09-05 12h41.09 utc:120: Updating CERT-Bund CVSS max succeeded.
md manage:   INFO:2019-09-05 12h41.09 utc:120: sync_cert: Updating CERT info succeeded.
md manage:   INFO:2019-09-05 12h41.44 utc:119: Updating NVT cache... done (51387 NVTs).

==> /usr/local/var/log/gvm/openvassd.log <==
sd   main:MESSAGE:2019-09-05 12h40.51 utc:62: openvassd 6.0.0 started

==> /usr/local/var/log/gvm/gsad.log <==
gsad main:WARNING:2019-09-05 12h47.10 utc:69: MHD: Error: received handshake message out of context
gsad main:WARNING:2019-09-05 12h47.12 utc:69: MHD: Error: received handshake message out of context

Host: Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic

docker: Docker version 19.03.2, build 6a30dfc

bug-c commented 5 years ago

Sometime is throwing errors when trying to update the feeds. Check if you have access to feed.openvas.org they have some automated blocking feature.

akhiljalagam commented 5 years ago

Yes....They are blocking based on IP traffic.