FIX Error SessionDisconnect: Session disconnected
What this error means
A session disconnect occurs when the FIX session is terminated unexpectedly. This can happen due to network issues, application errors, protocol violations, or explicit logout. When a session disconnects, messages may be lost, sequence numbers may become out of sync, and the session must be re-established with proper sequence recovery.
Common causes
Common causes include:
1) Network connectivity issues (timeout, packet loss, connection reset),
2) Protocol violation causing counterparty to disconnect,
3) Application crash or restart,
4) Heartbeat timeout (no messages received within HeartBtInt period),
5) Explicit logout message (MsgType=
5),
6) Sequence number mismatch that cannot be recovered,
7) Authentication failure or security violation.
Example log snippet
8=FIX.4.4|9=75|35=5|49=CLIENT|56=EXCHANGE|34=15|52=20231116-10:30:00|58=Session disconnected due to sequence gap|10=123|
How to fix it
Related Knowledge Articles
Analyze Your FIX Logs
Upload or paste your FIX logs to automatically detect this error and get detailed diagnostics.
Analyze FIX Logs