coinbasepro-python icon indicating copy to clipboard operation
coinbasepro-python copied to clipboard

WSS subscription class self closing within a few hours without any error reported

Open sundarkast opened this issue 5 years ago • 1 comments

Seeing this when letting it run in nohup mode in background -- the WSS subscription class self closes within a few hours; using implementation as indicated in usage example:

def on_close(self): logging.info(f"-- Goodbye! -- {self.message_count}")

[INFO ] -- Goodbye!

How to avoid this? The code is v useful but this is a show stopper as the price ticker is central to any action that can be taken.

sundarkast avatar Dec 15 '20 17:12 sundarkast

Same Issue - does the keepalive function need to be modified?

cpollio83 avatar Nov 02 '21 00:11 cpollio83