Skip to Content
1
Jul 28, 2016 at 01:14 PM

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

2397 Views

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