Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: [Errno 65] No route to host #123

Open
Andrei07082023 opened this issue Dec 12, 2024 · 1 comment
Open

OSError: [Errno 65] No route to host #123

Andrei07082023 opened this issue Dec 12, 2024 · 1 comment

Comments

@Andrei07082023
Copy link

I am able to discover and receive files from my apple devices, but when i try to send a file or anything else i get the following error (i run opendrop on a MacBook with OSx 15):

Traceback (most recent call last):
File "/main.py", line 22, in
cli1.main()
File "/cli.py", line 36, in main
AirDropCli(sys.argv[1:])
File "/cli.py", line 114, in init
self.send()
File "/cli.py", line 193, in send
if not self.client.send_ask(self.file, is_url=self.is_url):
File "/client.py", line 189, in send_ask
success, _ = self.send_POST("/Ask", ask_binary)
File "/client.py", line 115, in send_POST
self.http_conn.request("POST", url, body=body, headers=_headers)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1417, in connect
super().connect()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/client.py", line 322, in create_connection_awdl
raise err
File "/client.py", line 312, in create_connection_awdl
sock.connect(sa)
OSError: [Errno 65] No route to host

Has anyone encountered this?

@sorry-i-am-late
Copy link

I fear this project may be mostly abandoned. Hopefully it isnt but who knows.

I only found this today so if i get around to building it i will let you know if i have this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants