cancel
Showing results for 
Search instead for 
Did you mean: 

Encrypted communication with hdbcli, non-descriptive error

0 Kudos

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>
Former Member

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.

For example, you can:

- outline what steps you took to find answers (and why they weren't helpful)

- share screenshots of what you've seen/done

- make sure you've applied the appropriate tags

- use a more descriptive subject line

The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html

Questions on how to draw responses from members? Check out this discussion on how to improve questions. https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-a...

CharlesFeng
Advisor
Advisor
0 Kudos

Hi walzds,

Have you checked if there is any errors in HANA DB trace (e.g indexserver)?

Best regards,
Charles

Accepted Solutions (0)

Answers (0)