sorry, bot crash yesterday.
and something very strange happened
I have run several witness_node, and some python scripts update transaction from these nodes with websocket connect.
but I saw all scripts exist at 19:07:07(TZ+0) because of lost websocket connection with no reason.
I don't know what the reason, only found there are so many filled order at that time.
I guess I need to handler these type of error. automatic restart the script.
Task exception was never retrieved
future: <Task finished coro=<BaseProtocol.handler_message() done, defined at /home/alt/python-venv/lib/python3.5/site-packages/bts/ws/base_protocol.py:76> exception=ConnectionClosed('WebSocket connection is closed: code = 1009, no reason.',)>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/home/alt/python-venv/lib/python3.5/site-packages/bts/ws/base_protocol.py", line 78, in handler_message
payload = await self.websocket.recv()
File "/home/alt/python-venv/lib/python3.5/site-packages/websockets/protocol.py", line 299, in recv
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1009, no reason.