Advertisement
SITZ

Untitled

Apr 1st, 2021 (edited)
794
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.91 KB | None | 0 0
  1. Process Process-3:
  2. Traceback (most recent call last):
  3.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 827, in transfer_data
  4.     message = await self.read_message()
  5.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 895, in read_message
  6.     frame = await self.read_data_frame(max_size=self.max_size)
  7.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 971, in read_data_frame
  8.     frame = await self.read_frame(max_size)
  9.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 1047, in read_frame
  10.     frame = await Frame.read(
  11.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/framing.py", line 105, in read
  12.     data = await reader(2)
  13.   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
  14.     await self._wait_for_data('readexactly')
  15.   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
  16.     await self._waiter
  17. asyncio.exceptions.CancelledError
  18.  
  19. The above exception was the direct cause of the following exception:
  20.  
  21. Traceback (most recent call last):
  22.   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
  23.     self.run()
  24.   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
  25.     self._target(*self._args, **self._kwargs)
  26.   File "/Users/sitesh/Code/arbitrage/source/main.py", line 93, in bybit_tick_process
  27.     event_loop.run_until_complete(start_bybit_socket(queue=mp_queue, testnet=True))
  28.   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
  29.     return future.result()
  30.   File "/Users/sitesh/Code/arbitrage/source/exchange/bybit.py", line 199, in start_bybit_socket
  31.     result = await websocket.recv()
  32.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 509, in recv
  33.     await self.ensure_open()
  34.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 812, in ensure_open
  35.     raise self.connection_closed_exc()
  36. websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
  37. Process Process-1:
  38. Traceback (most recent call last):
  39.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 827, in transfer_data
  40.     message = await self.read_message()
  41.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 895, in read_message
  42.     frame = await self.read_data_frame(max_size=self.max_size)
  43.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 971, in read_data_frame
  44.     frame = await self.read_frame(max_size)
  45.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 1047, in read_frame
  46.     frame = await Frame.read(
  47.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/framing.py", line 105, in read
  48.     data = await reader(2)
  49.   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
  50.     await self._wait_for_data('readexactly')
  51.   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
  52.     await self._waiter
  53. asyncio.exceptions.CancelledError
  54.  
  55. The above exception was the direct cause of the following exception:
  56.  
  57. Traceback (most recent call last):
  58.   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
  59.     self.run()
  60.   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
  61.     self._target(*self._args, **self._kwargs)
  62.   File "/Users/sitesh/Code/arbitrage/source/main.py", line 60, in arbitrage
  63.     event_loop.run_until_complete(asyncio.gather(quote_exchange.start_stream(), arbitrage_process))
  64.   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
  65.     return future.result()
  66.   File "/Users/sitesh/Code/arbitrage/source/arbitrage.py", line 88, in start_stream
  67.     return await self.integration_manager.run_socket()
  68.   File "/Users/sitesh/Code/arbitrage/source/exchange/binance.py", line 210, in run_socket
  69.     self.on_socket_message(result)
  70.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 509, in recv
  71.     await self.ensure_open()
  72.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 812, in ensure_open
  73.     raise self.connection_closed_exc()
  74. websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
  75. Process Process-2:
  76. Traceback (most recent call last):
  77.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 827, in transfer_data
  78.     message = await self.read_message()
  79.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 895, in read_message
  80.     frame = await self.read_data_frame(max_size=self.max_size)
  81.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 971, in read_data_frame
  82.     frame = await self.read_frame(max_size)
  83.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 1047, in read_frame
  84.     frame = await Frame.read(
  85.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/framing.py", line 105, in read
  86.     data = await reader(2)
  87.   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
  88.     await self._wait_for_data('readexactly')
  89.   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
  90.     await self._waiter
  91. asyncio.exceptions.CancelledError
  92.  
  93. The above exception was the direct cause of the following exception:
  94.  
  95. Traceback (most recent call last):
  96.   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
  97.     self.run()
  98.   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
  99.     self._target(*self._args, **self._kwargs)
  100.   File "/Users/sitesh/Code/arbitrage/source/main.py", line 88, in binance_tick_process
  101.     event_loop.run_until_complete(start_binance_socket(queue=mp_queue, testnet=True))
  102.   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
  103.     return future.result()
  104.   File "/Users/sitesh/Code/arbitrage/source/exchange/binance.py", line 244, in start_binance_socket
  105.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 509, in recv
  106.     await self.ensure_open()
  107.   File "/Users/sitesh/Code/arbitrage/venv/lib/python3.9/site-packages/websockets/protocol.py", line 812, in ensure_open
  108.     raise self.connection_closed_exc()
  109. websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
  110.  
  111. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement