Skip to Content

HANA XS at HANA Cloud Platform: Outbound API with SSL not working on trial

Dec 12, 2016 at 01:26 PM


avatar image


currently we are working in a HANA XS trial in HANA Cloud Platform. We try to use the Outbound API to connect to a SAP Business by Design Webservice. Unfortunately we are not able to establish a connection.

This is the content of our destination file (*.xshttpdest):

host = "";
port = 443;
proxyType = http;
proxyHost = "proxy-trial";
proxyPort = 8080;
authType = basic;
useSSL = true;
sslHostCheck = true;
sslAuth = client;

And that's the respective XS part:

request = new $.net.http.Request($.net.http.POST, "/sap/bc/srt/scs/sap/businessconfigurationreadwrite");
request.contentType = "text/xml";
client.request(request, destination);

The last line produces the following error:

HttpClient.request: request failed: unable to establish connection to - IPcon: HTTP proxy handshake failed! Proxy replied with '400 Received invalid request line from client' (line 45 position 1 in /tkccc/byd/get_changeprojects.xsjs)

Can you please provide a hint what to do now?

Thanks and regards,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Marko Hübler Dec 13, 2016 at 07:11 AM


I found a solution for the problem: The protocol needs to be omitted when providing the host. However, I'm still not able to connect to the target host due to a SSL-Error:

IPcon: failed to start the SSL session.

Any ideas?


10 |10000 characters needed characters left characters exceeded
Marko Hübler Dec 13, 2016 at 09:43 AM

As per this thread

the problem might exist due to limitations on the trial landscape. As the thread is already a few years old - can anybody confirm that those limitations still exist?

10 |10000 characters needed characters left characters exceeded
Juliano Brugnago Dec 13, 2016 at 06:39 PM

Have you uploaded your http destination´s certificate?

Please refer to this article


To consume an Internet service via HTTPS, you need to export your HTTPS service certificate into X.509 format, to import it into a trust store and to assign it to your activated destination. You need to do this in the SAP HANA XS Administration Tool (https://<schema><account>.<host>/sap/hana/xs/admin/). For more information, see Developer Guide for SAP HANA Studio → section " SAP HANA XS Application Authentication". For more information, see the SAP HANA Developer Guides listed in the Related Links section below. Refer to the SAP HANA Cloud Platform Release NotesInformation published on SAP site to find out which HANA SPS is supported by SAP HANA Cloud Platform.

10 |10000 characters needed characters left characters exceeded
Marko Hübler Dec 14, 2016 at 11:19 AM

Yes, we've done all that. A colleague of mine confirmed that the SSL-problem is related to the trial landscape (as mentioned in

So it seems that the limitation of the trial landscape is still present and can only be removed by SAP for the specific account.

10 |10000 characters needed characters left characters exceeded