cancel
Showing results for 
Search instead for 
Did you mean: 

Connection Timeout error in AS2 communication

sunit_s
Participant
0 Kudos

Hi Gurus

I am sending an order file to our vendors via Seeburger AS2 adaptor but I am getting the following error:

Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: java.net.ConnectException: Connection timed out: connect # , SEEBURGER AS2: java.net.ConnectException: Connection timed out: connect #

I see above error in Communication Channel monitor.

In message monitor of Seeburger I see the below error which suggests the same.

Could not deliver as2 message to partner: java.net.ConnectException: Connection timed out: connect # null

I use HTTP protocol in AS2 adaptor channel

Any help will be very useful.

Thanks in advance.

Sunny

Accepted Solutions (1)

Accepted Solutions (1)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Probably a network or firewall issue. Did you reach to the location using telnet? if not probably some issue with network.

Regards

Aashish Sinha

Answers (4)

Answers (4)

sunit_s
Participant
0 Kudos

Hi All

The issue is solved. It was Firewall/Network issue. I guess the port 80 was not open.

To test if the connectivity is fine, just open the AS2 URL in IE browser. If you get meaningful message in browser then the ports are all open. If you get error message in browser then ports are not open.

Thanks to all who contributed.

Regards

Sunny

naveen_chichili
Active Contributor
0 Kudos

HiSunny,

Try to ping the server from your PI and check if the connectivity works fine.Also check if there is any firewall issues.

open the respective data port dynamically, with FTPS, it might be difficult for the firewall to determine this port, because the control connection is already encrypted at the time the data port is negotiated.

Check this :http://help.sap.com/saphelp_nwpi711/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm

Thanks & Regards

Naveen

Edited by: chichilin on Jul 27, 2011 2:43 PM

Former Member
0 Kudos

Hello,

You could also check the following information from the Seeburger AS2 guide:

java.net.ConnectException: Connection refused: connect

Cause:

1) An incorrect HTTP port is used to connect to the partner.

2) A firewall is blocking the communication with the web server.

3) The web server is down.

Solution:

1) Make sure that the correct port is being used for this connection. E.g. the default HTTP port of the SEEBURGER AS2 adapter for SAP XI is 50000.

2) Check if there is a firewall, and if the corresponding ports are open.

Regards,

Sarah

former_member854360
Active Contributor
0 Kudos

Specify the timeout parameter in AS2 channel also Check the connectivity with your partner firewall port etc

sunit_s
Participant
0 Kudos

Hi

I increased timeout parameter from 120 to 1000 seconds, still getting same error.

Rgds

Sunny

former_member854360
Active Contributor
0 Kudos

Check the connectivity and Firewall issue...

You can contact to your basis team.

For detail error you can see NWA logs.