Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 16:13:52 +0000



s_LogonRequest Failing despite receiving LOGON_SUCCESS result

View Count: 912

[2015-10-29 13:01:57]
User436004 - Posts: 7
In my s_LogonRequest, I am only setting ClientName, Username, and Password.

SC Log:

DTC Protocol server | Incoming connection from 127.0.0.1. | 2015-10-29 12:57:06 *
DTC Protocol server #1 | Enabling TCP_NODELAY | 2015-10-29 12:57:06
DTC Protocol server #1 (DTCClient) | Received logon request from. | 2015-10-29 12:57:09
DTC Protocol server #1 (DTCClient) | Sending Logon response message to client. | 2015-10-29 12:57:09
Socket (0) | Shutdown and closed. | 2015-10-29 12:57:09

s_LogonResponse.Result = LOGON_SUCCESS

Any ideas?
[2015-10-29 19:19:25]
Sierra Chart Engineering - Posts: 104368
What do you mean by "failing".

We want you to update to the latest prerelease, 1317 and try this again. The logging has been improved upon.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-10-31 03:48:55]
User436004 - Posts: 7
Using 1317, I now see:

DTC Protocol server #1 (DTCClient) | Sending successful Logon response message to client. Result text: Connected to SC DTC Protocol server | 2015-10-31 03:45:48

Followed By:

DTCServer (0) | Shutdown and closed. | 2015-10-31 03:45:48

This second line tells me that the socket connection has been closed by SC. I am have a class derived from CAsyncSocket and I am receiving an OnClose event.
[2015-10-31 06:19:03]
Sierra Chart Engineering - Posts: 104368
We have added some additional logging and ensured that the heartbeat interval cannot be set to less than 5 seconds.

The basic problem is you have not set the heartbeat interval as explained here:
http://dtcprotocol.org/index.php?page=doc/doc_DTCMessageDocumentation.php#ConnectionLogon
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-11-01 04:24:22

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account