bubbleboy14
bubbleboy14
Hey @engn33r, @AbexAbe, @brunchboy. Here's a PR: https://github.com/websocket-client/websocket-client/pull/838 The idea is that by default (unless you pass reconnect=False), run_forever() handles connection failures (including dropped connections and initial failure to connect)...
Hey @brunchboy, thanks! There are a few options for that. The easiest is probably: cd wherever/you/want git clone https://github.com/bubbleboy14/websocket-client.git cd your/project ln -s wherever/you/want/websocket-client/websocket that'll symlink my cutty fork into...
@brunchboy I added connected/disconnected notifications to setSock()/handleDisconnect() using _logging.warning(). these logs can be turned on with "websocket._logging.enableTrace(True)". @engn33r is that the right approach, or should we be logging differently in...
Good call @engn33r! The "reconnect" kwarg now specifies the sleep() time.
Great catch @brunchboy, try the latest version! I added a stack frame count to the disconnect log, simplified various things, and streamlined (/ made more consistent) a few connection failure...
@brunchboy try latest :) I added an info() function to the _logging module and a level kwarg (default "DEBUG") to enableTrace(). So change your enableTrace to this: "websocket._logging.enableTrace(True, level="INFO")" and...
Hello @NadavK. Hm, you're talking about this one, right: https://github.com/websocket-client/websocket-client/blob/master/websocket/tests/echo-server.py On your client, are you using the BackgroundScheduler in PyBackground (https://pypi.org/project/PyBackground/) or apscheduler (https://apscheduler.readthedocs.io/en/stable/userguide.html) or some other project? Could you...
Hello all! @engn33r , @brunchboy , @mkapuza , check out this pull request: https://github.com/websocket-client/websocket-client/pull/854 I adjusted the synchronous reconnect logic to avoid growing the stack. Thoughts? BTW here's the super...
Hey @aantn, https://github.com/websocket-client/websocket-client/pull/854 should fix this. Could you please test and let us know? @engn33r, maybe we should change the "reconnect" kwarg default to 0 to preserve the previous behavior...
Hello @j-linds , shucks sorry to hear. I ran your test against a wss server I run out in the wild, and I didn't notice any problems, or see the...