cancel
Showing results for 
Search instead for 
Did you mean: 

Unable To Deploy CAP Project To XSA

0 Kudos

I am currently doing local development in VSCode.Whenever I try to deploy the .mtar file to the XSA Server, I get the following error -

2020-09-03-16h39-38.png

What is the cause of the above error and how to resolve it?

Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos

Can you check if

xs logs deploy-service --recent

gives you more details after failed deployment?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

since (according to your screen shot) the login worked, I assume the XSA services are running (by the way, there is a command 'XSA info' that is available when sshing to the HANA system as sidadm).

Could you check whether the deploy-service application (which is the 'HTTP server' which is mentioned in the error message) is also up and running? Therefore, log in at XS advanced as XSA_ADMIN, navigate to the "SAP" space by executing:

xs t -s SAP -o <your-org>

and check the output of:

xs apps

Do you see any alerts for the deploy-service application?

If the deploy-service application is not running, try to restart it with:

xs restart deploy-service

or check the recent logs of this application:

xs logs deploy-service --recent

to dive deeper in the error analysis.

Best regards,

Andreas

andrew_lunde
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hey Shreyasi,

From your output. Either your XSA process is not started up (or has failed to startup).

You can check this by sshing as root and doing something like this.

lsof -n -i -P | grep LISTEN | grep 30030

Basically you're checking to see if a process is listening on that port.

If you're not using System ID of 00 the port will be 3xx30.

This assumes your HANA was installed with XSA in ports mode. If it was in hostnames mode a process will be listening on 30033(default).

The other thing might be that you've specified the xs api command wrong.

xs api https://hostname.domain.com:30030/ --skip-ssl-validation

-Andrew