我第一次尝试在QuickFix / J中使用SSL连接。我看到了一个以前没有看到的错误。错误包含“拒绝无效消息:quickfix.FieldException:无效的MsgType”消息。我把错误和我的配置文件问了。为什么字段35等于U1,U2等。谢谢。
这是用于我的市场数据连接。我将收到市场数据。但是我需要解决登录问题。
sender.conf
[DEFAULT]
ConnectionType=initiator
HeartBtInt=30
ReconnectInterval=0
FileLogPath=data/fix/log
StartTime=00:00:00
EndTime=00:00:00
UseDataDictionary=Y
SocketConnectHost=<>
SocketUseSSL=Y
CipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA
EnabledProtocols=TLSv1
SocketKeyStore=/resources/config/x509cert.jks
SocketKeyStorePassword=<>
ResetOnLogon=Y
[SESSION]
BeginString=FIX.4.4
SenderCompID=<>
TargetCompID=<>
SocketConnectPort=<>
Username=<>
Password=<>
FIX.event.log (some part)
Rejecting invalid message: quickfix.FieldException: Invalid MsgType, field=35: 8=FIX.4.49=4954435=U1634=349=<>52=20190712-12:54:42.85756=<>1=<>58=eyJ3bCI6IkZPUkVYNFlPVS1TVFAiLCJhY2NvdW50TnVtYmVyIjoiN21hcmtldHowMSIsImFjY291
bnRUeXBlIjoiVFJBREVSIiwiaW5zdHJ1bWVudHMiOlt7InRpdGxlIjoiJFVLMTAwIiwiY2Fub25p
Y2FsVGl0bGUiOiIkVUsxMDAvR0JQIiwibWVtbyI6IkZUU0UgMTAwIEluZGV4IENhc2giLCJwcmlt
YXJ5Q3VycmVuY3kiOiIkVUsxMDAiLCJiYXNlQ3VycmVuY3kiOiJHQlAiLCJtaW5BbW91bnQiOjEs......
20190712-12:54:43: Reject sent for Message 3: Invalid MsgType, field=35:35
20190712-12:54:43: MsgSeqNum too high, expecting 2 but received 4: 8=FIX.4.49=8735=134=449=<>52=20190712-12:54:43.13856=<>112=156293608313810=122