Getting error in websocketV2
-
line 257, in connect
self.wsapp.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE}, ping_interval=self.HEAR_BEAT_INTERVAL,TypeError: run_forever() got an unexpected keyword argument 'ping_payload'
-
in the connect() function of smartWebSocketV2.py replace the line with below definition and it fix the issue. The highglighted in bold is the changes I did in code to make it work
line having issue:
self.wsapp.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE}, ping_interval=self.HEART_BEAT_INTERVAL,
ping_payload=self.HEART_BEAT_MESSAGE)replace it with below corrected code:
self.wsapp.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE}, ping_interval=self.HEART_BEAT_INTERVAL) -
@NaitikJyani Hi, have you found the solution to this issue?
-
@NaitikJyani Any solution on this?
-
@NaitikJyani
Im having same problem too. Did it got solved to you?