cancel
Showing results for 
Search instead for 
Did you mean: 

Execution of task "deploy" on application "cpapp-db-deployer" failed.

MartinKnechtel
Product and Topic Expert
Product and Topic Expert

Tutorials: https://developers.sap.com/tutorials/btp-app-cap-mta-deployment.html
--------------------------

I thought it's a problem of my code first, but even when I run this on the solution branch https://github.com/SAP-samples/cloud-cap-risk-management/tree/cap-mta-deployment I get same error. In step 8 of the tutorial I do

mbt build -t ./
cf deploy cpapp_1.0.0.mtar

and receive the following error:

[...]

Application "cpapp-db-deployer" staged

Executing task "deploy" on application "cpapp-db-deployer"...

Execution of task "deploy" on application "cpapp-db-deployer" failed.

I downloaded the logs with

cf dmol -i 83401c16-b873-11ed-a215-eeee0a9c9547

and can see the follwing in cpapp-db-deployer.log

[PollExecuteTaskStatusExecution] [cpapp-db-deployer] 28b62f0b-af50-436f-80b9-ae599f6b70f3 [Wed Mar 01 20:58:47 UTC 2023] Deployment to container D2D3E80B3E4E4C5EB32F2A9A4364FC72 failed - error: Connection failed (RTE:[89013] Socket closed by peer {10.157.116.31:35462 -> 44.196.217.154:443} (10.157.116.31:35462 -> 5419370e-93aa-429f-b4cf-dda85d2967df.hana.trial-us10.hanacloud.ondemand.com:443)) [Deployment ID: none]. (STDERR, APP/TASK/deploy)#
View Entire Topic

Hi Martin,

By coincidence I also asked a similar question and the error message we're receiving is the same.

https://answers.sap.com/questions/13836085/deploying-cap-application-to-btp-socket.html

Is allowing all connections not some kind of security risk?

MartinKnechtel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes. For my test application deployed to my trial in us10-001.hana.ondemand.com I consider this a feasible workaround, and I accept that my test data in my HANA Cloud instance in us10.hana.ondemand.com is put at a higher risk, but for production this will be a different story 😉