cancel
Showing results for 
Search instead for 
Did you mean: 

HANA DB connection failing

0 Kudos

I am connecting to a HANA DB instance(BTP) from an application deployed to K8s with the dbapi library

conn = dbapi.connect(address=host, port=port, user=user, password=password, encrypt=True, sslValidateCertificate=False)
 
And while connecting to the DB, encountering this issue:
hdbcli.dbapi.Error: (-10709, "Connection failed (RTE:[89006] System call 'recv' failed, rc=104:Connection reset by peer

 Let me know if there any way to figure out what this issue is!

Thanks in advance!

View Entire Topic
tom_slee
Product and Topic Expert
Product and Topic Expert
0 Kudos

I wonder if the allow list on the HANA db instance is set to include your K8S cluster? That can be set by someone with the right authorizations in HANA Cloud Central, under the Configuration tab for the database.