Skip to Content
0
Dec 02, 2022 at 03:53 PM

Encrypted communication with hdbcli, non-descriptive error

173 Views Last edit Dec 02, 2022 at 04:40 PM 3 rev

Hi,

I'm trying to set up an encrypted communication to an on-prem HANA instance using hdbcli and following the documentation https://developers.sap.com/tutorials/hana-python-secure-connection.html.
However, I'm getting the following non-descriptive error. Does anyone know how get log-output from hdbcli, or debug this in any other way?

from hdbcli import dbapi

conn = dbapi.connect(address=host, port=port, user=user, password=password, encrypt=True, sslValidateCertificate=False)
Error: (-10709, "Connection failed (RTE:[89006] System call 'recv' failed, rc=10054:An existing connection was forcibly closed by the remote host {<localhost:port> -> <serverip:port>} (<localhost:port> -> <servername:port>))")<br>