Receiving the following errors from mongo it appears. See below:
:~/ThorCryptocurrencyQuant$ python Strategy_main.py on open 11729.0 2020-08-31 12:00:05 0.04635084 2020-08-31 12:00:05 Traceback (most recent call last): File "Strategy_main.py", line 43, in <module> start_.start_transaction() File "/home/nateflanders/ThorCryptocurrencyQuant/GriddingStrategy/Quant.py", line 131, in start_transaction self.col.insert_one(dict) File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/collection.py", line 701, in insert_one session=session), File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/collection.py", line 615, in _insert bypass_doc_val, session) File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/collection.py", line 603, in _insert_one acknowledged, _insert_command, session) File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1497, in _retryable_write with self._tmp_session(session) as s: File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__ return next(self.gen) File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1829, in _tmp_session s = self._ensure_session(session) File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1816, in _ensure_session return self.__start_session(True, causal_consistency=False) File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1766, in __start_session server_session = self._get_server_session() File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1802, in _get_server_session return self._topology.get_server_session() File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/topology.py", line 488, in get_server_session None) File "/home/nateflanders/kola/lib/python3.6/site-packages/pymongo/topology.py", line 217, in _select_servers_loop (self._error_message(selector), timeout, self.description)) pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: 5f4d48b3c591e57f6f0e4c93, topology_type: Single, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused',)>]>
Any advice?