Skip to Content
avatar image
Former Member

AS2 Sender channel - authorization Error & error with expected URL


i had configured AS2 sender channel as shown below:

In General tab, Expected URL path as.*

Expected Message ID left/Right as .*

Aslo assigned values for Expected Sender AS2 name and own AS2 name and subject as well.

In signature and encryption tab,

assigned proper Keys for 'verify signature' and 'decryption'.

MDN tab also selected sign MDN and assigned proper keys and selected Send options as 'Immediate'.

So once done above configuration in AS2 sender channel, channel status shows as 'Channel is listening for incoming connections on /AS2/.*' but when source system triggers AS2 message, they are getting error as '401 Unauthorized'.

So if i try to add the expected URL path as 'Http:// host:port/AS2/ ' then channel status shows as 'Channel configuration is erroneous: Expected URL path is not correct'.

even i tried to add <path> to the url and still it shows same error. Please suggest how to solve this issue. we are having PO75 and b2b addon latest version. As we are using Certificate authentication, hope no credentials required to be provided to source system right?

Thank you.

Best Regards,prasant

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 29, 2017 at 04:27 AM


    Close your browser and put the URL which you have given to third party in the browser and check if its asking for any userid/password ?



    Add comment
    10|10000 characters needed characters exceeded

  • Aug 29, 2017 at 01:38 PM

    Hi Parsanth,

    have a look at SAP note 1828575.

    The AS2 adapter requires a basic HTTP authentication as of service pack 2 in the default setting. However you could change the settings of your PO system as described in the note in order to use the adapter without HTTP authentication.



    Add comment
    10|10000 characters needed characters exceeded

  • Jan 18, 2018 at 09:18 AM

    @Prasanth V

    We are having the same issue. Were you able to fix this?

    Lars Franz

    When we implement the OSS note you pointed we started receiving 403 forbidden error. I created a new thread if you prefer answering that. Please see the below.

    AS2 Sender Channel HTTP error 401 unauthorized HTTP error 403 forbidden

    Thanks in advance for any insights.



    Add comment
    10|10000 characters needed characters exceeded