Locally runnable server with built-in data caching, providing both tick-level historical and consolidated real-time cryptocurrency market data via HTTP and WebSocket APIs
Hi, I'm able to run tardis-machine fine on my mac but for some reason it keeps crashing on my EC2 instance after 2-3 days. I'm not getting any error message from the server but my program that watch liquidations starts throwing connection errors. Any ideas on how I could fix this or what might be wrong?
tardis-machine server v3.4.3 is running
HTTP port: 8000
WS port: 8001
See https://docs.tardis.dev/api/tardis-machine for more information.
2021-10-14 17:36:15.258744 Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "/usr/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection
raise exceptions[0]
File "/usr/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "/usr/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect
return await fut
File "/usr/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 8001)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "delta_record_binance.py", line 34, in run
async with session.ws_connect(URL) as websocket:
Hi, I'm able to run tardis-machine fine on my mac but for some reason it keeps crashing on my EC2 instance after 2-3 days. I'm not getting any error message from the server but my program that watch liquidations starts throwing connection errors. Any ideas on how I could fix this or what might be wrong?
tardis-machine server v3.4.3 is running HTTP port: 8000 WS port: 8001 See https://docs.tardis.dev/api/tardis-machine for more information. 2021-10-14 17:36:15.258744 Traceback (most recent call last): File "/home/ubuntu/.local/lib/python3.8/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa File "/usr/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection raise exceptions[0] File "/usr/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection sock = await self._connect_sock( File "/usr/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock await self.sock_connect(sock, address) File "/usr/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect return await fut File "/usr/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 8001)
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "delta_record_binance.py", line 34, in run async with session.ws_connect(URL) as websocket: