cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SXMB_MONI

former_member869
Participant
0 Kudos

Hello Experts,

Please suggest a solution for the below error which occurs in my SXMB_MONI  whenever data reaches to PI for any scenario.

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>



Regards,

Rama

Accepted Solutions (1)

Accepted Solutions (1)

former_member869
Participant
0 Kudos

Hi Benedikt,

After executing the report SRT_ADMIN_CHECK and after checking the system logs..found the below error.Can you please suggest how to resolve the same.

Regards,

Rama

benedikt_bludau2
Participant
0 Kudos

Hello Rama,

for the warning "Could not send SLD data" check the transaction RZ70. Execute this transaction and then you can see in the log, if the data was send correctly.

When you double klick on the error "Failed to write to file..:" you get more informations, why the file is note written.

But I don´t think, that this is your error in sxmb_moni. Please check ST22 for a dump.

The first step ist to find, which user has no authorization.

The second step is to check, why has the user no authorization, is the user blocked, a wrong password, etc.

Benedikt

former_member869
Participant
0 Kudos

Hi Benedikt,

Thanks for your reply.

The user PIAF* is blocked since the password entered mismatched.

Regards,

Rama

Answers (5)

Answers (5)

benedikt_bludau2
Participant
0 Kudos

Hello,

please check, if some internal user is blocked (username = PI*).

Transaction SU10 --> Authorization Data --> All Users with Administrator or Passwort Locks --> Execute (F8).

Now you have a list from all blocked users.

Else you can check the webservice Runtime with report SRT_ADMIN_CHECK.

Then check the system logs in SM21, can you see there which user has no authorization?

Also you can check the Workflow Customizing with transaction SWF_XI_CUSTOMIZING, but I think this is not the reason.

regards,

Benedikt

iaki_vila
Active Contributor
0 Kudos

Hi Ramashish,

We don't know if you are connecting with PI single or dual stack. You have to check the configuration as these documentations:

How do you activate ABAP Proxies? | SCN

Connecting the ABAP Backend to Advanced Adapter Engine - Configuring Process Integration After Insta...

Regards,

vishnu_pallamreddy
Contributor
0 Kudos

Please double click on HTML Error details.

And post here.

former_member869
Participant
0 Kudos

Hi Vishnu,

The below error occurs in Trace.

<Trace level="1" type="T">User = PIISPOC</Trace>

<Trace level="1" type="T">Cached = X</Trace>

<Trace level="3" type="T">Creating HTTP-client</Trace>

<Trace level="3" type="T">HTTP-client: creation finished</Trace>

<Trace level="1" type="T">Security: Basic authentication</Trace>

<Trace level="1" type="T">Serializing message object...</Trace>

<Trace level="1" type="T">Tuning - AFW_MAXREQUESTCONTENTLENGTH 2000000000</Trace>

<Trace level="1" type="T">HTTP Multipart document length: 3554</Trace>

<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>

<Trace level="1" type="T">Timeout: 0</Trace>

<Trace level="1" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>

<Trace level="1" type="T">HTTP-client: response received</Trace>

<Trace level="3" type="T">HTTP-client: checking status code...</Trace>

<Trace level="1" type="T">HTTP-client: status code = 401</Trace>

<Trace level="3" type="System_Error">Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)</Trace>

</Trace>



Regards,

Rama

vishnu_pallamreddy
Contributor
0 Kudos

Hi Kumar,

Check autorization test in HTTP RFC destinations in both SAP ECC and SAP PI System.

former_member869
Participant
0 Kudos

Hi Vishu,

The RFC destination in sm59 works fine...PI is dual stack ..

Also found a new error in trace..

</Trace>

<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>

- <Trace level="1" type="B" name="CL_XMS_LMS_EXTR_FILTER-GET_VALUES">

<Trace level="1" type="T">total processing time: 0.0000000 sec [0 filter(s)]</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MESSAGE_PERS_MAN-WRITE_MESSAGE_TO_PERSIST" />


Regards,
Rama

vishnu_pallamreddy
Contributor
0 Kudos

I am asking about authorization test for RFC destinations.

vishnu_pallamreddy
Contributor
0 Kudos

Hi Kumar,

Please check RFC destination in SAP ECC and SAP PI system.

Please ask your basis team to check the authorization test in RFC destinations.

former_member187587
Contributor
0 Kudos

Please elaborate  - is this an inbound or outbound  message?

with which application you try to communicate?

is this a fresh PI installation?

former_member869
Participant
0 Kudos

Hi Nirmrod,

This occurs for both inbound and outbound.When we test for file to file the error occurs in moni..

The below information from trace

<Trace level="1" type="T">User = PIISPOC</Trace>

<Trace level="1" type="T">Cached = X</Trace>

<Trace level="3" type="T">Creating HTTP-client</Trace>

<Trace level="3" type="T">HTTP-client: creation finished</Trace>

<Trace level="1" type="T">Security: Basic authentication</Trace>

<Trace level="1" type="T">Serializing message object...</Trace>

<Trace level="1" type="T">Tuning - AFW_MAXREQUESTCONTENTLENGTH 2000000000</Trace>

<Trace level="1" type="T">HTTP Multipart document length: 3554</Trace>

<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>

<Trace level="1" type="T">Timeout: 0</Trace>

<Trace level="1" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>

<Trace level="1" type="T">HTTP-client: response received</Trace>

<Trace level="3" type="T">HTTP-client: checking status code...</Trace>

<Trace level="1" type="T">HTTP-client: status code = 401</Trace>

<Trace level="3" type="System_Error">Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)</Trace>

</Trace>




Regards,

Rama