cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting to S/4HANA cloud from SCP trial account

former_member306668
Participant
0 Kudos

Hi;

I am following the script for scope item 1RW Setting up side-by-side extensibility... In the sample java app I changed the destination file and added following lines:

useProxy=true
proxyHost=proxy-trial.od.sap.biz
proxyPort=8080

Also create a destination called ErpQueryEndpoint which I tested in SCP (and it is working). The same same destination is in the destination file.

I am able to deploy and start the app but when I try to access via a browser, it seems to have problems connecting to the destination. Note, the destination is a S/4HANA Public Cloud system.

Look at the error log on the SCP side, I can see following error:

org.apache.http.conn.ConnectTimeoutException: Connect to myxxxxxx-api.s4hana.ondemand.com:443 timed out

and

java.net.NoRouteToHostException: errno: 113 (No route to host), error: Host unreachable (local port 39410 to address 10.117.xx.xxx (vsa442xxxx.nwtrial.od.sap.biz), remote port 443 to address 157.133.xxx.x)

Can anyone help me with what I am missing to get this to work?

Thanks

Thomas

Accepted Solutions (0)

Answers (1)

Answers (1)

oppancs
Contributor
0 Kudos

Dear Thomas,


From the above error it seems that some intermediary (e.g. proxy) does not allow access to specified S/4Hana cloud URL or the backend itself is not reachable due to some reasons e.g network issue. It can be also that the URL that you specified is not reachable or wrong.


Firstly Please check your proxy configuration.


Simple check that you can run with browser to verify there is access from your corporate network to S4Hana cloud URL. For proxy check please make your browser uses the same proxy.


You should be able to call the S/4Hana Url with browser and receive e.g "503 Service Unavailable No server is available to handle this request".


Additionally please verify that you are using the correct information (please refer SAP KBA 2494823), If everything is configured as it should on the Subaccount configurations, verify if the necessary IP addresses are added in your firewall exception list, according to KBA 2377425.


Best Regards,
Barnabás Paksi

former_member306668
Participant
0 Kudos

Hi Barnabás;

Thank you for your answer, however this seems to apply more to OnPremise, is this correct? We are using S/4HANA Public Cloud as the system I want to connect to.

I can create the same java application on our SCP account leaving out the proxy lines in the destination file, everything works fine. It is only when I create the app in my SCP trial account that we have this problem.

Maybe the question is are the 3 lines in the destination file correct or enough to tell SCP to use a proxy?

Regards

Thomas

oppancs
Contributor
0 Kudos

Dear Thomas,

Could you please provide a documentation based on which you try to establish the scenario?

Thanks and regards,

Barnabás

former_member306668
Participant
0 Kudos

Hi Barnabás;

I am following the setup instructions of scope item 1RW

https://rapid.sap.com/bp/#/browse/scopeitems/1RW

Regards

Thomas

oppancs
Contributor
0 Kudos
Hi Thomas,

Could you please share the destination configuration in e.g. a screenshot?

Thanks and regards,

Barnabás