KiteTicker Websockets is not connecting.

sukantary
Hi,

Kite Ticker Websocket was working perfectly as expected and it was returning tick perfectly. But from today(08 July, 20222) 2pm, suddenly its not connecting further and returned the following error

WebSocket connection to 'wss://ws.kite.trade/?api_key=xxx&access_token=xxx' failed:

I have logged from error callback function and got the following...

isTrusted: true
bubbles: false
cancelBubble: false
cancelable: false
composed: false
currentTarget: WebSocket
__zone_symbol__ON_PROPERTYclose: ƒ (e)
__zone_symbol__ON_PROPERTYerror: ƒ (e)
__zone_symbol__ON_PROPERTYmessage: ƒ (_ref)
__zone_symbol__ON_PROPERTYopen: ƒ ()
__zone_symbol__closefalse: [ZoneTask]
__zone_symbol__errorfalse: [ZoneTask]
__zone_symbol__messagefalse: [ZoneTask]
__zone_symbol__openfalse: [ZoneTask]
binaryType: "arraybuffer"
bufferedAmount: 0
extensions: ""
onclose: (...)
onerror: (...)
onmessage: (...)
onopen: (...)
protocol: ""
readyState: 3
url: "wss://ws.kite.trade/?api_key=xxx&access_token=xxx"
[[Prototype]]: WebSocket
defaultPrevented: false
eventPhase: 0
path: []
returnValue: true
srcElement: WebSocket {__zone_symbol__openfalse: Array(1), __zone_symbol__messagefalse: Array(1), __zone_symbol__ON_PROPERTYopen: ƒ, __zone_symbol__ON_PROPERTYmessage: ƒ, __zone_symbol__ON_PROPERTYerror: ƒ, …}
target: WebSocket
__zone_symbol__ON_PROPERTYclose: ƒ (e)
__zone_symbol__ON_PROPERTYerror: ƒ (e)
__zone_symbol__ON_PROPERTYmessage: ƒ (_ref)
__zone_symbol__ON_PROPERTYopen: ƒ ()
__zone_symbol__closefalse: [ZoneTask]
__zone_symbol__errorfalse: [ZoneTask]
__zone_symbol__messagefalse: [ZoneTask]
__zone_symbol__openfalse: [ZoneTask]
binaryType: "arraybuffer"
bufferedAmount: 0
extensions: ""
onclose: (...)
onerror: (...)
onmessage: (...)
onopen: (...)
protocol: ""
readyState: 3
url: "wss://ws.kite.trade/?api_key=xxx&access_token=xxx"
[[Prototype]]: WebSocket
timeStamp: 26088.20000000298
type: "error"

I have also tried from .NET API client and used the following
Ticker ticker = new Ticker(apiKey, accessToken, null, true, 5, 50, false, null);
ticker.Connect();

It returned

{
isConnected: false
}


Could you please explain if I have done anything wrong or fix the issue asap because it was running properly and I have not changed anything before getting this error.


Sukanta Roy
[email protected]
Sign In or Register to comment.