HttpAdapterException: ERROR_SENDING_HTTP_REQUEST
Hi Experts ,
I am getting an error in the following scenario : IDOC - PI ( 7.31 SP 7)- HTTP_AAE . I am getting the following error .
Transmitting the message to endpoint <local> using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST,
Can you please help me with this?
Thanks in Advance
Hi,
look to the http receiver channel. Look to Detaination details, something is wrong.
Check the host: send a ping
Check the whole address by requesting it with freeware programs like Wfetch (Microsoft) or Firefox Poster.
/Udo
Similar Messages
-
Error in HTTP_AAE receiver communication channel, PI 7.4 dual stack
Dear Experts,
I am facing the below certificate error in HTTP_AAE receiver communication channel while using the third party (bank) private key. Third party bank server is HTTPS enabled, moreover they have generated the public and private keys on their server, and they shared the corresponding private keys in .p12 format to us. Our scenario in SAP PI is synchronous ABAP Proxy to HTTP_AAE, when I see the message in SXMB_MONI after testing, we get he below certificate error, though we have provided the correct path from keystorage view and keystorage entry in HTTP_AAE receiver communication channel
“com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST, sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
We have imported the private key provided by bank in Netweaver admin key storage, by following the below steps.
NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12 Key Pair->select the .p12 file->import.
Please see the attached doc for related screenshots.
Please experts help me experts as this is on high priority from client, also suggest me if I am doing anything wrong here.
Thanks,
FarhanHi Farhaan,
do you have only one certificate or multiple certificate? HTTPS can have 2 or 3 certificates (Root, Intermediate [optional, if any 3rd party person is there in the middle then we can get this certificate] and system certificates).
The issue is with the certificate and it can be because All the certificate is not present or path is not correct.
Please refer the below wiki in which solution is given for this peroblem.
Troubleshooting 7.1 - End-User Experience Monitoring - SCN Wiki
The similar issue is resolved by applying SP level patch, please refer the below discussion
SAP PI 7. 3 HTTP_AAE Receiver with SSL
Please check the below blog -
Configure the HTTP_AAE receiver communication channel with SSL
please also check the below discussion
Where to Import Clients SSL certificate for HTTP_AAE
regards,
Harish -
when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"
Hi, Michal
I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
<b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
<b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
<b>1.</b>Builder for Integration Repository
<b>2.</b>Builder for Integration Configuration
<b>3.</b>System Landscape Directory
<b>4.</b>Runtime Workbench
<b>5.</b>Administration System (for Repository, Directory, Runtime)
Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
For more details about my SAP-XI, please access the following Web page:
http://iccxi.sap.com:58000/rep/support/admin/index.html
<b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
2006-06-19 05:12:16 Success Message successfully put into the queue.
2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
2006-06-19 05:12:16 Success The message status set to DLNG.
2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
2006-06-19 05:12:16 Success SOAP: request message entering the adapter
2006-06-19 05:12:37 Success SOAP: call failed
2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
Thanks
Menghua Li -
Dynamic Query string in Receiver HTTP_AAE adapter
Hi All,
Currently I am working with a scenario where I need to use HTTP_AAE receiver adapter. I need to create the query string http://server:port/WebOrder?param=value dynamically.
I created below mentioned UDF.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey urlParameter1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP_AAE", "URLParamOne");
conf.put(urlParameter1, "value");
return "";
In configuration part I entered below mentioned details in HTTP receiver adapter,
Target Host: server
Target Port: port
Path: /WebOrder?
Click Set Adapter specific Message properties
Click URL Parameters
I entered "param".
But I am getting the below mentioned error.
exception caught with cause com.sap.aii.adapter.http.api.HttpAdapterException: STATUS_CODE_NOT_OK-Not Found.
Could you please help me here.
Thanks
DipankarDear Team,
I am working on SAP PO 7.4 Single stack. we are have scenario to send sms to customers via portal system and the delivery status has to be updated in ECC. Failed to hit the sms portal by using the HTTP_AAE adapter.
URL - http://103.112.70/smpp/sendsms?username=xxxxx&password=xxxxx&to=919797979797&from=919560054422&text=test message.
Scenario - ECC(proxy) -> PO(HTTP adapter) -> SMS portal
Development:
ESR - In the mapping
Five parameters- username , password , to , from and text from ECC to PO as part of request message.
UDF -
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey parmValue;
try{
parmValue = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "URLParamOne");
conf.put(parmValue, var1);
parmValue = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "URLParamTwo");
conf.put(parmValue, var2);
parmValue = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "URLParamThree");
conf.put(parmValue, var3);
parmValue = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "URLParamFour");
conf.put(parmValue, var4);
parmValue = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "URLParamFive");
conf.put(parmValue, var5);
}catch(Exception ex){}
return "";
Integration Directory-
Communcation channel:
Tranport Protocol - HTTP 1.1
Message Protocol - GET
General Tab-
Addressing Mode - URL Address
Target Host - 103.112.70
Target Port - 80
Path - smpp/sendsms
Mainpayload Parameter Name - MT_SMS_Cust_Req
Advanced Tab-
Header fileds - EMPTY
Query Parameters - sender party - enabled
sender service - enbled
Receiver Interface - enabled
Message ID - enabled
Quality of service - enabled
Adapter -Specific Message Properties
set Adapter -specific Message Properties - enabled
URL parameters - enabled
parameter 1(URLParamOne) - username
parameter 2(URLParamTwo)-password
parameter3(URLParamThree)-to
parameter4(URLParamFour)-from
parameter5(URLParamFive)-text
After the configureations..The structture is not getting created as per the url format . In runtime PO system is sending only - smpp/sendsms to SMS portal and getting the response as Not authorized means the username&Password&to&from&text are not hitting the SMS porta.
Please check the configurations and guide me if any configurations were missing.
Regards,
Teja. -
Runtime Error Custom Module Adapter 7.31
Hi experts.
We've developed a custom module adapter to be used in HTTP_AAE sender adapter. The deployement is successfull, the module is started but we are facing this error at runtime:
Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_IN_MODULECHAIN, null
¿Any idea what can be happening?
We are working with version 7.31 SP 10 Java only stack installation.
Thanks a lot.
Kind regards.
Christian.Hi Amit.
Thank u so much but your response.
Regarding your quesion, yes I have done it.
Regards.
Christian.
Maybe you are looking for
-
Mini dvi to dvi adapter not working with monitor
arright *** i got a mini dvi to dvi adapter which is connected to my vga monitor through a vga to dvi adapter. The computer recognizes the monitor in display preferences, but the monitor doesn't display anything it just sits in standby mode... any id
-
Purchased a new Ipad for my wife and integrated it with my windows 7 system and Itunes and made it through. Was able to sync and bring pictures, contacts and bookmarks over. Not to say it was easy because I never used any Apple product except my Ip
-
hello all, i am getting the systex error (multiple markers at the line 3) from the following code, (i am using java 1.5 and eclipse 3) import java.util.*; public class FindDups { public static void main(String args[]) { Set <String> s = n
-
Well I'm on a job where I'm preparing a projection mapping installation and I've been given a quad core Mac G5 for a few weeks. I have admin privileges, so I've put the projection mapping software in, and all my favorite widgets and plugs. All runnin
-
Unknown Error while running quickstart tool
While running the FIM quickstart tool I get an error while trying to verify the container. Any Ideas what is causing this? VERBOSE: Verifying the forest and account VERBOSE: Verifying the container invoke-quickstart : Unknown error (0x80005000) At li