on 03-01-2023 9:09 PM
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)#
It now works.
Deployment now succeeds:
[...]
Application "cpapp-srv" started and available at "c5c6d9b0trial-dev-cpapp-srv.cfapps.us10-001.hana.ondemand.com"
Application "cpapp-db-deployer" staged
Executing task "deploy" on application "cpapp-db-deployer"...
Skipping deletion of services, because the command line option "--delete-services" is not specified.
Process finished.
The only difference: I re-created my HANA Cloud instance with one difference in the settings: not allow only BTP IPs but instead allow all IP addresses, see my screenshot below.
Could this be an issue of HANA Cloud being in us10.hana.ondemand.com (see my screenshot) and my application being in us10-001.hana.ondemand.com (see my deploy log)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks. Your tips worked for me.
User | Count |
---|---|
88 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.