Search code examples
socketsquickfixapache-mina

An established connection was aborted by the software in your host machine


The application uses quickfixj library, which uses Apache Mina. This application keeps a socket connection to a remote host.

Suddenly we get the following error:

[SocketConnectorIoProcessor-0.0]   - ERROR quickfix.mina.initiator.InitiatorIoHandler  - socket exception (/xxx.xxx.xxx.xxx:xx): An established connection was aborted by the software in your host machine

where xxx.xxx.xxx.xxx:xx is the remote address.

What may be causing the connection drop? The remote host? My OS?


Solution

  • The connection was being dropped by some switch because the machine bandwidth was too high (above the limit)