Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Process Process-3:
- Traceback (most recent call last):
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 827, in transfer_data
- message = await self.read_message()
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 895, in read_message
- frame = await self.read_data_frame(max_size=self.max_size)
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 971, in read_data_frame
- frame = await self.read_frame(max_size)
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 1047, in read_frame
- frame = await Frame.read(
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/framing.py", line 105, in read
- data = await reader(2)
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 723, in readexactly
- await self._wait_for_data('readexactly')
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
- await self._waiter
- asyncio.exceptions.CancelledError
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
- self.run()
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 108, in run
- self._target(*self._args, **self._kwargs)
- File "/Users/sitesh/Code/arbitrage/source/main.py", line 93, in bybit_tick_process
- event_loop.run_until_complete(start_bybit_socket(queue=mp_queue, testnet=True))
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
- return future.result()
- File "/Users/sitesh/Code/arbitrage/source/exchange/bybit.py", line 199, in start_bybit_socket
- result = await websocket.recv()
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 509, in recv
- await self.ensure_open()
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 812, in ensure_open
- raise self.connection_closed_exc()
- websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
- Process Process-1:
- Traceback (most recent call last):
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 827, in transfer_data
- message = await self.read_message()
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 895, in read_message
- frame = await self.read_data_frame(max_size=self.max_size)
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 971, in read_data_frame
- frame = await self.read_frame(max_size)
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 1047, in read_frame
- frame = await Frame.read(
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/framing.py", line 105, in read
- data = await reader(2)
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 723, in readexactly
- await self._wait_for_data('readexactly')
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
- await self._waiter
- asyncio.exceptions.CancelledError
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
- self.run()
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 108, in run
- self._target(*self._args, **self._kwargs)
- File "/Users/sitesh/Code/arbitrage/source/main.py", line 60, in arbitrage
- event_loop.run_until_complete(asyncio.gather(quote_exchange.start_stream(), arbitrage_process))
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
- return future.result()
- File "/Users/sitesh/Code/arbitrage/source/arbitrage.py", line 88, in start_stream
- return await self.integration_manager.run_socket()
- File "/Users/sitesh/Code/arbitrage/source/exchange/binance.py", line 210, in run_socket
- self.on_socket_message(result)
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 509, in recv
- await self.ensure_open()
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 812, in ensure_open
- raise self.connection_closed_exc()
- websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
- Process Process-2:
- Traceback (most recent call last):
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 827, in transfer_data
- message = await self.read_message()
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 895, in read_message
- frame = await self.read_data_frame(max_size=self.max_size)
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 971, in read_data_frame
- frame = await self.read_frame(max_size)
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 1047, in read_frame
- frame = await Frame.read(
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/framing.py", line 105, in read
- data = await reader(2)
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 723, in readexactly
- await self._wait_for_data('readexactly')
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
- await self._waiter
- asyncio.exceptions.CancelledError
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
- self.run()
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 108, in run
- self._target(*self._args, **self._kwargs)
- File "/Users/sitesh/Code/arbitrage/source/main.py", line 88, in binance_tick_process
- event_loop.run_until_complete(start_binance_socket(queue=mp_queue, testnet=True))
- File "/usr/local/Cellar/python@3.9/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
- return future.result()
- File "/Users/sitesh/Code/arbitrage/source/exchange/binance.py", line 244, in start_binance_socket
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 509, in recv
- await self.ensure_open()
- File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 812, in ensure_open
- raise self.connection_closed_exc()
- websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement