Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 00:23:35 +0000



Data feed disconnected. Will reconnect in 2 seconds.

View Count: 1032

[2020-06-15 17:28:19]
User239984 - Posts: 8
I have been using a socket in my study (WinSock2), which communicates with a local server. When the local server is not available I get disconnected from the data feed and Sierra does not reconnect. Sometimes it happens without any particular reason.
What should be adjusted in the configurations to prevent this collision between the data feed and my studie's local socket?


SC DTC Delayed Exchange Data | Disconnected from the server. | 2020-06-15 12:09:28.268
SC DTC Delayed Exchange Data | Data feed disconnected. Will reconnect in 2 seconds. | 2020-06-15 12:09:28.268
SC DTC Delayed Exchange Data | Connecting to the server ds21.sierracharts.com. Port 10044 | 2020-06-15 12:09:30.267
Error getting address info for ds21.sierracharts.com. Windows error code 10093: Either the application has not called WSAStartup, or WSAStartup failed. | 2020-06-15 12:09:30.267 *
DTC Client socket (1) | CloseSocket call. | 2020-06-15 12:09:30.268
DTC Client socket (0) | CloseSocket call. | 2020-06-15 12:09:30.268
SC DTC Delayed Exchange Data | Disconnected from the server. | 2020-06-15 12:09:30.268
SC DTC Delayed Exchange Data | Data feed disconnected. Will reconnect in 2 seconds. | 2020-06-15 12:09:30.268
SC DTC Delayed Exchange Data | Connecting to the server ds23.sierracharts.com. Port 10043 | 2020-06-15 12:09:32.267
Error getting address info for ds23.sierracharts.com. Windows error code 10093: Either the application has not called WSAStartup, or WSAStartup failed. | 2020-06-15 12:09:32.268 *
DTC Client socket (1) | CloseSocket call. | 2020-06-15 12:09:32.268
DTC Client socket (0) | CloseSocket call. | 2020-06-15 12:09:32.268
SC DTC Delayed Exchange Data | Disconnected from the server. | 2020-06-15 12:09:32.268
SC DTC Delayed Exchange Data | Data feed disconnected. Will reconnect in 2 seconds. | 2020-06-15 12:09:32.268
SC DTC Delayed Exchange Data | Connecting to the server ds21.sierracharts.com. Port 10044 | 2020-06-15 12:09:34.278
Error getting address info for ds21.sierracharts.com. Windows error code 10093: Either the application has not called WSAStartup, or WSAStartup failed. | 2020-06-15 12:09:34.278 *


Thank You!
[2020-06-15 17:51:06]
Sierra Chart Engineering - Posts: 104368
Error getting address info for ds21.sierracharts.com. Windows error code 10093: Either the application has not called WSAStartup, or WSAStartup failed. | 2020-06-15 12:09:30.267 *

This is the problem. This is some issue with the network software on your computer. You may want to restart your computer.

Also this is the first time we have ever seen an error like this before.
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
[2020-06-16 07:27:20]
User239984 - Posts: 8
Rebooting does not help. As I said, the problem is in the local socket I am using to transfer data from my Study to Python and back. If it is a suboptimal solution, could you please advise on a different way? I have tried using files for that, but they are much slower.

Thanks
[2020-06-20 08:01:57]
Sierra Chart Engineering - Posts: 104368
Make sure your script is not performing the opposite operation of WSAStartup.

It does not need to call that function or the opposite operation function.
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: 2020-06-20 08:03:51
[2020-06-20 08:41:02]
User239984 - Posts: 8
Have discovered the problem - WSACleanup() should still be done, but if it is done when there is no study socket active, it interferes with SC data feed.
Thank you!

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

Login

Login Page - Create Account