cancel
Showing results for 
Search instead for 
Did you mean: 

Unauthorized error 401

apu_das2
Active Contributor
0 Kudos

Hi Guys,

Suddenly getting below error in multiple interfaces across different adapters like File, SOAP, JMS etc.

No changes are done recently. Any clue?

Transmitting the message to endpoint https://xi.xxxxxxx.com:18060/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 401 : Unauthorized

Surprising part is when I am restarting this message manually, it is getting cleared. Sometimes, 2-3 attempts need to make.

FYI, We are in PI 7.4 dual stack.

Accepted Solutions (0)

Answers (3)

Answers (3)

apu_das2
Active Contributor
0 Kudos

Hi,

I guess there is some problem when java stack is calling ABAP stack. It is trying to call /sap/ lxi/engine?type=entry that titme sometimes it is getting 401 error.

Apart from parameter change, is there anything else to check?

Bhargavakrishna
Active Contributor
0 Kudos

Hi Apu Das,

Please check if any of your Service users(EX: PIAPPLUSER, PIAFUSER, PIDIRUSER...e.t.c) got locked.

In the below thread, check the Abhijeet solution and see if it is feasible to apply.

https://answers.sap.com/questions/8884143/soaphttpsapcomxixisystem-faileddue2received-http-r.html

I also suggest you to refer the below notes.

https://launchpad.support.sap.com/#/notes/2327198

https://launchpad.support.sap.com/#/notes/2626181

Regards

Bhargava Krishna

MarioDeFelipe
Contributor
0 Kudos

Hi, this is a common error in SAP PI, normally due to system not prepared for such load

could you please analyze the system performance, or check out if you have different application servers at SAP PI level that take you through that situation?

  • Check if the message always fails at the same app server in case you have more than 1
  • check if the message fails at the same java node in case you have more than 1 (you should have more than 1)
  • Try to increase the number of nodes, and the size of the java parameters, all depending on your current scenario and PI version
apu_das2
Active Contributor
0 Kudos

Hi Mario,

Thanks for your reply.

First of all data load is not increased as such. It's almost same from last 5 years. There are 4 application servers already.

Cluster node might not be increased right now. What all Java parameters you are suggesting to change?