cancel
Showing results for 
Search instead for 
Did you mean: 

Error executing cds deploy -2 hana

smok1
Explorer
0 Kudos

Hi guys,

Getting this error below:

Deployment to container 3D21BCD66332474D81841A3C51CB6E7E failed - error: Could not connect to any host: [ 9357d90a-4543-497a-a574-d15c2a223feb.hana.trial-us10.hanacloud.ondemand.com:443 - certificate has expired ] [Deployment ID: none]. Error: Could not connect to any host: [ 9357d90a-4543-497a-a574-d15c2a223feb.hana.trial-us10.hanacloud.ondemand.com:443 - certificate has expired ]

What's wrong here?

simon_oswald
Explorer
0 Kudos

Hi Samuel,

Which version of @sap/hdi-deploy are you using? There should be a line like this in the deployment log:

@sap/hdi-deploy, version 3.7.0 (mode default), server version unknown (0.0.0.0), node version 10.15.0

Best Regards,

Simon

View Entire Topic
former_member13323
Participant

simon.oswald

Got this working in BAS now after using the CF: Bind service to a locally run application option.

However, can't seem to get it working in VS Code, as there's always a time out error when clicking on any entity:

GET /admin/Authors
[2020-11-12T04:57:38.154Z | ERROR | 1370873]: ResourceRequest timed out
[2020-11-12T04:57:38.156Z | ERROR | 1370873]: Error stacktrace: TimeoutError: ResourceRequest timed out     at ResourceRequest._fireTimeout (C:\Users\Sam\Desktop\Development\Playground\CAP\OpenSAP\Exercises\projects\cloud-cap-samples\packages\bookshop\node_modules\@sap\cds-foss\node_modules\generic-pool\lib\ResourceRequest.js:62:17)     at Timeout.bound (C:\Users\Sam\Desktop\Development\Playground\CAP\OpenSAP\Exercises\projects\cloud-cap-samples\packages\bookshop\node_modules\@sap\cds-foss\node_modules\generic-pool\lib\ResourceRequest.js:8:15)     at listOnTimeout (internal/timers.js:531:17)     at processTimers (internal/timers.js:475:7)

I've pasted the default-env.json file generated in BAS to VS Studio. Credentials are all similar. Only thing that VS Code has additionally is the sap hana client package : "@sap/hana-client": "^2.6.61".

SAP CommonCryptoLib, environment variables has all been configured to this point.

Any ideas?