cancel
Showing results for 
Search instead for 
Did you mean: 

XI Basics - Tough question

Former Member
0 Kudos

Hi

I am trying to develop a file-XI--HTTP scenario.

This is done to transport a pdf as it is.

As a test I created a file-XI--file scenario but it keeps failing.

Note: Messages from other interface(receiver) also fail and they all have the same error "HTTP 401 Unauthorized"

I am suspecting that the service user XIISUSER could be locked or expired.

If XIISUSER is locked will the integration server be able to communicate with the receiver adapters ?

Would this event affect the adapter in the J2ee engine and IDOC and Plain HTTP adapter in the same way?

For my file-XI-HTTP i am getting the error

HTTP-Client Code 400 Reason ICM_HTTP_CONNECTION_FAILED

Could this error be because the service user XIISUSER is locked?

Regards,

Vignesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Vignesh

This is time out.

Go to SXMB_ADM and increase the value for HTTP_TIMEOUT

Refer Mike's blog

XIISUSER locked or expired you will get error code 401.

Thanks

Gaurav

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

Does that mean i have to give " /sap/xi/engine?type=entry:" in the path prefix ?

I have given the path that the 3rd part guy gave me in the path prefix parameter of HTTP receiver.

Is that a mistake ?

There will be a firwall between XI and 3rd party.

does it mean that the part given by the 3rd party will be specified in the firewall settings?

Former Member
0 Kudos

HI

I am facing the same kind of issue which you faced regarding the ICM_HTTP_CONNECTION_FAIILED

Please let me know what you dhe done to correct the error

Thanks

Faheem

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Port :Use SMICM port

IP address : Target Host

Former Member
0 Kudos

hey,

I have got a 3 items that 3rd party gave me.

1)IP address -


> i put this in the targer host of the Receiver HTTP adapter.

2) Port -


> I put this in the service no of the Receiver HTTP adapter.

3) path -


> i put this in the path of the of the Receiver HTTP adapter.

I am confused. Should i enter the port no that the 3rd party gave me or the service no of HTTP(the one in smicm) in the Receiver HTTP adapter ?

Please clarify .

Regards,

Vignesh

Edited by: Vignesh Perumal on Nov 18, 2008 7:00 AM

Former Member
0 Kudos

Hi Vignesh,

ICM_HTTP_CONNECTION_FAILED error code : 400 is not able to communicate the R/3 System. So verify the Target Host, service No and Path details. I think path is common for all systems /sap/xi/engine?type=entry. So check with TargetHost and Service No. using T-Code SMICM in Application System(R/3). Then Goto --> Services and check Service Name and Host Name.

Note : Service Name is Service No.

Host Name is Target Host.

And one more thing also check any authentication used for SAP System. Check that username and password also.

Thanks & Regards

Vijaykumar

dharamveer_gaur2
Active Contributor
0 Kudos

Check with Network people, this might be firewall issue.

Former Member
0 Kudos

Thanks for ur opinon.

I just tried to ping the 3rd part system from my PC.

I got a message sayig "Request timed out"

Does this mean that the 3rd part system is not active ?

Former Member
0 Kudos

Hi,

Check:-

1 User mentioned above is locked in SU1 tcode or not if its locked then unlock it,

2 R u pininging ur FTP server from ur desktop try to ping the FTP server from XI server and check the result if it is showing request time out then ur FTP is not reachable.

3 Can u check the status of both the adapters from RWB communication channel monitoring and let me know the status of ur both communication channel.

4. Can u check the message in SXMB_MONI.

let me know all the outcomes

chirag

Former Member
0 Kudos

Hi Vignesh

I got a message sayig "Request timed out"

Does this mean that the 3rd part system is not active ?

This is not compulsory. If your firewall dont allow to connect then also you will get time out. Try to ping this from your system as well as XI server. if its not available to your network then you need to add this system to firewall to be able to FTP.

Thanks

Gaurav

Former Member
0 Kudos

Hey ,

I have checked the trace from transaction SMICM.

This is the error i got

[Thr 2314] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 9 / sock 38

(SI_ECONN_REFUSE/79; I4; ST; 217.167.99.66:1100) [nixxi.cpp 2823]

[Thr 2314] *** WARNING => Connection request from (28/20759/0) to host: 217.167.99.66, service: 1100 failed (NIECONN_REFUSED)

AP-T28, U20759, 010 PIAFUSER, , 05:15:37, M0, W2, , 1/0 [icxxconn_mt.c 2321]

Why was the connection refused ? Can we get any idea about this from the message above?

Does this error message have somr thing to do with the timeout of the XI system ?

Below is the message i am getting in sxmb_moni

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>

<SAP:P1>400</SAP:P1>

<SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED</SAP:Stack>

<SAP:Retry>A</SAP:Retry>

</SAP:Error>

Pls help me figure this out

Edited by: Vignesh Perumal on Nov 18, 2008 6:22 AM

SudhirT
Active Contributor
0 Kudos

Hi Vignesh,

The default value of HTTP_TIMEOUT is 0 in XI and you need to increase this value in SXMB_ADMIN> Integration Engine Configuration> Specific configurationRuntime>HTTP_TIMEOUT == 1000 for now.

This will make sure that for some time if your XI is unable to reach Target system for any reason, It will not be timed out.

Thanks!

Former Member
0 Kudos

Hi Vignesh,

Verify the communication channel parameters like Check the Target host, Service No. & Path and also check Authentication User & password.

Note: This service No. is same as R/3 System HTTP port.

View the R/3 System HTTP Service port is using T-Code(R/3 System) smicm --> Goto --> Services.

Thanks & Regards

Vijaykumar

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

HTTP-Client Code 400 Reason ICM_HTTP_CONNECTION_FAILED

check whether the target Server is Up & running

check whether you have activated all services in SICF in SAP XI

use this blog to refer all HTTP error