Session not found for incoming message

Imported from previous forum

Hi all,

I got a “session not found” issue when my acceptor receives the logon message. My config is as follows:

default settings for sessions

[DEFAULT]
SenderCompID=ABC
StartTime=00:00:00
EndTime=21:30:00

overide default setting for RecconnectInterval

ReconnectInterval=1
HeartBtInt=60
ResetOnLogout=N
ResetOnDisconnect=N

session definition

[SESSION]
BeginString=FIX.4.4
ConnectionType=acceptor
TargetCompID=DEF
SocketAcceptPort=50001
FileStorePath=sequence
FileLogPath=log
DataDictionary=FIX44.xml

The log file
2012-02-21 18:38:36.270 +8 [5] INFO Fix onEvent: Session not found for incoming message: 8=FIX.4.49=6635=A34=54949=DEF56=ABC 52=20120221-10:38:13.76198=0108=3010=249
2012-02-21 18:38:36.275 +8 [5] INFO Fix onIncoming: 8=FIX.4.49=6635=A34=54949=DEF56=ABC 52=20120221-10:38:13.76198=0108=3010=249

Do you have any idea what is wrong with the settings?

It appears the TargetCompID (56) value ‘ABC ’ for the incoming message has a trailing white-space character and does not match your session configuration ‘ABC’.

Hi all,

I got a “session not found” issue when my acceptor receives the logon message. My config is as follows:

default settings for sessions

[DEFAULT]
SenderCompID=ABC
StartTime=00:00:00
EndTime=21:30:00

overide default setting for RecconnectInterval

ReconnectInterval=1
HeartBtInt=60
ResetOnLogout=N
ResetOnDisconnect=N

session definition

[SESSION]
BeginString=FIX.4.4
ConnectionType=acceptor
TargetCompID=DEF
SocketAcceptPort=50001
FileStorePath=sequence
FileLogPath=log
DataDictionary=FIX44.xml

The log file
2012-02-21 18:38:36.270 +8 [5] INFO Fix onEvent: Session not found for incoming message: 8=FIX.4.49=6635=A34=54949=DEF56=ABC 52=20120221-10:38:13.76198=0108=3010=249
2012-02-21 18:38:36.275 +8 [5] INFO Fix onIncoming: 8=FIX.4.49=6635=A34=54949=DEF56=ABC 52=20120221-10:38:13.76198=0108=3010=249

Do you have any idea what is wrong with the settings?

Hi Tommy,

Thank you for your help. I managed to fix the issue as your suggestion

It appears the TargetCompID (56) value ‘ABC ’ for the incoming message has a trailing white-space character and does not match your session configuration ‘ABC’.

Hi all,

I got a “session not found” issue when my acceptor receives the logon message. My config is as follows:

default settings for sessions

[DEFAULT]
SenderCompID=ABC
StartTime=00:00:00
EndTime=21:30:00

overide default setting for RecconnectInterval

ReconnectInterval=1
HeartBtInt=60
ResetOnLogout=N
ResetOnDisconnect=N

session definition

[SESSION]
BeginString=FIX.4.4
ConnectionType=acceptor
TargetCompID=DEF
SocketAcceptPort=50001
FileStorePath=sequence
FileLogPath=log
DataDictionary=FIX44.xml

The log file
2012-02-21 18:38:36.270 +8 [5] INFO Fix onEvent: Session not found for incoming message: 8=FIX.4.49=6635=A34=54949=DEF56=ABC 52=20120221-10:38:13.76198=0108=3010=249
2012-02-21 18:38:36.275 +8 [5] INFO Fix onIncoming: 8=FIX.4.49=6635=A34=54949=DEF56=ABC 52=20120221-10:38:13.76198=0108=3010=249

Do you have any idea what is wrong with the settings?