Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 21:42:57 +0000



ISSUE RESOLVED - Syncing data with Bitmex is slow, then stops working entirely

View Count: 1447

[2019-03-22 22:17:25]
User611063 - Posts: 2
Hello.

Doubt this has anything to do with my Bitmex data feed issue, but feel I should mention it anyway: My eval version of SierraChart worked very well with syncing data (couple weeks ago). I upgraded SC this morning to the paid version. Latest version installed. Note: I do not perform any live trading on my system (no Bitmex API key provided to SierraChart).

The log below shows slow syncing, and then Bitmex finally gives up and stops sending updates (finally giving the "too many requests" error). After that, it takes 1-2 hours before Bitmex allows me to make more requests.

I'm not doing anything differently than I was in previous weeks when I had an operational eval - except for using Renko charts today. I've spent the majority of my day trying to debug this issue (I'm a very technical individual, but not a pro with SC yet). So I don't believe this is an RTFM issue. I'm very sorry if it is my fault and I'm causing extra work for your team with this request for help.

Thanks for your support.


BitMEX Trading Direct | Connecting to URI www.bitmex.com/realtime/WebSocket | 2019-03-22 17:36:08
BitMEX Trading Direct | Connecting to WebSocket server. | 2019-03-22 17:36:08
BitMEX Trading Direct socket (1) | Creating socket. Using TLS 1.2. | 2019-03-22 17:36:08
BitMEX Trading Direct socket (1) | Connecting to IP: 54.171.213.53. | 2019-03-22 17:36:08
BitMEX Trading Direct | Opening WebSocket. | 2019-03-22 17:36:09
BitMEX Trading Direct | Sending WebSocket handshake. | 2019-03-22 17:36:09
BitMEX Trading Direct | Header line. HTTP/1.1 101 Switching Protocols | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. Date: Fri, 22 Mar 2019 21:36:09 GMT | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. Connection: upgrade | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. Set-Cookie: AWSALB=AeU+jcEuBDjuiwitN74bJSSmZQfCvgR1RS6yoaXcJfbSci8ishr0CVG5k/CYgTqC1Wj6zlvbrMWkS9XDd7WwWl1lr+Hv3KisJgpxq6DzsEUfUwIbMwL7f25fXLWY; Expires=Fri, 29 Mar 2019 21:36:09 GMT; Path=/ | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. Upgrade: websocket | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. Sec-WebSocket-Accept: Lyecm8+WX0btdtKQg+tBY/dorKg= | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. Sec-WebSocket-Version: 13 | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. WebSocket-Server: uWebSockets | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. Strict-Transport-Security: max-age=31536000; includeSubDomains | 2019-03-22 17:36:10
BitMEX Trading Direct | Header line. | 2019-03-22 17:36:10
BitMEX Trading Direct | Web socket state is now open. | 2019-03-22 17:36:10
BitMEX Trading Direct | Connected to data and trading server. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Starting real-time market data updates for: XBTUSD-BMEX. ID: 1 Service code: bitmex | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Connecting to the server ds3.sierracharts.com. Port 443 | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Requesting security definition data for: XBTUSD-BMEX. ID: 1 | 2019-03-22 17:36:10
Intraday data recording state for symbol XBTUSD-BMEX is set to download 'Pending'. | 2019-03-22 17:36:10
DTC Client socket (2) | Creating socket. | 2019-03-22 17:36:10
DTC Client socket (2) | Connecting to IP: 65.182.172.42. | 2019-03-22 17:36:10
Delaying start of download for XBTUSD-BMEX | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Connected to server. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Starting socket receive thread. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Sending encoding request to server: Binary VLS | 2019-03-22 17:36:10
BitMEX Trading Direct socket (1) | Socket gracefully closed by remote side. | 2019-03-22 17:36:10
BitMEX Trading Direct | WebSocket received OpCode Close. Received status code: 0 | 2019-03-22 17:36:10
BitMEX Trading Direct | WebSocket closed. | 2019-03-22 17:36:10
Connection to the external service has been lost. | 2019-03-22 17:36:10
BitMEX Trading Direct | Network socket for WebSocket has been closed by remote side. | 2019-03-22 17:36:10
BitMEX Trading Direct | WebSocket closed. | 2019-03-22 17:36:10
BitMEX Trading Direct socket (1) | Graceful close received or receive error. Shutdown complete. Closing socket now. | 2019-03-22 17:36:10
BitMEX Trading Direct socket (1) | Closed. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Setting DTC encoding to Binary VLS | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Sending logon request message. | 2019-03-22 17:36:10
BitMEX Trading Direct | Disconnected. | 2019-03-22 17:36:10
Will reconnect to the server in 3.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Received logon response. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Server Name: SC Realtime Server. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Server protocol version: 8. Client protocol version: 8 | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Successfully connected. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Trading is not supported. | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Restarting real-time data updates for symbol: XBTUSD-BMEX | 2019-03-22 17:36:10
SC DTC Data with Market Depth | Received security definition for symbol XBTUSD-BMEX | 2019-03-22 17:36:10
HD Request # 109 | Downloading Intraday chart data for XBTUSD-BMEX to the file XBTUSD-BMEX.scid. Service: bitmex | 2019-03-22 17:36:11
HD Request # 109 | Download start date-time: 2019-03-22 17:35:55.000 | 2019-03-22 17:36:11
HD Request # 109 | Using server: ds3.sierracharts.com port 10149 | 2019-03-22 17:36:11
Socket (1) | Creating socket. | 2019-03-22 17:36:11
Socket (1) | Connecting to IP: 65.182.172.42. | 2019-03-22 17:36:11
HD Request # 109 | Setting DTC encoding to Binary VLS | 2019-03-22 17:36:11
HD Request # 109 | Sending historical data logon request message. | 2019-03-22 17:36:11
HD Request # 109 | Requesting Intraday data. Start date-time: 2019-03-22 17:35:55. Record interval: 1. Symbol: XBTUSD-BMEX | 2019-03-22 17:36:11
HD Request # 109 | Decompressing data. | 2019-03-22 17:36:11
HD Request # 109 | Receiving Intraday data for XBTUSD-BMEX starting at 2019-03-22 17:35:55 | 2019-03-22 17:36:11
HD Request # 109 | Timestamp of first Intraday data file record written: 2019-03-22 17:35:55 | 2019-03-22 17:36:11
HD Request # 109 | Historical data for XBTUSD-BMEX is delayed because connection to main data feed is not present. Current data will be received upon connection. | 2019-03-22 17:36:11
Historical data download thread signaled to stop. | 2019-03-22 17:36:11
Socket (1) | Shutdown started. Waiting for graceful close. | 2019-03-22 17:36:11
HD Request # 109 | Received 4 records from 2019-03-22 17:35:55 to 2019-03-22 17:36:04 (9.0 seconds) and wrote 4 records for XBTUSD-BMEX | 2019-03-22 17:36:11
HD Request # 109 | Completion time: 0s | 2019-03-22 17:36:11
HD Request # 109 | Intraday data download complete for XBTUSD-BMEX. Unique request ID: 108 | 2019-03-22 17:36:11
Removed historical data download ID 108 | 2019-03-22 17:36:11

Socket (1) | Socket gracefully closed by remote side. | 2019-03-22 17:36:11
Socket (1) | Closed. | 2019-03-22 17:36:11

BitMEX Trading Direct | Connecting to URI www.bitmex.com/realtime/WebSocket | 2019-03-22 17:36:13
BitMEX Trading Direct | Connecting to WebSocket server. | 2019-03-22 17:36:13
BitMEX Trading Direct socket (1) | Creating socket. Using TLS 1.2. | 2019-03-22 17:36:13
BitMEX Trading Direct socket (1) | Connecting to IP: 54.194.80.193. | 2019-03-22 17:36:13
BitMEX Trading Direct | Opening WebSocket. | 2019-03-22 17:36:13
BitMEX Trading Direct | Sending WebSocket handshake. | 2019-03-22 17:36:13
BitMEX Trading Direct | Header line. HTTP/1.1 101 Switching Protocols | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. Date: Fri, 22 Mar 2019 21:36:13 GMT | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. Connection: upgrade | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. Set-Cookie: AWSALB=pT1isSQeekteP9fqj7GdX+utYRdYAdTQEOsROMeXltQf5NDiQAiLvjZPvN+ehN4TwRbMFftj6mRmFlQlWUmF6d6loYW10RTMtvHrFnoskLtVHux7qZo7o+OSrKc0; Expires=Fri, 29 Mar 2019 21:36:13 GMT; Path=/ | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. Upgrade: websocket | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. Sec-WebSocket-Accept: OJ3itJpSMkLXgD5r37aVkOaWLP4= | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. Sec-WebSocket-Version: 13 | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. WebSocket-Server: uWebSockets | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. Strict-Transport-Security: max-age=31536000; includeSubDomains | 2019-03-22 17:36:14
BitMEX Trading Direct | Header line. | 2019-03-22 17:36:14
BitMEX Trading Direct | Web socket state is now open. | 2019-03-22 17:36:14
BitMEX Trading Direct | Connected to data and trading server. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Disconnected from the server. | 2019-03-22 17:36:14
DTC Client socket (2) | Shutdown started. Waiting for graceful close. | 2019-03-22 17:36:14
DTC Client socket (2) | Socket gracefully closed by remote side. | 2019-03-22 17:36:14
DTC Client socket (2) | Closed. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Starting real-time market data updates for: XBTUSD-BMEX. ID: 1 Service code: bitmex | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Connecting to the server ds4.sierracharts.com. Port 443 | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Requesting security definition data for: XBTUSD-BMEX. ID: 1 | 2019-03-22 17:36:14
Intraday data recording state for symbol XBTUSD-BMEX is set to download 'Pending'. | 2019-03-22 17:36:14
DTC Client socket (2) | Creating socket. | 2019-03-22 17:36:14
DTC Client socket (2) | Connecting to IP: 192.81.56.146. | 2019-03-22 17:36:14
Delaying start of download for XBTUSD-BMEX | 2019-03-22 17:36:14
BitMEX Trading Direct socket (1) | Socket gracefully closed by remote side. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Connected to server. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Starting socket receive thread. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Sending encoding request to server: Binary VLS | 2019-03-22 17:36:14
BitMEX Trading Direct | WebSocket received OpCode Close. Received status code: 0 | 2019-03-22 17:36:14
BitMEX Trading Direct | WebSocket closed. | 2019-03-22 17:36:14
Connection to the external service has been lost. | 2019-03-22 17:36:14
BitMEX Trading Direct | Network socket for WebSocket has been closed by remote side. | 2019-03-22 17:36:14
BitMEX Trading Direct | WebSocket closed. | 2019-03-22 17:36:14
BitMEX Trading Direct socket (1) | Graceful close received or receive error. Shutdown complete. Closing socket now. | 2019-03-22 17:36:14
BitMEX Trading Direct socket (1) | Closed. | 2019-03-22 17:36:14
BitMEX Trading Direct | Disconnected. | 2019-03-22 17:36:14
Will reconnect to the server in 3.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Setting DTC encoding to Binary VLS | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Sending logon request message. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Received logon response. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Server Name: SC Realtime Server. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Server protocol version: 8. Client protocol version: 8 | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Successfully connected. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Trading is not supported. | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Restarting real-time data updates for symbol: XBTUSD-BMEX | 2019-03-22 17:36:14
SC DTC Data with Market Depth | Received security definition for symbol XBTUSD-BMEX | 2019-03-22 17:36:14
HD Request # 110 | Downloading Intraday chart data for XBTUSD-BMEX to the file XBTUSD-BMEX.scid. Service: bitmex | 2019-03-22 17:36:15
HD Request # 110 | Download start date-time: 2019-03-22 17:36:04.000 | 2019-03-22 17:36:15
HD Request # 110 | Using server: ds4.sierracharts.com port 10150 | 2019-03-22 17:36:15
Socket (1) | Creating socket. | 2019-03-22 17:36:15
Socket (1) | Connecting to IP: 192.81.56.146. | 2019-03-22 17:36:15
HD Request # 110 | Setting DTC encoding to Binary VLS | 2019-03-22 17:36:15
HD Request # 110 | Sending historical data logon request message. | 2019-03-22 17:36:15
HD Request # 110 | Requesting Intraday data. Start date-time: 2019-03-22 17:36:04. Record interval: 1. Symbol: XBTUSD-BMEX | 2019-03-22 17:36:15
HD Request # 110 | Decompressing data. | 2019-03-22 17:36:15
HD Request # 110 | Receiving Intraday data for XBTUSD-BMEX starting at 2019-03-22 17:36:04 | 2019-03-22 17:36:15
HD Request # 110 | Timestamp of first Intraday data file record written: 2019-03-22 17:36:04 | 2019-03-22 17:36:15
Socket (1) | Shutdown started. Waiting for graceful close. | 2019-03-22 17:36:15
HD Request # 110 | Historical data for XBTUSD-BMEX is delayed because connection to main data feed is not present. Current data will be received upon connection. | 2019-03-22 17:36:15
Historical data download thread signaled to stop. | 2019-03-22 17:36:15
HD Request # 110 | Received 5 records from 2019-03-22 17:36:04 to 2019-03-22 17:36:13 (9.0 seconds) and wrote 5 records for XBTUSD-BMEX | 2019-03-22 17:36:15
HD Request # 110 | Completion time: 0s | 2019-03-22 17:36:15
HD Request # 110 | Intraday data download complete for XBTUSD-BMEX. Unique request ID: 109 | 2019-03-22 17:36:15
Removed historical data download ID 109 | 2019-03-22 17:36:15

Socket (1) | Socket gracefully closed by remote side. | 2019-03-22 17:36:15
Socket (1) | Closed. | 2019-03-22 17:36:15

BitMEX Trading Direct | Connecting to URI www.bitmex.com/realtime/WebSocket | 2019-03-22 17:36:17
BitMEX Trading Direct | Connecting to WebSocket server. | 2019-03-22 17:36:17
BitMEX Trading Direct socket (1) | Creating socket. Using TLS 1.2. | 2019-03-22 17:36:17
BitMEX Trading Direct socket (1) | Connecting to IP: 54.194.80.193. | 2019-03-22 17:36:17
BitMEX Trading Direct | Opening WebSocket. | 2019-03-22 17:36:17
BitMEX Trading Direct | Sending WebSocket handshake. | 2019-03-22 17:36:17
BitMEX Trading Direct | Header line. HTTP/1.1 429 Too Many Requests | 2019-03-22 17:36:17
BitMEX Trading Direct | WebSocket not connected. Handshake acknowledgment: HTTP/1.1 429 Too Many Requests | 2019-03-22 17:36:17
BitMEX Trading Direct | WebSocket closed. | 2019-03-22 17:36:17
Error connecting to Data or Trading service. For help with this issue, press the 'Send For Analysis' button on this window. | 2019-03-22 17:36:17
Select 'File >> Disconnect' to prevent further connection attempts. | 2019-03-22 17:36:17
BitMEX Trading Direct | WebSocket closed. | 2019-03-22 17:36:17
BitMEX Trading Direct | WebSocket closed. | 2019-03-22 17:36:17
BitMEX Trading Direct socket (1) | Shutdown started. Waiting for graceful close. | 2019-03-22 17:36:17
BitMEX Trading Direct | Disconnected. | 2019-03-22 17:36:17
Will reconnect to the server in 3.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2019-03-22 17:36:17
BitMEX Trading Direct socket (1) | Socket gracefully closed by remote side. | 2019-03-22 17:36:17
BitMEX Trading Direct socket (1) | Closed. | 2019-03-22 17:36:17
[2019-03-24 01:15:28]
User611063 - Posts: 2
Figured it out, thanks to User465507

Who posted the following: "I noticed I have no issue connecting when using SC Data - All services"
Ref support thread ID: 39604

Somehow (I assume I accidentally did this), my settings for Data Trade Service Settings changed from SC Data to BitMex (but I didn't configure it with my account info)

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

Login

Login Page - Create Account