Skip to Content
avatar image
Former Member

Receiver Channel HTTP_AAE adatper Exception:HttpAdapterException: ERROR_SENDING_HTTP_REQUEST-Message Processing Failed. Reason : java.net.UnknownHostException

We are using HTTP_AAE adapter as receiver to send the data to web based application by using URL with HTTPS. It is throwing the following error while sending the data to web based application..

Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST-Message Processing Failed. Reason : java.net.UnknownHostException: xxxx

The URL https://xxx.com is opening from SAP PI server but not getting the response while doing ping command from command prompt.

Note: The web server was configured in such a way that not to respond to PING command.

We maintained the host file with hostname. Even we tested with ipaddress:port in the url also. It is throwing the same error.

Anybody got this kind of issues?

Thanks

Sridhar Goli

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Jun 23, 2015 at 01:36 AM

    Hi Sridhar,

    Check with your basis and security team for firewall and SSL connections as you are using HTTPS.

    Regards,

    Mateen

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 23, 2015 at 07:29 PM

    Hi Sridhar -


    AFAIK - By default "Hostnamecheck" is enabled for SSL communication and may be that could the reason it's not working even after you configure IP address.

    Try adding " strictHostnameChecking” parameter under advanced mode and set the value to "false" to see if that helps.


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 24, 2015 at 09:55 AM

    Please implement note 1958104

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Atul,

      Now implemented the note 1958104 also.

      Still it raising the same error.

      @Mateen,

      While going the request from PI system, there is no check point in the firewall.

      Any inputs please???

      Thanks

      Sridhar Goli

  • Jul 17, 2015 at 06:14 AM

    Hi Sridhar,

    I think your basis team have tried to do a telnet Checking Connectivity of any server with PI

    Have you tried with the endpoint IP directly?

    Meantime you haven't better advice from SCN members I think you can try a sniffer like TCP Gateway (https://websmp202.sap-ag.de/~sapidb/012006153200000201802006E/tcpgw.zip) in order to get more logs about the communication. Also depending of your PI version you can increase the PI trace logs and tell us if there are any new relevant information 1904944 - *NF* Client side HTTP tracing for SAP PI receiver adapters

    Regards.

    Add comment
    10|10000 characters needed characters exceeded