Have noticed quite frequent "Connection errors" while running my code to connect to zerodha API. Could you please tell if it is known issue and would be fixed? I have subscribed to Nifty future to get ticks. Below are the errors I see on console.
Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) on_connect chal raha hain ji Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) on_connect chal raha hain ji ^^^Bigger list is [['2020-10-14 10:07', 11847.55, 11850.0, 11847.05, 11850.0], ['2020-10-14 10:08', 11850.0, 11851.9, 11849.95, 11850.0], ['2020-10-14 10:09', 11850.0, 11852.0, 11848.7, 11852.0]] ema_list has become [11862.33, 11861.586315789473, 11860.97650969529, 11860.398798658696, 11859.956756624028] Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) on_connect chal raha hain ji Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) on_connect chal raha hain ji Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) Retrying connection. Retry attempt count: 1. Next retry in around: 3 seconds on_connect chal raha hain ji Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) on_connect chal raha hain ji ^^^Bigger list is [['2020-10-14 10:07', 11847.55, 11850.0, 11847.05, 11850.0], ['2020-10-14 10:08', 11850.0, 11851.9, 11849.95, 11850.0], ['2020-10-14 10:09', 11850.0, 11852.0, 11848.7, 11852.0], ['2020-10-14 10:10', 11852.0, 11852.0, 11848.7, 11850.3]] ema_list has become [11862.33, 11861.586315789473, 11860.97650969529, 11860.398798658696, 11859.956756624028, 11859.448506275394] Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) on_connect chal raha hain ji ^^^Bigger list is [['2020-10-14 10:07', 11847.55, 11850.0, 11847.05, 11850.0], ['2020-10-14 10:08', 11850.0, 11851.9, 11849.95, 11850.0], ['2020-10-14 10:09', 11850.0, 11852.0, 11848.7, 11852.0], ['2020-10-14 10:10', 11852.0, 11852.0, 11848.7, 11850.3], ['2020-10-14 10:11', 11848.65, 11853.0, 11848.0, 11852.05]] ema_list has become [11862.33, 11861.586315789473, 11860.97650969529, 11860.398798658696, 11859.956756624028, 11859.448506275394, 11859.059111208267] Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None) on_connect chal raha hain ji Connection error: 1006 - connection was closed uncleanly (None) Connection closed: 1006 - connection was closed uncleanly (None)
Just FYI, I think I saw frequent connection issue yesterday as well however in evening they were less when I was trying to get ticks for Crude Oil. Greatly appreciate any suggestion or help from you.