<p dir="ltr">Yes, it is.</p>
<p dir="ltr">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).</p>
<p dir="ltr">I know that is most likely the worst solution for this scenario but its working so far.</p>
<p dir="ltr">Before this workaround the connection was lost in a few seconds, and now its working for one hour straight.</p>
<div class="gmail_quote">Em 22/01/2016 3:13 PM, "Grant Birchmeier" <<a href="mailto:gbirchmeier@connamara.com">gbirchmeier@connamara.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One idea: Is your HeartBtInt setting in your configuration correct?  It should be the same as what your counterparty <div class="gmail_default" style="font-size:small;color:rgb(0,0,0);display:inline">​is using​</div>.<div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><span style="font-family:Verdana;font-size:14px;line-height:21px;color:rgb(34,34,34)"><br></span></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><span style="font-family:Verdana;font-size:14px;line-height:21px;color:rgb(34,34,34)"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 7:34 AM, Ivanildo Junior <span dir="ltr"><<a href="mailto:juniorfrenzel@gmail.com" target="_blank">juniorfrenzel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi All,</p>
<p dir="ltr"> </p>
<p dir="ltr">I’m creating an application using quickfix and I having this issue that keeps occurring times though times,</p>
<p dir="ltr"> </p>
<p dir="ltr">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</p>
<p dir="ltr"> </p>
<p dir="ltr">Session FIX.4.4:Initiator->Acceptor disconnecting: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host</p>
<p dir="ltr">   at QuickFix.SocketInitiatorThread.ReadSome(Byte[] buffer, Int32 timeoutMilliseconds) in SocketInitiatorThread.cs:line 171</p>
<p dir="ltr">   at QuickFix.SocketInitiatorThread.Read() in SocketInitiatorThread.cs:line 80</p>
<p dir="ltr"> </p>
<p dir="ltr">After that exception my Session is not reconnected, but that might be related to the facts that my application crashes when this exception happens.</p>
<p dir="ltr"> </p>
<p dir="ltr">You guys know a way to fix this or how I can do some workaround to prevent this from happening?</p>
<p dir="ltr"> </p>
<p dir="ltr">Another thing that I notices is there are one test request during the heartbeat messages with incorrect interval.</p>
<p dir="ltr"> </p>
<p dir="ltr">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.)</p>
<p dir="ltr"> </p>
<p dir="ltr">He is one prove that my application is connecting successfully with my target;</p>
<p dir="ltr">  </p>
<p dir="ltr">8=FIX.4.49=6135=034=4649=INITIATOR52=20160122-12:26:14.95356=ACCEPTOR 10=036</p>
<p dir="ltr">8=FIX.4.49=6135=034=4649=ACCEPTOR  52=20160122-12:27:28.08756=INITIATOR10=040</p>
<p dir="ltr">8=FIX.4.49=6135=034=4549=INITIATOR52=20160122-12:25:44.92156=ACCEPTOR 10=032</p>
<p dir="ltr">8=FIX.4.49=7035=034=4449=INITIATOR52=20160122-12:25:14.91656=ACCEPTOR 112=TEST10=050</p>
<p dir="ltr">8=FIX.4.49=7035=134=4549=ACCEPTOR 52=20160122-12:26:58.03956=INITIATOR112=TEST10=057</p>
<p dir="ltr">8=FIX.4.49=6135=034=4449=ACCEPTOR 52=20160122-12:26:52.00756=INITIATOR10=026</p>
<p dir="ltr">8=FIX.4.49=6135=034=4349=ACCEPTOR 52=20160122-12:26:22.86556=INITIATOR10=034</p>
<p dir="ltr">8=FIX.4.49=6135=034=4349=INITIATOR52=20160122-12:24:39.69556=ACCEPTOR10=041</p>
<p dir="ltr">8=FIX.4.49=6135=034=4249=ACCEPTOR 52=20160122-12:25:52.78656=INITIATOR10=037</p>
<p dir="ltr">8=FIX.4.49=6135=034=4249=INITIATOR52=20160122-12:24:09.61556=ACCEPTOR10=029</p>
<p dir="ltr">8=FIX.4.49=6135=034=4149=ACCEPTOR 52=20160122-12:25:22.70756=INITIATOR10=026</p>
<p dir="ltr">8=FIX.4.49=6135=034=4149=INITIATOR52=20160122-12:23:39.53956=ACCEPTOR10=035</p>
<p dir="ltr"> </p>
<p dir="ltr">Thanks in advance.</p>
<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>
<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div>