VeighNa量化社区
你的开源社区量化交易平台
Member
加入于:
帖子: 9
声望: 0

simnow 重新开放以后,连接报错

交易服务器连接断开,原因4097

行情接口报错,代码:4040,信息:CTP:API Front shake hand err: decode err

升级到了最新版本

Member
加入于:
帖子: 9
声望: 0

发现错误信息

2022-08-23 10:53:04 Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260EB1DAD78][1082261505][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63208][1082392578][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E633C8][1082654723][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63208][1082916868][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63208][1083179013][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63208][1083441158][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63278][1083703303][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E634A8][1083965448][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E634A8][1084227593][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63278][1084489738][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63278][1084751883][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63358][1085014028][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63278][1085276173][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63208][1085538318][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E634A8][1085800463][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260EB1EBC08][1086062608][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260EB1EBE38][1086324753][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1F5CBB8][1086586898][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E634A8][1086849043][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E633C8][1087111188][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63208][1087373333][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E633C8][1087635478][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F1E63358][1087897623][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A6928][1088159768][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A6ED8][1088421913][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A5DC8][1088684058][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A7808][1088946203][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A6CA8][1089208348][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A76B8][1089470493][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A6998][1089732638][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A5FF8][1089994783][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A5E38][1090256928][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A6538][1090519073][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A5FF8][1090781218][ 4097]
Decrypt handshake data failed
CThostFtdcUserApiImplBase::OnSessionDisconnected[00000260F20A6C38][1091043363][ 4097]
Decrypt handshake data failed
Member
avatar
加入于:
帖子: 1390
声望: 91

请检查下是否错用了CTPTEST接口,SIMNOW要用CTP接口

Member
加入于:
帖子: 9
声望: 0

MTF wrote:

请检查下是否错用了CTPTEST接口,SIMNOW要用CTP接口

果然是,谢谢

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】