on 03-29-2018 11:53 AM
Hello there,
Have a Java servlet (supposed to act as a proxy), deployed on hanatrial cloud platform, making a apache httpclient connection to an external website to fetch data. And all attempts throw a connectionexception - connection timed out to the external site.
Question is, are outbound connections allowed to external sites from a hanatrial account or not or i'm clearly missing something.
Thanks in advance for the help.
Rajit
Dear Rajit,
I think you must use the SCP Connectivity Service (Destinations) for this. I think the project https://github.com/SAP/cloud-connectivityproxy can be a good starting point for you.
Best regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gregor,
That worked beautifully. Thank you very much. I guess the secret is in com.sap.core.connectivity.httpdestination.impl.HttpDestinationImpl and com.sap.core.connectivity.httpdestination.impl.HttpClientWrapper through which the connections are routed out than directly.
Thanks for your help,
Regards,
Rajit
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.