Recently I had issue with deploying to my just created SAP HANA DB sample data from my SAP CAP application.
I got an error:
@sap/hdi-deploy, version 5.3.2 (mode default), server version unknown (0.0.0.0), cloud version , node version 23.7.0, HDI version -1, container API version -1
Deployment started at 2025-02-18 01:27:52
Using hdb@undefined for connection
Detection of server version failed; root cause: Could not connect to any host: [ <id>.hana.prod-us10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
Detection of cloud version failed; root cause: Could not connect to any host: [ <id>.hana.prod-us10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
Detection of container API version failed; root cause: Could not connect to any host: [ <id>.hana.prod-us10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
Detection of HDI version failed; root cause: Could not connect to any host: [ <id>.hana.prod-us10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
The server does not support live updating of make messages. The messages will be displayed, when the make is done.
Collecting files...
Collecting files... ok (0s 2ms)
3 directories collected
10 files collected
0 reusable modules collected
Target service: preferences-db
Could not check if session variable APPLICATION is set correctly: Could not connect to any host: [ <id>.hana.prod-us10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
Could not determine status of last build: Could not connect to any host: [ <id>.hana.prod-us10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
I have been googling for a while, but couldn't find the root cause.
I finally found a solution in SAP BTP cockpit. I have clicked on HANA instance on Sub-Account page, then in Instance Details page I have clicked on Manage Configuration and found Connections section. I have selected option:
Allow all IP addresses
then, clicked on Review and Save
Voilà!
Top comments (0)