cancel
Showing results for 
Search instead for 
Did you mean: 

b2b as2 sender problem

Former Member
0 Kudos

After reading the blogs and helpful threads, I have run AS2 demo successfully with mendelson .

But I still have problem to receice AS2 from WalMart.

find error in b2bic log:

AS2_VERSION: 1.1; MESSAGE_ID: <20141226041451A0B7256E@146907777000001>; AS2_TO: CC_AS2_SENDER_WALMART; AS2_FROM: 146907777000001; FROM: GVBe2Bzy; SUBJECT: EDIINTDATA; CONTENT_TYPE: application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m"; CONTENT_LENGTH:1351

Cannot decrypt message

Error occured while decrypting the AS2-message: Cannot decrypt message: org.bouncycastle.cms.CMSException: key invalid in message.

I did some search, somy says it is JCE problem?

but my demo scenario  use 1024bits, it works fine.

or algorithm 3DES to DES, PI does not support 3DES? I use  DES in my demo too.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Another problem, when send MDN to walmart:


Cannot send MDN: com.sap.httpclient.exception.NoHttpResponseException: The server gem.wal-mart.com is not responding


We have received EDI data, but failed to send MDN back.


network problem or configuration?


Thanks


Ryan-Crosby
Active Contributor
0 Kudos

Hi,

Since they are not receiving the first guess would be that they are not allowing it to pass through their firewall.  I would check the URL for where you are sending the MDN to make sure it is correct if you are doing it asynchronously.

Regards,

Ryan Crosby

Former Member
0 Kudos

Hi,

I am also facing the below error in my Receiver AS2 Adapter.Please let me know the cause of the error.


MP: exception caught with cause javax.resource.ResourceException: Message cannot be delivered: com.sap.httpclient.exception.NoHttpResponseException: The server ' 'is not responding.


Regards,

Tibin Joseph



Dimitri
Active Contributor
0 Kudos

Hi,

Sounds like you have a network problem? Can you reach the target server from your SAP PI machine?

Try with a telnet and/or ping.

Kind regards,

Dimitri

Former Member
0 Kudos

Hi Dimitri,

Thanks for quick response.

Yes.Telnet is working.

Regards,

Tibin Joseph

Dimitri
Active Contributor
0 Kudos

are you sure the receiving server is up and running?

Maybe you can ask them if they see incoming message traffic.

Ryan-Crosby
Active Contributor
0 Kudos

Hi,

Sounds like the host is up if you can telnet to the host but that doesn't necessarily mean they are answering HTTP traffic from your PO system -  whether it be the standard port 80 or something else.  I would look into any firewall rules that are likely in place for the scenario.

Regards,

Ryan Crosby

Dimitri
Active Contributor
0 Kudos

Hi Ryan,

Indeed. That is correct.

@ Tibin Joseph: perhaps I had to explicitly mention that you need to add the port to the telnet command. In that way, you are sure if you can connect or not.

Kind regards,

Dimitri

Former Member
0 Kudos

Hi Dimitri and Ryan,

Thanks for your support.

Telnet with port command was fine and the server is up also.Identified the problem like the Own AS2 name in AS2 Receiver channel is different with the one in the VAN Mail Box portal .In Mail Box it was wrongly configured .Corrected and In PI monitoring it starts showing successfully delivered the messages.

Thanks,

Tibin.

Ryan-Crosby
Active Contributor
0 Kudos

Hi,

We had this issue when we first started testing with longer keys and we followed the steps in this blog to have the system work for unlimited strength keys:

Regards,

Ryan Crosby

Former Member
0 Kudos

because of JCE indeed!