Yesterday I deployed a script of streaming live data on docker and due to some reason I had to terminate it, I did that using Ctrl + C, after that whenever I'm running the script again it is showing ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (400 - BadRequest)) I tried running it today, after generating a new access_token still the same error. Kindly look into this matter and resolve it at your earliest convenience.
The first time I ran the script, the connection was established successfully. However, there was a minor issue in the main script, so I had to terminate the process using Ctrl + C. After fixing the issue, I'm now encountering the following message every time I try to run the script again.
This issue occurs due to an invalid API key or access token. Please review your code and cross-verify that the correct credentials are being passed. You may refer to the similar discussion here.