Quantcast
Viewing all articles
Browse latest Browse all 3131

Consuming RESTful service results in 502 HTTP

Hi,

I'm trying to consume a REST service from HCP Java application. The service is HTTPS.

When consuming it with curl or Chrome Postman app, the service call works fine. But when I try to do it from a Java app on HCP, I get a 502 HTTP result. It occurs both on a local server and on the cloud. The code used is just like in the example:

https://help.hana.ondemand.com/help/frameset.htm?e592cf6cbb57101495d3c28507d20f1b.html

When trying it on other services it works fine.

I guess the problem is some Proxy settings, but I don't know how to set proxy for apps that run on HCP.

Does anyone have any idea of how to solve this issue?


Viewing all articles
Browse latest Browse all 3131

Trending Articles