on 02-18-2021 9:50 AM
Hi Everyone,
I was trying to connect the SAP CAI to an On-Premise S/4HANA System. I am using a global account for SAP Cloud Platform and accessed the Enterprise edition of CAI. I used a cloud connector to connect to backend ABAP system and created a destination with the virtual host in SAP Cloud platform. But when I am trying to fetch the destination via API call in CAI, it throws me the following error, in spite of configuring all the connections in Cloud connector and in destinations with HTTP.
{"api_service_response": { "body": "HTTPS proxying is not supported. Use HTTP instead. HTTPS is not needed because communication is already secured by the tunnel. ", "status_code": 405 } }
Could you please suggest a solution to resolve this?
Hi Madhumitha,
when using an SAP Cloud Connector, the URL maintained in the destination should not start with https:// but rather with http:// and also the virtual host in the cloud connector should be configured accordingly. HTTPS is security-wise not required here, as the connection is anyway secured with a tunnel, as mentioned in the error message.
Regards
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonas,
The protocol used in Cloud connector is HTTP and used http://<virtualhost>:<virtual port> in the URL in Destination in cloud platform. Still the error persists.
Hi Madhumitha,
You can check the URI https://<...><port>/sap/opu/odata/. from gateway itself.
Thanks,
Roy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhumita,
Please check your destination Destination Configuration in cockpit.
"Type" should be "HTTP"
"URL" will be https://<...>;
Thanks,
Roy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhumita,
I think you are trying to call the API with HTTPS(protocol) which may causing the error
just try to call the same API from your web browser using HTTP.
Thanks,
Sathish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.