cancel
Showing results for 
Search instead for 
Did you mean: 

401 unathorized error in PI7.1

Former Member
0 Kudos

Hi experts,

We are getting the 401 unauthorized error in PI7.1 as shown below . PLease check and assist ASAP.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

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

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

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

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

<SAP:P3>(See attachment HTMLError for details)</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Rgds

Kishore

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Problem resolved

Former Member
0 Kudos

Problem resolved

Former Member
0 Kudos

In Runtime workbench this is what i have observed in the Cache status overview,

The Central Adapter engine , Mapping Runtime cache( Central Adapter Engine) are showing up in red.

In the Mapping Runtime Cache the error is as follows:

Connection to system DIRECTORY using application DIRECTORY lost. Detailed information: Error accessing "http://sapqpi01:50000/dir/hmi_cache_refresh_service/int?container=any" with user "PIISUSER". Response code is 401, response message is "Unauthorized

We have accomplished delta cache refresh, complete cache refresh in SXI_CACHE.

Can you anyone suggest what needs to be done to refresh this cache in Cache status overview?

Rgds

Kishore

former_member200962
Active Contributor
0 Kudos
Connection to system DIRECTORY using application DIRECTORY lost. Detailed information: Error 
accessing "http://sapqpi01:50000/dir/hmi_cache_refresh_service/int?container=any" with user "PIISUSER". Response code is 
401, response message is "Unauthorized

The password for PIISUSER seems to have been locked/ changed....please contact your Basis team to check.....once password is reset/ unlocked then refresh the Cache and check...

Regards,

Abhishek.

Former Member
0 Kudos

hi Kishore,

Do the following items

1. Get the PIISUSER password reset in PI.

2. Have the complete CPA cache refresh done using URL - *http://<servername>:<port>/CPACache/refresh?mode=full*

You may try to do 'delta' refresh also in case if you don't want 'full' by just replacing 'full with delta'

Thanks

Sekhar

Former Member
0 Kudos

User PIISUSER may also be locked due to too much incorrect login attempts. Unlock it using ABAP transaction SU01.

Also check for user's roles using SU01. PIISUSER should have the following roles:

SAP_SLD_CONFIGURATOR

SAP_XI_IS_SERV_USER

SAP_XI_IS_SERV_USER_MAIN

Regards,

Volker