API Support Forum
OEC API > FIX Support > Can not logon FAST server
Author Topic: Can not logon FAST server
(3 messages, Page 1 of 1)
Moderators: VPfau
DXuu
Posts: 7
Joined: Nov 28, 2014


Posted: Apr 12, 2020 @ 07:07 PM             Msg. 1 of 3
I searched and found the few posts that talked about problems logon the FAST server. Some used openfast and some send the bytes themselves. But magically they all resolved the issues without an explicit answer. I tried to send the bytes myself. I was able to get the HELLO handshake, for logon I have these bytes
PMAP: 1100 0000
template ID: 1011 1111 (63)
Type (A): skipped, no bytes sent for 35=A
Time: sent time sth like 20200412080501 (YYYYMMDDHHmmss)
Heartbeat: skipped, no bytes sent for heartbeat (constant 30)
username: sent correctly
Key: from FIX logon, changed the last byte's significant bits to 1

I sent HELLO handshake first, then after received ack, I sent the above logon info. then I received "Template not supported"

If I sent HELLO and Logon together, I only get the HELLO ack. I also tried different combinations with sending "A" and heartbeat, nothing worked.

Did I do sth stupidly wrong here?

Thanks
Dongming Xuu
DXuu
Posts: 7
Joined: Nov 28, 2014


Posted: Apr 12, 2020 @ 07:29 PM             Msg. 2 of 3
I figured it out. It was my TCP/IP code. The connection got reset after handshake. But my encoding were all good. and 35=A and heartbeat should not be included.

Sorry about all the post!
Dongming Xuu
TLau471
Posts: 70
Joined:


Posted: Sep 23, 2022 @ 09:37 PM             Msg. 3 of 3
Hi,

Can share how the HELLO should be structured?
TLau