Author |
Topic: Cannot CONNECTFAST in OECFIXSample (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
DBarot3095 Posts: 1 Joined: Oct 08, 2014 |
I downloaded the OECFIXSample from GitHub (https://github.com/oecapi/OECFIXSample). I can connect to OEC API server (the default) with the CONNECT command. BUT, when I call CONNECTFAST, I receive the error "Cannot encode message: The template Logon has not been registered.". This does not make sense to me because the template IS loaded. In fact it is the one that is automatically downloaded from "http://api.openecry.com/Sections/Misc/DownloadFile.aspx?ClientUpdate=0_5008_1". Can someone please help me fix this error?
Thanks. Below is a log of the session with password removed: connect DBarot3095, ******** Connecting to api.openecry.com:9300 as 'DBarot3095' ... FIX: Connecting to api.openecry.com on port 9300 <out>8=FIX.4.4?9=126?35=A?34=84?49=DBarot3095?52=20141029-15:48:58?56=OEC_TEST?9 8=0?108=30?554=********?12003=9e61a8bc-0a31-4542-ad85-33ebab0e4e86?10=186? FIX: Initiated logon request <inc>8=FIX.4.4?9=337?35=A?34=96?49=OEC_TEST?52=20141029-15:49:00.327?56=DBarot30 95?98=0?108=30?12004=3482593053DB5E97C0B06E6D1E102A2DE1330934CC719E2EF36548CBA8E 6EA4842E9A8E2AA1B6211EAF1BDB05B86DA534EF3FF5D2CB671EF3B4618F06FEE1FE31E87AF6DC40 7EB2CEE46584A30C8E0168D9523C57844183453169EA2CA34A2625F9817416D48938EA912A392C1E 488C2787E12CE4F19FC3EEB506BBEFBCABB94?10=106? FIX: Received logon response FIX: Logged on: FIX.4.4:DBarot3095->OEC_TEST connectfast ERROR in [CONSOLE]: Cannot encode message: The template Logon has not be en registered., Line: 1, Col: 1 Execution aborted: Cannot encode message: The template Logon has not been regist ered. Dhaval Barot |
||||
VPfau Moderator Posts: 164 Joined: |
OECFIXSample is a working project. I just checked it again and it connected to api.openecry.com with no issues.
You might have an issue with template file. Please check the template loader result at FastClient ctor. Vitaliy Pfau |
||||