{{Quickfixn}} [!!Mass Mail]Re: Quickfix\N Logout before Logon

Fernando Gustavo Mosca fmosca at mae.com.ar
Thu May 26 06:39:09 PDT 2016


Perfect. It seems like a bug. The logout is in the first time in the morning just after the StartTime when the first logon comes in.

If I restart the service before the first logon,  everything works just fine.

I’m using versión 1.0.4777.21709. I can see that it might be a Little bit old because you are pointing me to versión 1.6.

I will give a try to the new version and see if this works.

Thanks!


De: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] En nombre de Mike Gatny
Enviado el: martes, 24 de mayo de 2016 11:04 a.m.
Para: Mailing list for QuickFIX/n
Asunto: Re: {{Quickfixn}} [!!Mass Mail]Re: Quickfix\N Logout before Logon

The "session" file time matching the 35=5 time tells us that the logout is being sent because the session has Reset (i.e. the current time is between StartTime and EndTime).  However, if we are sending the logout message and we aren't currently logged on, then that is an error.  The "events" log file should give more information about the Reset -- can you post it please?  Also, which version of qf/n are you using?  The lastest is: http://quickfixn.s3.amazonaws.com/quickfixn-v1.6.0.zip.

--
Mike Gatny

On Mon, May 23, 2016 at 4:22 PM, Fernando Gustavo Mosca <fmosca at mae.com.ar<mailto:fmosca at mae.com.ar>> wrote:
No, there is nothing logged before this first mysterious 35=5 messasge in the morning:

The only thing weird is that the session file is showing the exact time of this 35=5 message…
[cid:image001.png at 01D1B73A.D6CAB4D0]


Thanks!

De: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com<mailto:quickfixn-bounces at lists.quickfixn.com>] En nombre de Mike Gatny
Enviado el: lunes, 23 de mayo de 2016 04:41 p.m.
Para: Mailing list for QuickFIX/n
Asunto: Re: {{Quickfixn}} [!!Mass Mail]Re: Quickfix\N Logout before Logon

Fernando,

Is there anything in the 'messages' log before the Problematic Logout?
What about in the 'events' log?

--
Mike Gatny

On Fri, May 20, 2016 at 4:33 PM, Fernando Gustavo Mosca <fmosca at mae.com.ar<mailto:fmosca at mae.com.ar>> wrote:

Mike,

Next I show you the first sequence of messages:

8=FIX.4.49=7435=534=149=DESA52=20160520-12:40:02.88256=TARGET10=106 --->Problematic Logout
8=FIX.4.49=8835=A34=249= TARGET 52=20160520-12:40:0256= DESA 98=0108=30141=N10=231
8=FIX.4.49=8635=A34=149= DESA 52=20160520-12:40:03.16356= TARGET 98=0108=3010=139
8=FIX.4.49=8335=234=249= DESA 52=20160520-12:40:03.16356= TARGET 7=116=010=220
8=FIX.4.49=8135=434=149= TARGET 52=20160520-12:40:0256= DESA 36=3123=N10=147
8=FIX.4.49=7035=034=349= TARGET 52=20160520-12:40:3256= DESA 10=150
….
Then it is followed by 35=0 messages, followed by the market data messages like next one:

8=FIX.5.09=87035=W49=DESA56=TARGET34=152=20160520-13:01:3255=I22J648=BI22J6 000001$122=8461=XXXXXX268=10269=1270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=1269=1270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=2269=1270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=3269=1270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=4269=1270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=5269=0270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=1269=0270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=2269=0270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=3269=0270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=4269=0270=0271=0272=20160520273=13:00:39625=LECE288=-346=0289=-290=510=120

The acceptor.cfg looks like:

[SESSION]
ConnectionType=acceptor
SocketAcceptPort=7100
HeartBeat=120
StartTime=12:10:00
EndTime=23:00:00
CheckLatency=N
ValidateFieldsOutOfOrder=Y
BeginString=FIX.4.4
SenderCompID= DESA
TargetCompID= TARGET
DataDictionary=C:\Program Files\MarketDataSrv\Server MDF Host - FIX Sessions\app\FIX44.xml
FileLogPath=log
FileStorePath=C:\Program Files\MarketDataSrv\Server MDF Host - FIX Sessions\Fix Sessions

[SESSION]
ConnectionType=acceptor
SocketAcceptPort=7100
HeartBeat=120
StartTime=12:10:00
EndTime=23:00:00
CheckLatency=N
ValidateFieldsOutOfOrder=Y
BeginString=FIX.4.4
SenderCompID= DESA
TargetCompID= TARGET
DataDictionary=C:\Program Files\MarketDataSrv\Server MDF Host - FIX Sessions\app\FIX44.xml
FileLogPath=log
FileStorePath=C:\Program Files\MarketDataSrv\Server MDF Host - FIX Sessions\Fix Sessions


I don’t know exactly how de inititator works, but it should be something like:
[DEFAULT]
ConnectionType=initiator
HeartBtInt=30
ReconnectInterval=1
FileStorePath=C:\Users\fmosca\Desktop\Client MDF FIX\FIX Sessions
FileLogPath=log
StartTime=00:00:00
EndTime=00:00:00
UseDataDictionary=Y
ValidateFieldsOutOfOrder=N
RejectInvalidMessage=N
ValidateUserDefinedFields=N
DataDictionary=C:\Users\fmosca\Desktop\Client MDF FIX\FIX44.xml
SocketConnectHost=mae-mdf-srv

[SESSION]
ConnectionType=initiator
HeartBtInt=30
BeginString=FIX.4.4
SenderCompID=TARGET
TargetCompID=DESA
SocketConnectHost=mae-mdf-srv
SocketConnectPort=7100
StartTime=00:00:00
EndTime=00:00:00
UseDataDictionary=Y
ValidateFieldsOutOfOrder=Y
RejectInvalidMessage=N
ValidateUserDefinedFields=N
FileStorePath=C:\Users\fmosca\Desktop\Client MDF FIX\FIX Sessions
DataDictionary=C:\Users\fmosca\Desktop\Client MDF FIX\FIX44.xml
FileLogPath=log


Thanks!
De: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] En nombre de Mike Gatny
Enviado el: viernes, 20 de mayo de 2016 05:23 p.m.
Para: Mailing list for QuickFIX/n
Asunto: [!!Mass Mail]Re: {{Quickfixn}} Quickfix\N Logout before Logon

Fernando,

Can you send us your quickfix/n config file (i.e. SessionSettings)?  And a more complete quickfix/n 'messages' log and 'event' log?

Thanks,
--
Mike Gatny

2016-05-20 15:51 GMT-04:00 Fernando Gustavo Mosca <fmosca at mae.com.ar<mailto:fmosca at mae.com.ar>>:


Hi!

I have a quickfix service where some clients connect in the morning. Everything works fine except for a reason: The first connection message (35=A) in the morning gets rejected:

8=FIX.4.49=74 35=5 34=1 49=xxxFIXMDFServer 52=20160520 12:40:02.882 56=CLIENTyyy 10=106



Then, on the next attempt to logon, everything works fine:

8=FIX.4.4 9=88 35=A 34=2 49=CLIENTyyy 52=20160520-12:40:02 56=xxxFIXMDFServer 98=0 108=30 141=N 10=231

8=FIX.4.4 9=86 35=A 34=1 49=xxxFIXMDFServer 52=20160520-12:40:03.163 56=CLIENTyyy 98=0 108=30 10=139



Besides:

•         All sequence numbers are reset to one during the night

•         Even when it is not seen in the logs, a 35=A, 34=1 message is sent before the disconnection message (35=5)

•         After logon, everything works fine even if the client disconnects during the evening.



Any ideas why this first disconnection (35=5) is happening? Maybe a bug in the quickfix library?

Thanks!


Aviso de Confidencialidad: La información contenida en este E-mail es confidencial y sólo puede ser utilizada por el destinatario a quien está dirigido. Conforme artículo 318 del Código Civil y Comercial de la Nación, la correspondencia confidencial no puede ser utilizada sin consentimiento del remitente, y los terceros no pueden valerse de la correspondencia sin asentimiento del destinatario, y del remitente si es confidencial. Si no es el destinatario autorizado de este E-mail, no puede utilizar esta información sin consentimiento del remitente y cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Toda vez que la información remitida por este medio puede ser objeto de modificación o alteración, el emisor no se responsabiliza por errores u omisiones contenidos en este mensaje o sus anexos, ni garantiza la seguridad, exactitud de lo transmitido por este medio. Si por error ha recibido este E-mail, favor reenvíelo al remitente y borre el mensaje recibido inmediatamente.

_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com<mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com

Aviso de Confidencialidad: La información contenida en este E-mail es confidencial y sólo puede ser utilizada por el destinatario a quien está dirigido. Conforme artículo 318 del Código Civil y Comercial de la Nación, la correspondencia confidencial no puede ser utilizada sin consentimiento del remitente, y los terceros no pueden valerse de la correspondencia sin asentimiento del destinatario, y del remitente si es confidencial. Si no es el destinatario autorizado de este E-mail, no puede utilizar esta información sin consentimiento del remitente y cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Toda vez que la información remitida por este medio puede ser objeto de modificación o alteración, el emisor no se responsabiliza por errores u omisiones contenidos en este mensaje o sus anexos, ni garantiza la seguridad, exactitud de lo transmitido por este medio. Si por error ha recibido este E-mail, favor reenvíelo al remitente y borre el mensaje recibido inmediatamente.

_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com<mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com

Aviso de Confidencialidad: La información contenida en este E-mail es confidencial y sólo puede ser utilizada por el destinatario a quien está dirigido. Conforme artículo 318 del Código Civil y Comercial de la Nación, la correspondencia confidencial no puede ser utilizada sin consentimiento del remitente, y los terceros no pueden valerse de la correspondencia sin asentimiento del destinatario, y del remitente si es confidencial. Si no es el destinatario autorizado de este E-mail, no puede utilizar esta información sin consentimiento del remitente y cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Toda vez que la información remitida por este medio puede ser objeto de modificación o alteración, el emisor no se responsabiliza por errores u omisiones contenidos en este mensaje o sus anexos, ni garantiza la seguridad, exactitud de lo transmitido por este medio. Si por error ha recibido este E-mail, favor reenvíelo al remitente y borre el mensaje recibido inmediatamente.

_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com<mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com

Aviso de Confidencialidad: La información contenida en este E-mail es confidencial y sólo puede ser utilizada por el destinatario a quien está dirigido. Conforme artículo 318 del Código Civil y Comercial de la Nación, la correspondencia confidencial no puede ser utilizada sin consentimiento del remitente, y los terceros no pueden valerse de la correspondencia sin asentimiento del destinatario, y del remitente si es confidencial. Si no es el destinatario autorizado de este E-mail, no puede utilizar esta información sin consentimiento del remitente y cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Toda vez que la información remitida por este medio puede ser objeto de modificación o alteración, el emisor no se responsabiliza por errores u omisiones contenidos en este mensaje o sus anexos, ni garantiza la seguridad, exactitud de lo transmitido por este medio. Si por error ha recibido este E-mail, favor reenvíelo al remitente y borre el mensaje recibido inmediatamente.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20160526/5c78650f/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 25101 bytes
Desc: image001.png
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20160526/5c78650f/attachment-0002.png>


More information about the Quickfixn mailing list