Quickfixj在客户端登录时立即收到注销

时间:2014-06-12 06:44:18

标签: quickfixj

我在quickfixj中与客户端连接时遇到错误。 错误消息是:

11 Jun 2014 07:00:29,370  INFO [SocketAcceptorIoProcessor-0.0] MINA session created: /103.13.177.74:53638
11 Jun 2014 07:00:29,396  INFO [QFJ Message Processor] quickfix.Session - Disconnecting: Session reset
11 Jun 2014 07:00:34,445  INFO [SocketAcceptorIoProcessor-0.0] MINA session created: /103.13.177.74:53639

在事件日志中:

20140611-00:00:29.389: Accepting session FIX.4.2:... from /103.13.177.74:53638
20140611-00:00:29.389: Acceptor heartbeat set to 30 seconds
20140611-00:00:34.446: Accepting session FIX.4.2:... from /103.13.177.74:53639
20140611-00:00:34.446: Acceptor heartbeat set to 30 seconds

我使用quickfixj 1.5.1。

有关错误讯息的详情:

11 Jun 2014 07:00:34,447  WARN [QFJ Message Processor]  fromAdmin.:Logon.:TargetNum= 3
11 Jun 2014 07:00:34,451  INFO [QFJ Message Processor]  Session Logon.: FIX.4.2:
11 Jun 2014 07:00:34,451  INFO [QFJ Message Processor] Session Logon.:ExpectedSenderNum= 3
11 Jun 2014 07:00:34,451  INFO [QFJ Message Processor] Session Logon.:ExpectedTargetNum= 1
11 Jun 2014 07:00:34,475  WARN [QFJ Message Processor] fromAdmin.:Logout.:TargetNum= 4.:Text=Catastrophic Error: Incoming sequence number (1) is less than expected (2) without PossDupFlag being set.  Logging out.

谢谢,

2 个答案:

答案 0 :(得分:1)

Quickfixj 1.5.1有一些登录和StartTime配置的错误。 你应该尝试升级到最新版本的quickfixj(1.5.3) 点击此处:http://www.quickfixj.org/jira/browse/QFJ-357

答案 1 :(得分:1)

您应该在quickfix cfg文件中检查开始时间和结束时间。

并尝试添加CheckLatency标志

请参阅:http://www.quickfixj.org/quickfixj/usermanual/1.5.0/usage/configuration.html