cancel
Showing results for 
Search instead for 
Did you mean: 

401 Unauthrized error in sxmb_moni.

former_member192181
Participant
0 Kudos
Hi ,
Iam trying PI to PI scenario using PI 7.31
Test connection in SM59 is successfull.
But In SXMB_moni the message is erroring at Call Adapter level with 401 Unauthorized error.
Please provide me solution.
<?xml version="1.0" encoding="UTF-8"
standalone="yes"
?>
- <!-- Call Adapter -->
- <SAP:Error SOAP:mustUnderstand="1"
xmlns:SAP
="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<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>Authorization error while sending by HTTP (error code: 401 , error
text: Unauthorized)
</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>

Accepted Solutions (1)

Accepted Solutions (1)

former_member192181
Participant
0 Kudos

My Problem solved after Upgrading patch and re configuriong the Java Functional Units

Former Member
0 Kudos

Hi Lalitha,

I am getting same error sporadic(irregular) HTTP 401 authoriztion. Some times messages are processed successful but failing some time depends on load

we are using PI 7.31 SP06, do you know what patch we need upgrade? could you please provide the hint on this.

Thank you.
Sateesh

former_member192181
Participant
0 Kudos

When we faced this type of issue we have upgraded all the java Support packs

Former Member
0 Kudos

Thanks for your reply. My problem was resolved after applied the SAP note: 821026.

Best Regards,
Sateesh

Answers (10)

Answers (10)

srinivaas
Participant
0 Kudos

Hi All,

401 Unauthorized error in sxmb_moni


OSS note  1770625 says there are new releases of JRE7 that have fixed this,


Resolution

The fix will be available publicly in JRE 7u60.

Please find the JRE 7u60 in below link

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#j...

Note : Remove current Java in your pc / lappy after that install and restart your device once.

Thanks

Srini T.

former_member192181
Participant
0 Kudos

The Actual Scenario is

the PI we are using is PI7.31 dual stack.

Iam sending an IDOC to PI1. From PI1 it has to go to PI2. But in PI1 in SXMB_MONI at Call adapter level we are getting 401 Unauthorized error.

Receiver adapter we are using XI adapter in PI1.

All the Users are working and having correct passwords too.

Please help me out.

former_member192181
Participant
0 Kudos

Hi All,

Thanks for all your responses. But the issue is still pertaining.

Even I have sap_all profile to all the users (Dalog and System Users) in PI.

Even as said by Mark I have increased the Max Time and Wait Time Also,

But its not helping.

Even Today we upgraded to Patches.

But it also didnot help meout.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Can you check section 2.2.2 HTTP 401 - Authentication Failure

http://scn.sap.com/docs/DOC-16238

Hope this helps,

Mark

0 Kudos

Normally error code 401 occurs for unauthorized credentials or it may occur due to unavailability of the ens systems check if the system is down or USER is locked

KarthikBangeraM
Active Participant
0 Kudos

Check if the user involved in this transaction is using an expired password. Also, the user should not be classified as a communication user but it should be a system user.

We had faced a similar issue and the problem was found to be due to the above 2 points.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

It is certainly user credential issue. Are you interfacing java stack with dual stack?  You mentioned 7.31.That means your sender system is single java stack? Where do you see SXMB_MONI?

naveen_chichili
Active Contributor
0 Kudos

Hi Lalitha,

This error is due to the invalid credentials or user locked.

Please check the user credentials provided in channel and RFC.

Thanks,

Naveen.

former_member192181
Participant
0 Kudos

Hi All,

Thanks for the response.

But Test Connection of RFC destination is working Fine.

Cache is fine.

Please help out.

manigram
Active Participant
0 Kudos

HI

It might be due to user id problem,  Check the roles assigned to the user id which is configured in Destination. First assign SAP All role and check.

regards,

manigandan.

Former Member
0 Kudos

i would also check to see if the user is locked.

former_member192181
Participant
0 Kudos

This message was moderated.

former_member194612
Active Participant
0 Kudos

Hi,

Can you check the below thread

http://scn.sap.com/thread/1509622

It is because of authorisation error for your user, you can even contact your basis team.

Thanks,

Satish

former_member192181
Participant
0 Kudos

This message was moderated.