Re: [Quickfix-users] Could not get the persisting connection to the client on linux
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-05-31 13:59:19
|
The likely problem you guys are having is nothing to do with operating =20= systems, but whether the clocks on the machines are synchronized. =20 QuickFIX will not allow (by default) a connection if the clocks are not =20= synchronized within 2 minutes of each other. You're options are to =20 either synchronize the clocks on your machines (I would recommend using =20= ntp on all your boxes), or disable the synchronization check by adding =20= the setting CheckLatency=3DN --oren On May 31, 2004, at 5:42 AM, Ramakrishna Naga wrote: > Hi: > > =A0 > > I could not get the persisting connection to the client running on =20 > linux box attempting to connect to the remote server running on either = =20 > linux or windows. The connection always gets disconnected. Please =20 > advise. > > =A0 > > Following are the details: > > =A0 > > 1. Using FIX 4.3 > > 2. Using QuickFIX 1.7.1 > > 3. server1 has QuickFIX1.7.1 installed and =93run_executor_java=94 is =20= > running > > 4. server2 has QuickFIX1.7.1 installed and is used to connect to =20 > server1 using =93run_tradeclient=94 > > 5. contents of executor.cfg on server1: > > [DEFAULT] > > ConnectionType=3Dacceptor > > SocketAcceptPort=3D5001 > > FileStorePath=3Dstore > > StartTime=3D00:00:00 > > EndTime=3D00:00:00 > > =A0 > > [SESSION] > > BeginString=3DFIX.4.3 > > SenderCompID=3DTW > > TargetCompID=3DCLIENT1 > > DataDictionary=3D../spec/FIX43.xml > > =A0 > > [SESSION] > > BeginString=3DFIX.4.3 > > SenderCompID=3DTW > > TargetCompID=3DCLIENT2 > > DataDictionary=3D../spec/FIX43.xml > > 6. contents of =A0=93tradeclient.cfg=94 on server2: > > [DEFAULT] > > ConnectionType=3Dinitiator > > HeartBtInt=3D30 > > FileStorePath=3Dstore > > FileLogPath=3Dlogs > > StartTime=3D06:00:00 > > EndTime=3D06:00:00 > > UseDataDictionary=3DN > > SocketConnectHost=3Dserver1 > > SocketConnectPort=3D5001 > > =A0 > > [SESSION] > > BeginString=3DFIX.4.3 > > SenderCompID=3DCLIENT1 > > TargetCompID=3DTW > > =A0 > > [SESSION] > > BeginString=3DFIX.4.3 > > SenderCompID=3DCLIENT2 > > TargetCompID=3DTW > > 7. Output on the server console: > > <20040531-10:19:41, FIX.4.3:TW->CLIENT1, incoming> > > =A0 =20 > (8=3DFIX.4.39=3D6635=3DA34=3D16949=3DCLIENT152=3D20040531-10:28:=20 > 06.77356=3DTW98=3D0108=3D3010=3D012) > > <20040531-10:19:41, FIX.4.3:TW->CLIENT1, event> > > =A0 (Tried to send a reject while not logged on) > > <20040531-10:19:41, FIX.4.3:TW->CLIENT1, event> > > =A0 (Disconnecting) > > <20040531-10:19:41, FIX.4.3:TW->CLIENT2, incoming> > > =A0 =20 > (8=3DFIX.4.39=3D6635=3DA34=3D24249=3DCLIENT252=3D20040531-10:28:=20 > 06.77356=3DTW98=3D0108=3D3010=3D005) > > <20040531-10:19:41, FIX.4.3:TW->CLIENT2, event> > > =A0 (Tried to send a reject while not logged on) > > <20040531-10:19:41, FIX.4.3:TW->CLIENT2, event> > > =A0 (Disconnecting) > > 8. Output on the client console: > > 1) Enter Order > > 2) Cancel Order > > 3) Replace Order > > 4) Market data test > > 5) Quit > > Action: > > Logoff - FIX.4.3:CLIENT1->TW > > =A0 > > Logoff - FIX.4.3:CLIENT2->TW > > =A0 > > Logoff - FIX.4.3:CLIENT1->TW > > =A0 > > Logoff - FIX.4.3:CLIENT2->TW > > =A0 > > TIA > > =A0 > > Regards, > > RK > > =A0 > > NOTICE > > This e-mail message and any attachments, which may contain =20 > confidential information, are to be viewed solely by the intended =20 > recipient of Integral Development Corp. If the reader of this message =20= > is not the intended recipient, you are hereby notified that any use, =20= > dissemination, distribution or copying of this communication is =20 > strictly prohibited. If you have received this message in error, =20 > please immediately notify the sender and delete the mail and all =20 > attachments. > > =A0 |