Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 15:41:00 +0000



Post From: New websocket

[2020-04-27 03:59:30]
JasonS - Posts: 11
I'm having another issue with DTC WS Connections, this time the problem is I'm not able to connect to the Historical Data Port.

Connecting to the Listening Port works ok. (I'm using WebSocket Test Client Chrome Extension)


DTC Protocol server | Incoming connection from 127.0.0.1. | 2020-04-26 23:50:08.617
DTC client #25. 127.0.0.1 (1) | Creating socket. | 2020-04-26 23:50:08.618
WSServer | DTC client #25. 127.0.0.1 (1) | Start Server | 2020-04-26 23:50:08.619
WSServer | DTC client #25. 127.0.0.1 (1) | Switch to HANDSHAKE | 2020-04-26 23:50:08.619
WSServer | DTC client #25. 127.0.0.1 (1) | Switch to READY_DATA | 2020-04-26 23:50:08.619
WSServer | DTC client #25. 127.0.0.1 (1) | Response HANDSHAKE with status code 101 | 2020-04-26 23:50:08.619


Connecting to the Historical Data Port does not complete the connection handshake and returns a connection error.


HD Server Manager | Incoming connection from IP: 127.0.0.1 | 2020-04-26 23:52:25.790
HD Server Manager | Started new historical data server. Count=1 | 2020-04-26 23:52:25.790
Current thread priority: -1 | 2020-04-26 23:52:25.790
HD Server | Thread:7016 (1) | Creating socket. | 2020-04-26 23:52:25.795
HD Server | Timed out waiting for logon request. | Thread:7016 | 2020-04-26 23:52:36.850
HD Server | Thread:7016 (1) | CloseSocket call. | 2020-04-26 23:52:36.850
HD Server | Thread:7016 (1) | Shutdown started. Waiting for graceful close. | 2020-04-26 23:52:36.852
HD Server | Thread:7016 (0) | CloseSocket call. | 2020-04-26 23:52:36.852
HD Server | Thread:7016 (1) | Socket gracefully closed by remote side. | 2020-04-26 23:52:36.852
HD Server | Thread:7016 (1) | Closed. | 2020-04-26 23:52:36.852
HD Server | Server thread ending. Closing socket. | Thread:7016 | 2020-04-26 23:52:36.913
HD Server Manager | Current server count=0 | 2020-04-26 23:52:36.913


I've tried this in Python as well as the WebSocket Test Client and neither can connect to the Historical Data Port
(both can connect to the Listening Port)