@ANL i have
def on_ticks(ws, ticks):
for x in ticks:
ltp[x['instrument_token']] = x['last_price']
and when this error 1006 started i also printed the keys of ltp those were only 15 [260105, 3484417, 5582849, 4774913, 4701441, …
@tahseen @sujith
issue is resolved. !
thanks for help. issue was we are fetching api_key from environment but it was okay in local but in devlopment environment file it was wrong.
thanks for help!
my vm's apache tomcat running on 443 port. so i tried to stop that port and run my application but it woudn't work. so is there any way to change zerodha socket port?
still i'm getting this error. this code works perfectly fine in my local machine. but when i run it in google cloude vm it is giving me this error.
i have check access token and api key are in string and access token and api key are valid in my…