connection error

SAPANKHUNTIA
hii traders..
Connection closed: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: close reason without close code)

someone please explain what this means and how to sort it out.

thank you.
  • arijit
    Facing similar issue. Code:

    def on_ticks(ws, ticks):
    logging.debug("Ticks: {}".format(ticks))
    def on_connect(ws, response):
    ws.subscribe([256265])
    ws.set_mode(ws.MODE_FULL, [256265])
    def on_close(ws, code, reason):
    ws.stop()

    kws.on_ticks = on_ticks
    kws.on_connect = on_connect
    kws.on_close = on_close
    kws.connect()
  • sujith
    sujith edited February 17
    You can check out FAQs here.
Sign In or Register to comment.