Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 06:23:11 +0000



Post From: a couple of issues with the DTC server

[2017-02-05 02:43:04]
user8888 - Posts: 159
Hello.

I've been trying to setup a 2nd instance in my trading computer.

(1).
They both, connect fine until I load the chartbook. Then disconects the DTC server from the data feed and keeps connecting and disconnecting over and over.

In the message log appears this message:

===========================================================================================================
DTCServer (4) | Encryption stream error encountered. error:140E0197:SSL routines:SSL_shutdown:shutdown while in init; error:140E0197:SSL routines:SSL_shutdown:shutdown while in init | 2017-02-04 02:18:59
DTCServer (4) | Encryption stream error encountered. error:140E0197:SSL routines:SSL_shutdown:shutdown while in init; error:140E0197:SSL routines:SSL_shutdown:shutdown while in init | 2017-02-04 02:18:59
DTCServer (4) | Shutdown started. Waiting for graceful close. | 2017-02-04 02:18:59

and

CQG WebAPI websocket (2) | Encryption stream error encountered. error:140E0197:SSL routines:SSL_shutdown:shutdown while in init | 2017-02-04 02:19:01
CQG WebAPI websocket (2) | Encryption stream error encountered. error:140E0197:SSL routines:SSL_shutdown:shutdown while in init | 2017-02-04 02:19:01
CQG WebAPI | Network socket for websocket has been closed by remote side. | 2017-02-04 02:19:01
CQG WebAPI websocket (2) | Shutdown started. Waiting for graceful close. | 2017-02-04 02:19:01
CQG FIX Trading | Websocket closed. | 2017-02-04 02:19:01
Connection to the external service has been lost. | 2017-02-04 02:19:01
CQG FIX: DisconnectFIX called. | 2017-02-04 02:19:01
CQG FIX: Sending a Logout message. | 2017-02-04 02:19:01
CQG FIX Trading | Disconnected. | 2017-02-04 02:19:01
Will reconnect to the server in 3.0 seconds.
CQG WebAPI websocket (2) | Received socket Close event | 2017-02-04 02:19:01
CQG WebAPI websocket (2) | Closed. | 2017-02-04 02:19:01
CQG FIX: Received a Logout message. Text = NormalLogoutInitiatedByCounterparty | 2017-02-04 02:19:01
CQG FIX: Disconnected. | 2017-02-04 02:19:01

and more

socket (12) | Encryption stream error encountered. error:140E0197:SSL routines:SSL_shutdown:shutdown while in init | 2017-02-04 02:19:30
CQG FIX: Socket connection was closed without any logout messages sent or received. | 2017-02-04 02:19:30
socket (12) | Shutdown started. Waiting for graceful close. | 2017-02-04 02:19:30
CQG FIX: Disconnected. | 2017-02-04 02:19:30
Connection to the external service has been lost. | 2017-02-04 02:19:30
CQG FIX Trading | Sending Web API Logoff message. | 2017-02-04 02:19:30


DTCServer (20) | Encryption stream error encountered. error:140E0197:SSL routines:SSL_shutdown:shutdown while in init; error:140E0197:SSL routines:SSL_shutdown:shutdown while in init; error:140E0197:SSL routines:SSL_shutdown:shutdown while in init | 2017-02-04 02:19:45
DTCServer (20) | Shutdown started. Waiting for graceful close. | 2017-02-04 02:19:45
DTCServer (20) | Received socket Close event | 2017-02-04 02:19:45
DTCServer (20) | Closed. | 2017-02-04 02:19:45
===========================================================================================================

Since the message says something about the 'encription', I've tried with and without the TLS enabled. Same result.

I've try it as well with my laptop as the DTC client. Same result.



(2).
If I setup the DTC Server to allow only IPs comming from the same subnet, the server rejects the client/laptop. I need to set it up with 'Allow any IP'. Then goes ok.

being the host: 192.168.1.148 and the laptop: 192.168.1.166 ... Aren't they in the same subnet? (they are both connected to the same bridge/router/DHCPserver)



(3).
Months ago when I first tried the DTC server/client funcionality (great thing BTW), I noticed that the commisions that I entered by hand in certain symbols, did not were 'transmited' to the DTC client.

I tried 'resetting' the symbol list and ask it again from the DTC Client to the Server, with the same result.

I haven't had the chance to test if this behavior still exists since I'm actually unable to even load a chartbook.




Am I doing something wrong?
Could you help?

Thank you
Date Time Of Last Edit: 2017-02-05 03:42:51