Support Board
Date/Time: Tue, 14 Jan 2025 23:57:49 +0000
Post From: SC Disconnecting from CQG throughout the day - started with v 1369
[2016-02-20 17:04:03] |
User47643 - Posts: 13 |
we will ask CQG why they are closing the connection. If Sierra Chart is doing something improper on the web socket connection which is causing a remote close, we need to know what that is.
Another consideration would be if Sierra Chart is not doing something that needs to be done to keep the connection alive. For example, RFC 6455, The WebSocket Protocol, states, "A Pong frame MAY be sent unsolicited. This serves as a unidirectional heartbeat." The CQG Web API protocol description at ftp://OpenAPI:k-rxERRdigxQ@ftp.cqg.com/Web%20API/Protocol%20Description/Production/webapi.proto states, "Ping request which can be initiated by any side to ensure connection is alive." So, even the client can initiate a Ping request as a heartbeat to prevent connection close from timeouts. Date Time Of Last Edit: 2016-02-20 17:05:30
|