Skip to Content
0

AS2 Sender Channel - HTTP 1.1 403 Forbidden or HTTP 1.1 402 unauthorized

Jan 17 at 11:02 PM

156

avatar image

Hello,

Scenario:- AS2 (Sender)->PI/PO->SAPSOAP

Components:- We are using SAP PI 7.4 B2B toolkit AS2 adapter to receive a message from our partner.

Issue:- When the thirdparty is sending the AS2 message we are receiving HTTP 1.1 403 Forbidden or HTTP 1.1 402 unauthorized.

We shared the the AS2 URL to be http://public_ip:50000/AS2/AS2Name which is different from http://pi_ip:50000/AS2/AS2Name.

Currently the expected URL is the sender communication AS2 channel is configured as .*

Also in the public key certificate we shared we used our PI Server DNS name as the common name http:pihost.domain.com instead of our public_ip.

When we look into the XPI_INSPECTOR log the recipient-address: in the incoming message(HTTP post from third party) is http://public_ip:50000/AS2/AS2Name and the hostname is public_ip:50000.

Why are we getting this 403/401 error?

I am suspecting that this is because we asked our partner to use the IP address in the AS2 URL on their side with our public IP when sending the message. This public IP address is different from our PI host ip.

Also when we generated our certificates we used PI host name instead of public ip address.

Do you see any of these causing the issues?

Any help is much appreciated. Thank you in advance...


Regards,

Bharat

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers