{{Quickfixn}} Quickfix throwing an exception

Ivanildo Junior juniorfrenzel at gmail.com
Fri Jan 22 09:28:11 PST 2016


Yes, it is.

I was talking with the infra structure team here and they said that this
problem can be related to a package lost in the connection, so i put the
readSome method into a loop, forcing him to read the data until he gets
something or he reaches my countdown (i put the number of tries at 100).

I know that is most likely the worst solution for this scenario but its
working so far.

Before this workaround the connection was lost in a few seconds, and now
its working for one hour straight.
Em 22/01/2016 3:13 PM, "Grant Birchmeier" <gbirchmeier at connamara.com>
escreveu:

> One idea: Is your HeartBtInt setting in your configuration correct?  It
> should be the same as what your counterparty
> ​is using​
> .
>
>
>
> On Fri, Jan 22, 2016 at 7:34 AM, Ivanildo Junior <juniorfrenzel at gmail.com>
> wrote:
>
>> Hi All,
>>
>>
>>
>> I’m creating an application using quickfix and I having this issue that
>> keeps occurring times though times,
>>
>>
>>
>> I’m able to establish a connection with my acceptor and we kept the
>> connection as suppose, but after some time I receive that message below
>>
>>
>>
>> Session FIX.4.4:Initiator->Acceptor disconnecting:
>> System.Net.Sockets.SocketException (0x80004005): An existing connection was
>> forcibly closed by the remote host
>>
>>    at QuickFix.SocketInitiatorThread.ReadSome(Byte[] buffer, Int32
>> timeoutMilliseconds) in SocketInitiatorThread.cs:line 171
>>
>>    at QuickFix.SocketInitiatorThread.Read() in
>> SocketInitiatorThread.cs:line 80
>>
>>
>>
>> After that exception my Session is not reconnected, but that might be
>> related to the facts that my application crashes when this exception
>> happens.
>>
>>
>>
>> You guys know a way to fix this or how I can do some workaround to
>> prevent this from happening?
>>
>>
>>
>> Another thing that I notices is there are one test request during the
>> heartbeat messages with incorrect interval.
>>
>>
>>
>> Right now , I’m using the DLL obtained from the project that is on the
>> git hub version (I had to compile the project to get the DLL.)
>>
>>
>>
>> He is one prove that my application is connecting successfully with my
>> target;
>>
>>
>>
>> 8=FIX.4.49=6135=034=4649=INITIATOR52=20160122-12:26:14.95356=ACCEPTOR
>> 10=036
>>
>> 8=FIX.4.49=6135=034=4649=ACCEPTOR
>>  52=20160122-12:27:28.08756=INITIATOR10=040
>>
>> 8=FIX.4.49=6135=034=4549=INITIATOR52=20160122-12:25:44.92156=ACCEPTOR
>> 10=032
>>
>> 8=FIX.4.49=7035=034=4449=INITIATOR52=20160122-12:25:14.91656=ACCEPTOR
>> 112=TEST10=050
>>
>> 8=FIX.4.49=7035=134=4549=ACCEPTOR
>> 52=20160122-12:26:58.03956=INITIATOR112=TEST10=057
>>
>> 8=FIX.4.49=6135=034=4449=ACCEPTOR
>> 52=20160122-12:26:52.00756=INITIATOR10=026
>>
>> 8=FIX.4.49=6135=034=4349=ACCEPTOR
>> 52=20160122-12:26:22.86556=INITIATOR10=034
>>
>>
>> 8=FIX.4.49=6135=034=4349=INITIATOR52=20160122-12:24:39.69556=ACCEPTOR10=041
>>
>> 8=FIX.4.49=6135=034=4249=ACCEPTOR
>> 52=20160122-12:25:52.78656=INITIATOR10=037
>>
>>
>> 8=FIX.4.49=6135=034=4249=INITIATOR52=20160122-12:24:09.61556=ACCEPTOR10=029
>>
>> 8=FIX.4.49=6135=034=4149=ACCEPTOR
>> 52=20160122-12:25:22.70756=INITIATOR10=026
>>
>>
>> 8=FIX.4.49=6135=034=4149=INITIATOR52=20160122-12:23:39.53956=ACCEPTOR10=035
>>
>>
>>
>> Thanks in advance.
>>
>> _______________________________________________
>> Quickfixn mailing list
>> Quickfixn at lists.quickfixn.com
>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>>
>>
>
>
> --
> Grant Birchmeier
> *Connamara Systems, LLC*
> *Made-To-Measure Trading Solutions.*
> Exactly what you need. No more. No less.
> http://connamara.com
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20160122/81f16637/attachment-0001.htm>


More information about the Quickfixn mailing list