Thread: [Quickfix-users] same app: SocketInitiator works, SocketAcceptor fails (all on linux)
Brought to you by:
orenmnero
From: Alexey Z. <ale...@gm...> - 2006-08-25 13:30:38
|
Mark, It may happened if your initiator sends invalid (for you acceptor) TargetCompID. I think QF should report such things in the event log. Regards, Alexey Zubko qui...@li... wrote: > > Subject: > [Quickfix-users] same app: SocketInitiator works, SocketAcceptor fails > (all on linux) > From: > "Mark T. Kennedy" <mke...@di...> > Date: > Thu, 24 Aug 2006 14:36:31 -0400 > To: > qui...@li... > > To: > qui...@li... > > > i have an app that works as an initiator but fails as an acceptor. > when run as an acceptor, it receives the logon request from the > initiator and then immediately tears down the socket. nothing > is written to the acceptor's event log about this. the initiator > sees: > > 20060824-17:17:38 : Connection succeeded > 20060824-17:17:39 : Initiated logon request > 20060824-17:17:39 : Socket Error: Connection reset by peer. > 20060824-17:17:39 : Disconnecting > > i have strace'd the acceptor and have verified that the complete > logon message was received without error. > > there doesn't seem to be a way to turn on any kind of verbose > logging. > > thoughts/comments/suggestions? > > /mark kennedy > > > |
From: Mark T. K. <mke...@di...> - 2006-08-25 13:40:16
|
CompID's were "initiator" and "acceptor". it seems strange there is a code path that could receive a complete message and not do anything with it without a log message. /mark Alexey Zubko wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Mark, > > It may happened if your initiator sends invalid (for you acceptor) > TargetCompID. > I think QF should report such things in the event log. > > Regards, > Alexey Zubko > > > > qui...@li... wrote: >> Subject: >> [Quickfix-users] same app: SocketInitiator works, SocketAcceptor fails >> (all on linux) >> From: >> "Mark T. Kennedy" <mke...@di...> >> Date: >> Thu, 24 Aug 2006 14:36:31 -0400 >> To: >> qui...@li... >> >> To: >> qui...@li... >> >> >> i have an app that works as an initiator but fails as an acceptor. >> when run as an acceptor, it receives the logon request from the >> initiator and then immediately tears down the socket. nothing >> is written to the acceptor's event log about this. the initiator >> sees: >> >> 20060824-17:17:38 : Connection succeeded >> 20060824-17:17:39 : Initiated logon request >> 20060824-17:17:39 : Socket Error: Connection reset by peer. >> 20060824-17:17:39 : Disconnecting >> >> i have strace'd the acceptor and have verified that the complete >> logon message was received without error. >> >> there doesn't seem to be a way to turn on any kind of verbose >> logging. >> >> thoughts/comments/suggestions? >> >> /mark kennedy >> >> >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > This communication and any attachments may contain confidential/proprietary information and is intended for information purposes only. It is not an invitation or offer to purchase interests from Diamondback. Any representation to the contrary is unintentional. This communication is intended only for the person(s) to whom it is addressed. If you are not the intended recipient you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message or any attachments is not permitted. If you have received this in error, please notify the sender immediately by e-mail and delete this message. All e-mails sent to or received from this address will be received by Diamondback Capital Management's company e-mail system and is subject to archival and possible review by someone other than the recipient. This notice is automatically appended to each e-mail message leaving Diamondback Capital Management. |
From: Oren M. <or...@qu...> - 2006-08-25 19:46:51
|
I updated the code base to log the error and message in the global log file when something like this occurs. --oren On Aug 25, 2006, at 8:40 AM, Mark T. Kennedy wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > CompID's were "initiator" and "acceptor". it seems strange there is a > code path that could receive a complete message and not do anything > with > it without a log message. > > /mark > > Alexey Zubko wrote: >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ >> html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Mark, >> >> It may happened if your initiator sends invalid (for you acceptor) >> TargetCompID. >> I think QF should report such things in the event log. >> >> Regards, >> Alexey Zubko >> >> >> >> qui...@li... wrote: >>> Subject: >>> [Quickfix-users] same app: SocketInitiator works, SocketAcceptor >>> fails >>> (all on linux) >>> From: >>> "Mark T. Kennedy" <mke...@di...> >>> Date: >>> Thu, 24 Aug 2006 14:36:31 -0400 >>> To: >>> qui...@li... >>> >>> To: >>> qui...@li... >>> >>> >>> i have an app that works as an initiator but fails as an acceptor. >>> when run as an acceptor, it receives the logon request from the >>> initiator and then immediately tears down the socket. nothing >>> is written to the acceptor's event log about this. the initiator >>> sees: >>> >>> 20060824-17:17:38 : Connection succeeded >>> 20060824-17:17:39 : Initiated logon request >>> 20060824-17:17:39 : Socket Error: Connection reset by peer. >>> 20060824-17:17:39 : Disconnecting >>> >>> i have strace'd the acceptor and have verified that the complete >>> logon message was received without error. >>> >>> there doesn't seem to be a way to turn on any kind of verbose >>> logging. >>> >>> thoughts/comments/suggestions? >>> >>> /mark kennedy >>> >>> >>> >> >> --------------------------------------------------------------------- >> ---- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> > > This communication and any attachments may contain confidential/ > proprietary information and is intended for information purposes > only. It is not an invitation or offer to purchase interests from > Diamondback. Any representation to the contrary is unintentional. > This communication is intended only for the person(s) to whom it is > addressed. If you are not the intended recipient you are hereby > notified that you have received this document in error and that any > review, dissemination, distribution, or copying of this message or > any attachments is not permitted. If you have received this in > error, please notify the sender immediately by e-mail and delete > this message. All e-mails sent to or received from this address > will be received by Diamondback Capital Management's company e-mail > system and is subject to archival and possible review by someone > other than the recipient. This notice is automatically appended to > each e-mail message leaving Diamondback Capital Management. > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |