Hi all today i was trying some code post market hours and my websocket code which worked during market hours keep on retrying. with below msg "Retrying connection. Retry attempt count: 1. Next retry in around: 2 seconds" basically when we call ws.connect()#tried both threaded and without option i expect the on_connect() method to be called but that itself is not getting called and i keep getting this retry msgs.
@rakeshr@sujith is it expected a very simple code working daily during market hours while running post market doesnt even go to on_connect function it keeps retrying
2022-12-23 19:28:10+0530 [-] will retry in 2 seconds
2022-12-23 19:28:10+0530 [-] Stopping factory
2022-12-23 19:28:13+0530 [-] Starting factory
2022-12-23 19:28:13+0530 [-] Retrying connection. Retry attempt count: 1. Next retry in around: 3 seconds
2022-12-23 19:28:13+0530 [-] will retry in 7 seconds
2022-12-23 19:28:13+0530 [-] Stopping factory
2022-12-23 19:28:21+0530 [-] Starting factory
2022-12-23 19:28:21+0530 [-] Retrying connection. Retry attempt count: 2. Next retry in around: 8 seconds
2022-12-23 19:28:21+0530 [-] will retry in 19 seconds
2022-12-23 19:28:21+0530 [-] Stopping factory