KB Article #73992
AS2 outbound transfers ending up in Canceled state
When using Gateway with SecureRelay, and performing a a large number of AS2 outbound transfers to a partner, only some of them get through. The rest end up in Canceled state.
Resolution
This can be due to not having a sufficient number of outbound ports available in the SecureRelay settings for the protocol. Increase the number and restart Gateway. (You may also need to have your firewall admins make the relevant ports available for outbound use.)
The details: According to the TCP specifications, RFC 793, a given socket connection (pair of hosts:ports) can be used by only one connection at a time. Thus, in a case like this, where the destination host and port is the same for all of the transfers, and only the source port is different each time - if there aren't a sufficient number of source ports available, then SecureRelay will be unable to establish a connection for all of the transfers.
The customer uses AS2 to send some files to a partner(CATALINA) he manages to send 9 files all the other files get in to CANCELLED state without any errors. In the log that the customer sent me I noticed the following error message: SecureRelay failed to process request (Error binding connectorto network interface /10.144.40.18 using port range 8877-8880: port range unavailable.