c# - quickfix/n error:'An Existing was forcibly closed the remote host at Quickfix.SocketInitiatorThread.Read()' -


i have created fix application using quickfix/n v1.4.0 http://www.quickfixn.org/download site. when executed application using 2 pcs 1 server , client, gave error:

an existing forcibly closed remote host @ quickfix.socketinitiatorthread.read()

and log details are:

20130814-23:23:47.828 : created session 20130814-23:24:07.531 : fix.4.4:server->client socket reader 6044116 accepting session fix.4.4:server->client 192.168.1.109:3300 20130814-23:24:07.531 : fix.4.4:server->client acceptor heartbeat set 0 seconds 20130814-23:24:07.781 : session reset: resetonlogon 20130814-23:24:07.796 : sending time accuracy problem 20130814-23:24:07.812 : message 1 rejected: 10 20130814-23:24:07.812 : verify failed: tried send reject while not logged on 20130814-23:24:07.812 : session fix.4.4:server->client disconnecting: verify failed: tried send reject while not logged on 20130814-23:24:07.812 : session reset: resetondisconnect 

we have tried 'sending time accuracy problem' i.e. timestamp error. set time on client , server machines same , tried didn't work. set values of maxlatency , checklatency in config file. set maxlatency=120 , checklatency=y didn't solve problem.please can give me solution issue.

the actual log messages are:

20130816-05:44:37.875 : 8=fix.4.49=6735=a34=149=client52=20130816-23:12:39.56256=server98=0108=3010=223 20130816-05:44:39.437 : 8=fix.4.49=6735=a34=349=client52=20130816-23:12:41.40656=server98=0108=3010=215 20130816-05:44:40.468 : 8=fix.4.49=6735=a34=449=client52=20130816-23:12:42.40656=server98=0108=3010=217 20130816-06:46:02.843 : 8=fix.4.49=7335=a34=149=client52=20130817-00:13:43.04656=server98=0108=30141=y10=254 20130816-06:46:04.515 : 8=fix.4.49=7335=a34=149=client52=20130817-00:13:45.89056=server98=0108=30141=y10=007 20130816-06:46:05.515 : 8=fix.4.49=7335=a34=149=client52=20130817-00:13:46.89056=server98=0108=30141=y10=008 20130816-06:46:10.359 : 8=fix.4.49=7335=a34=149=client52=20130817-00:13:51.62556=server98=0108=30141=y10=000 

please kindly send me suggestions , settings run application without errors.

it looks else answered identical question 2 days ago, correctly identifying checklatency setting is, whatever reason hard-coded in quickfix/n. in other words, not matter whether checklatency=y or checklatency=n in configuration file because ignored when configuration loaded.

again, other poster indicated, can fix in quickfix/n source , rebuild assembly.

the other option here change session's checklatency property false in code before connection initiated.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -