Re: [Quickfix-developers] Initiator Reconnect?
Brought to you by:
orenmnero
From: Grant B. <gbi...@co...> - 2009-11-09 21:30:42
|
I don't have any more ideas. Post your config? On Mon, Nov 9, 2009 at 2:30 PM, Robert Levas <le...@qe...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > I actually had the ReconnectInterval property set and the reconnect attempt > only occurred once. If the server was not up at that time, no additional > reconnects are made. > > Robert > > > -----Original Message----- > From: Robert Levas [mailto:le...@qe...] > Sent: Monday, November 09, 2009 3:10 PM > To: 'Grant Birchmeier' > Cc: qui...@li... > Subject: Re: [Quickfix-developers] Initiator Reconnect? > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Doh... when looking at the configuration docs, I searched for "disconnect", > "drop", etc... and apparently never looked for "reconnect". I will try this > and see if it works, however according to the docs, the default is 30 > seconds and I waited longer that for the reconnect. Also according to what > I observed, a reconnect was attempting once after 15 seconds. > > Thanks for pointing me in (hopefully) the right direction. > > Rob > > > > -----Original Message----- > From: Grant Birchmeier [mailto:gbi...@co...] > Sent: Monday, November 09, 2009 1:35 PM > To: le...@qe... > Cc: qui...@li... > Subject: Re: [Quickfix-developers] Initiator Reconnect? > > What does your config look like? Is your initiator configured to > attempt to reconnect? > > See "ReconnectInterval" in the "Initiator" section: > http://quickfixengine.org/quickfix/doc/html/configuration.html > > -Grant > > On Mon, Nov 9, 2009 at 12:22 PM, Robert Levas > <le...@qe...> wrote: >> QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> I am using the C++ library for QuickFIX version 1.12.4. >> >> >> >> I have a FIX::Application implementation that successfully connects to and > logs into the executor example application (that comes with the library). > Things seem to be working as expected however if the client starts up after > the executor server or the executor server goes down and doesn’t come up > within 15 seconds, the client doesn’t attempt to connect to it. I assume > that should expect the client to retry connecting to the server but that is > not happening and do I see anything relevant in the docs at > http://www.quickfixengine.org/quickfix/doc/html/index.html >> >> >> >> To make things clear here are the two scenarios I quickly outlined: >> >> 1) Client starts before Server >> >> a. Execute my application >> >> b. Wait a few seconds >> >> c. Client application logs “Connecting to localhost on port 5001” >> >> d. Start executor server (using run_executor_cpp) >> >> e. Executor starts up successfully >> >> f. Client application never retries to connect to executor server >> >> 2) Server exists/crashes before Client >> >> a. Start executor server (using run_executor_cpp) >> >> b. Executor starts up successfully >> >> c. Execute my application >> >> d. Connection is made and login successful >> >> e. Kill executor server (manually for testing) >> >> f. Client application gets disconnect and logout event >> >> g. Client application attempts to reconnect and logs “Connecting to > localhost on port 5001” >> >> h. Wait 15 or so seconds >> >> i. Start executor server (using run_executor_cpp) >> >> j. Executor starts up successfully >> >> k. Client application never retries to connect to executor server >> >> >> >> Should I be doing something in code to get this reconnect behavior > working? >> >> >> >> Thanks, >> >> Robert Levas >> >> Systems Architect/Developer >> >> QED Financial Systems, Inc. >> >> 10,000 Sagemore >> Marlton, New Jersey 08053 USA >> >> tel 856.797.1200 >> >> fax 856.797.9719 >> >> email le...@QE... >> >> This electronic message is intended only for the receipt by, and the > personal and confidential use of, the designated recipient(s) named >> above. If you are not an intended recipient of this electronic message > you are hereby notified that any review, dissemination, distribution >> or copy of this message is strictly prohibited. QED Financial Systems, > Inc. reserves all rights to the content of this electronic message, >> which is the exclusive property of QED Financial Systems. >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> trial. Simplify your report design, integration and deployment - and focus > on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > > > ---------------------------------------------------------------------------- > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |