#130·opendrop

ConnectionRefusedError: [Errno 61] Connection refused

Author: BojieLvCreated Jan 4, 2026Updated Jan 4, 2026

guanliyuan2@Bojies-iMac ~ % opendrop send -r 0 -f https://owlink.org --url /Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/config.py:27: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import resource_filename Asking receiver to accept ... Traceback (most recent call last): File "/Users/guanliyuan2/.local/bin/opendrop", line 7, in sys.exit(main()) File "/Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/cli.py", line 36, in main AirDropCli(sys.argv[1:]) File "/Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/cli.py", line 112, in init self.send() File "/Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/cli.py", line 191, in send if not self.client.send_ask(self.file, is_url=self.is_url): File "/Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/client.py", line 188, in send_ask success, _ = self.send_POST("/Ask", ask_binary) File "/Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/client.py", line 115, in send_POST self.http_conn.request("POST", url, body=body, headers=_headers) File "/usr/local/Cellar/[email protected]/3.9.25/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/Cellar/[email protected]/3.9.25/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/Cellar/[email protected]/3.9.25/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/Cellar/[email protected]/3.9.25/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/local/Cellar/[email protected]/3.9.25/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 980, in send self.connect() File "/usr/local/Cellar/[email protected]/3.9.25/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1447, in connect super().connect() File "/usr/local/Cellar/[email protected]/3.9.25/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 946, in connect self.sock = self._create_connection( File "/Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/client.py", line 318, in create_connection_awdl raise err File "/Users/guanliyuan2/.local/pipx/venvs/opendrop/lib/python3.9/site-packages/opendrop/client.py", line 308, in create_connection_awdl sock.connect(sa) ConnectionRefusedError: [Errno 61] Connection refused