cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding HTTP_RESP_STATUS_CODE_NOT_OK error.

Former Member
0 Kudos

Hi All,

At present i am working with Client ABAP proxies scenario.

When i execute my report in my RCC system,the mesages are not coming into XI system.When i check the errors in SXMB_MONI in ECC system it is giving error as mentioned below.

Th error i am getting is

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>401</SAP:P1>

<SAP:P2>Unauthorized</SAP:P2>

HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized).

What might be the problem?

Please respond ASAP.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized

Description: The request requires user authentication

Possible Solution:

u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER

u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>

u2022 If the error is in Adapter Engine

u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.

u2022 May be wrong password for user XIISUSER

u2022 May be wrong password for user XIAFUSER

u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message

Regards,

V.Ramya

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

The http code 401 refers to unauthorized access....I had a similar problem...

This problem basically occurs due to proxy server.

Look for complete access or try to bypass the proxy.....and try to ping the xi server ip address using the ecc server......

Former Member
0 Kudos

Please check few things...

in SM59, you would have defined a destination,, is connection test succefull against that connection in SM59...

If yes...

login to your PI system using sap gui...

goto tcode-- SICF-- press F8

process nodes as:

default host --> sap --> xi --> adapter_plain ,, check if this service is active,, if not activate

do the same for your ECC system as well

do let us know of any further happening

Regards

Zahid

Edited by: Zahid Murtaza on Jun 23, 2008 8:12 AM

former_member859847
Active Contributor
0 Kudos

Hi,

This is an authorization problem.

could you please check the RFC destination

connetion type 'H" from ECC to XI.

please try to reset once again login id and password

in RFC conncetion and test the connection & remote logon option.

if you use the use as PIAPPLUSR as user, then reset once agin password of that.

warm reagrds

mahesh.

Former Member
0 Kudos

Hi,

Check this URL for more clarification:

Boopathi

Former Member
0 Kudos

Hi Ramana,

plz check XIAPPLUSERs rights in SU01: Do he have the role SAP_XI_APPL_SERV_USER?

Change the user temporary to dialog user and try to logon for check. If you get the "change password dialog" cancel the logon (dont change the password).

Thanx

Sampath

former_member537867
Active Contributor
0 Kudos

Hi Venkat Ramana,

I think , this error is because of authorization. Check this SAP_XI_APPL_SERV_USER authorization to the User XIAPPLUSER.

Have you gone through this blog...

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Check whether the connection parameters are rights in ID. the http error 401 relate to a bad user or pass.

Check this users:

PIAFUSER

PIDIRUSER

PIREPUSER

PIRWBUSER

PIISUSER

J2EE_ADMIN

J2EE_GUEST

i adviced you to check when before restart the server if any of this users are lock.

Also check this-

check this blog

/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts

Regards,

Vinod.