KB Article #180879

Reused connections fail almost instantly

Problem

A reused connection from Connect to URL or Connection fails almost instantly (less than 3ms) and never seems to go out.

Resolution

When a reused connection fails in a few milliseconds, this implies that the idle timeout in the gateway is too long and the gateway tried to reuse a dead connection from the connection cache, then failed almost instantly by finding out that it was dead. The general fix for this is to lower the gateway's idle timeout to slightly less than the remote side's idle timeout in order to account for network delays.


Refer to the Axway Community guide on Tuning HTTP Timeouts for further information on how to measure and tune gateway timeouts.