KB Article #164507
Outbound message fail with "connection reset by peer" error message
Problem
-- Unable to transmit a message
-- Error in the message details shows:
-- Error(Error(com.cyclonecommerce.tradingengine.transport.UnableToConnectException: Error connecting to HTTP server IP:port, timeout=30s (30,000ms); java.net.SocketException: Connection reset by peer: connect)...
Resolution
The peer is closing the connection. This can be either the HTTP server itself, or any device on the network between client and server.
- Please contact your partner
- Verify the exchange point settings are correct
- Verify same collaboration settings (e.g. sync vs async receipts) are used by you and your partner
- Check with the partner if he see's an incoming connection and if so the error message he is seeing on his end (he might need to enhance his logging)
- Check if a third party tool, like telnet (telnet [partner_hostname] [port]) is able to establish a connection from the same machine the outbound connection is made from (Interchange or Secure relay host).
- Check the firewall rules on both ends
- Use a network tracer (like wireshark or TCPdump) to trace the packet-flow through the network to determine where the connection is reset