devika
devika copied to clipboard
[Errno 61] Connection refused
Device: Macbook Air 2017
Error: (base) MacBook-Pro-207:devika siddharthduggal$ python devika.py Traceback (most recent call last): File "/opt/anaconda3/lib/python3.9/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions yield File "/opt/anaconda3/lib/python3.9/site-packages/httpx/_transports/default.py", line 228, in handle_request resp = self._pool.handle_request(req) File "/opt/anaconda3/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request raise exc from None File "/opt/anaconda3/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request response = connection.handle_request( File "/opt/anaconda3/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 99, in handle_request raise exc File "/opt/anaconda3/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 76, in handle_request stream = self._connect(request) File "/opt/anaconda3/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 122, in _connect stream = self._network_backend.connect_tcp(**kwargs) File "/opt/anaconda3/lib/python3.9/site-packages/httpcore/_backends/sync.py", line 213, in connect_tcp sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) File "/opt/anaconda3/lib/python3.9/contextlib.py", line 137, in exit self.gen.throw(typ, value, traceback) File "/opt/anaconda3/lib/python3.9/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectError: [Errno 61] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/siddharthduggal/Desktop/devika/devika.py", line 16, in
Try this. https://github.com/stitionai/devika/issues/27#issuecomment-2014158508