on 06-22-2015 7:51 PM
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
Hi Sridhar,
I think your basis team have tried to do a telnet
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for response.
The target server was configured not to respond to ping/telnet command. So when we run telnet/ping from PI system, it is not getting response.
Does PI uses ping/telnet commands with hostname/ipaddress before establishing the connection?
XPI_inspector tool provided the more information about the error as below.
Message Processing Failed.
12:16:01:525 J2EE_GUEST ~_/]_38 ~tp.core.filter.CallHttpServerFilter Throwing com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST-Message Processing Failed. Reason : java.net.UnknownHostException: https://xxx.com
12:16:01:625 J2EE_GUEST MS Queue Worker [AFWSend] ~tp.core.AdapterImpl.processOutbound Caught com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST-Message Processing Failed. Reason : java.net.UnknownHostException: https://xxx.com
at com.sap.aii.adapter.http.core.filter.CallHttpServerFilter.filter(CallHttpServerFilter.java:370)
at com.sap.aii.adapter.http.core.filter.FilterContextImpl.callNext(FilterContextImpl.java:51)
at com.sap.aii.adapter.http.core.filter.ConvertHeadersFilter.filterOutbound(ConvertHeadersFilter.java:232)
at com.sap.aii.adapter.http.core.filter.ConvertHeadersFilter.filter(ConvertHeadersFilter.java:63)
at com.sap.aii.adapter.http.core.filter.FilterContextImpl.callNext(FilterContextImpl.java:51)
at com.sap.aii.adapter.http.core.filter.ConvertPayloadFilter.filterOutbound(ConvertPayloadFilter.java:122)
at com.sap.aii.adapter.http.core.filter.ConvertPayloadFilter.filter(ConvertPayloadFilter.java:73)
at com.sap.aii.adapter.http.core.filter.FilterContextImpl.callNext(FilterContextImpl.java:51)
at com.sap.aii.adapter.http.core.filter.CloseResourcesFilter.filter(CloseResourcesFilter.java:31)
at com.sap.aii.adapter.http.core.filter.FilterContextImpl.callNext(FilterContextImpl.java:51)
at com.sap.aii.adapter.http.core.filter.ThreadNameFilter.filter(ThreadNameFilter.java:74)
at com.sap.aii.adapter.http.core.filter.FilterContextImpl.callNext(FilterContextImpl.java:51)
at com.sap.aii.adapter.http.core.channel.HttpReceiverChannelImpl.processOutbound(HttpReceiverChannelImpl.java:44)
at com.sap.aii.adapter.http.core.AdapterImpl.processOutbound(AdapterImpl.java:657)
at com.sap.aii.adapter.http.core.AdapterImpl.processOutbound(AdapterImpl.java:899)
at com.sap.aii.adapter.http.ejb.HttpAdapterBean.process(HttpAdapterBean.java:66)
at sun.reflect.GeneratedMethodAccessor671.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Any body get resolved this kind of issue?
Thanks
Sridhar Goli
Please implement note 1958104
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sridhar,
Check with your basis and security team for firewall and SSL connections as you are using HTTPS.
Regards,
Mateen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.