Secure-Compliance-Solutions-LLC / GVM-Docker

Greenbone Vulnerability Management Docker Image with OpenVAS
https://securecompliance.gitbook.io/projects/
MIT License
246 stars 91 forks source link

ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:997) #347

Closed hanlihub closed 1 year ago

hanlihub commented 1 year ago

Traceback (most recent call last): File "/mnt/d/Users/PycharmProjects/appscan-main/test.py", line 10, in with Gmp(connection, transform=transform) as gmp: File "/home/han/.local/lib/python3.10/site-packages/gvm/protocols/gmp.py", line 116, in enter self._gmp = self.determine_supported_gmp() File "/home/han/.local/lib/python3.10/site-packages/gvm/protocols/gmp.py", line 98, in determine_supported_gmp version_str = self.determine_remote_gmp_version().split(".", 1) File "/home/han/.local/lib/python3.10/site-packages/gvm/protocols/gmp.py", line 81, in determine_remote_gmp_version self.connect() File "/home/han/.local/lib/python3.10/site-packages/gvm/protocols/base.py", line 107, in connect self._connection.connect() File "/home/han/.local/lib/python3.10/site-packages/gvm/connections.py", line 464, in connect self._socket.connect((self.hostname, int(self.port))) File "/usr/lib/python3.10/ssl.py", line 1375, in connect self._real_connect(addr, False) File "/usr/lib/python3.10/ssl.py", line 1366, in _real_connect self.do_handshake() File "/usr/lib/python3.10/ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:997)