cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP response '502: Host not found' when communicating with On-Premise System

Hello Community,

The problem I would like to clarify is already stated in the header. The original message from browser is "HTTP Error 500, could not sent message"; that "underlying" error I see in the Logs of my Java Application in HANA Cloud.

Full underlying message looks like:

Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '502: Host not found' when communicating with https://system.virtual:port/path/to/service/

Scenario:

Destination DEST at HANA Cloud with URL "https://system.virtual:port/path/to/service/"

Cloud Connector with HTTPS connection (virtual "system.virtual:port", internal "real.system.corp:12345");

  • path and sub-paths included

Java App, which is a client to a SOAP service (JAX-WS by Apache CXF) => on HANA Cloud

  • DEST will be resolved via ConnectivityConfiguration API

On-Premise ABAP System, which provides the SOAP Web Service (got WSDL from SOA Manager, etc)

Testing locally, within the firewall is not a problem, resulting JSON will be received.

It seems, that a Cloud Connector cannot be reached from Cloud. Or won't be reached at all. What could the problem be? The connector is a master instance, registered in Cloud, etc.

Thanks in advance!

Denis

View Entire Topic
MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Denis,

check on the cloud connector, whether you can really reach the target host - the real host from the cloud connector machine.

It seems that establishing the socket from SCC to the backend is failing.

Best regards,

Markus

0 Kudos

Hi Markus,

thanks for the reply. Do you mean the "check" button in CC Administaration? If yes, then I checked, and it seems to be green. The Log tells me: "#SccEndpointValidator returning true for HTTPS://<hostname>.corp:<port>|".

The destination checking in HCP Cockpit is also ok.

Best regards,

Denis