on 06-28-2023 6:27 AM
Hi Experts,
Currently I have a CAP Java application that will consume the remote API from SAP S/4HANA On-Premise system. I'm developing this CAP Java application in the SAP Business Application Studio. I already configured the Cloud Connector, Destination Service instance, and Connectivity Service instance.
Right now I would like to perform some local testing in the Business Application Studio, so that I configured a default-env.json file, mentioned the destination and connectivity service instance & key information there. But I'm seeing the connectivity service throw I/O error, let me paste the error message below.
2023-06-28 05:09:02.464 INFO 798 --- [tner - Listener] o.apache.http.impl.execchain.RetryExec : I/O exception (java.net.SocketException) caught when processing request to {}->http://connectivityproxy.internal.cf.eu10.hana.ondemand.com:20003->http://tisce-s4h:44300: Connection reset
2023-06-28 05:09:02.465 INFO 798 --- [tner - Listener] o.apache.http.impl.execchain.RetryExec : Retrying request to {}->http://connectivityproxy.internal.cf.eu10.hana.ondemand.com:20003->http://tisce-s4h:44300
Below is what I have in the default-env.json file
But I'm seeing the destination & connectivity service instance is working fine after I deploy the CAP Java application to my space on the BTP.
May I know what I missed in the Business Application Studio ?
Hello Liu,
Did you maintain the destination info as mentioned in the below link in your .env file.
You need to maintain the destination-name.dest along with proxy host and port.
Bas connects to cloud-connector through a proxy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chanakya,
Thank you so much for your reply. Yeah I do have the <destination-name>.dest settled up in my Business Application Studio but at that time its still not working, I was keep getting the connection timeout error on the Connectivity Service instance.
But finally this instruction Enable Access to SAP Business Technology Platform Connectivity Service resolve my issue.
User | Count |
---|---|
72 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.