-
Notifications
You must be signed in to change notification settings - Fork 664
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
Unable to connect to instance on MacOS 15.1 (no route to host) #3766
Comments
Hi @virajkanwade, thanks for reporting this issue, Would you be able to access the logs on your MacOS machine and send them here as files? We have a troubleshooting launch/start issues document that may help you troubleshoot these network problems as well. Please let us know what the results of following the steps in the document are, as well as any other potential variables in your MacOS setup that could be affecting the ability to connect to instances (VPN, IPv4/IPv6 configuration etc). Thank you! |
no vpn active. firewall is disabled. |
Thank you for providing the logs @virajkanwade! Just to confirm: are you using an ARM-based Mac with an M-series processor, or an Intel-based Mac? |
Yes, M2 Max |
Tried following most of the Mac steps I could understand. But no luck yet. |
Looking through the logs, it doesnt seem like there are any issues that were captured. What's interesting is that you have been able to to obtain an IP address for your Could you try SSHing manually into the instance with verbose logging enabled with the command: On our How to Troubleshoot Network Issues document, there is a section for MacOS on troubleshooting network routing issues that may help diagnose the issue better as well. Thank you for your patience while we look into this! |
|
Could you double-check if the IP address in multipass info matches the one you're trying to SSH into? Also, ensure that the instance is running. Sometimes the IP can change or the instance might not be active. You should also be able to ping the instance once it is started with |
@levkropp deleted all instances from /var/root/Library/Application Support/multipassd/qemu/vault/instances Launched new instanced and tried the SSH command you mentioned. That worked. But multipass shell command failed. |
It's good to hear that you can SSH into the instance and reach a shell even if the |
|
@levkropp
Maybe MacOS requires sudo when trying to ssh to internet sharing subnet and multipass is somehow not using sudo? Just a thought, I could be misreading this. |
|
Fyi, I'm experiencing a similar problem; details:
|
And now, for reasons that aren't at all clear to me, the |
Here also the same problem, tried to access the |
This is the output of the first installation on a new mac (macOS 15.1):
|
And, to follow-up on the follow-up 🤦♂️, it is no longer working once again. In summary, using
(Interestingly, to me at least, is |
Adding my own findings after reading others... it seems to somehow be related to permissions
If I run it with
I also just upgraded to MacOS 15.1 this weekend, I did not have issues prior to upgrading to 15.1 (I was on 15.0) |
I'm also experiencing the same behavior as @jaykae. Only able to SSH with sudo. |
Thank you for all the info. We're looking into this and we'll post here when we have developments. |
Just a short update: we could not reproduce this yet, but we are still working on it. |
Yesterday, a user encountered an issue: their VM was running but it was time for an upgrade from Jammy to Noble, so they performed a delete/purge/create procedure. Setup scripts started failing while setting up the new VM ( Had seen such problems before; network connections are being blocked by Network Extension Control Protocol layer in macOS - golang/go#68678 (comment) ; this affected a lot of Go applications and they all had their connections blocked with "no route to host" error. With multipass the problem is slightly different but the connection is being blocked by macOS. Start In my case, simply a reboot of macOS resolved the issue and didn't dig further. |
Just rebooted and am able to connect without sudo. Not sure what the issue was, but the solution by @vsarunas worked. |
Hi all, has anyone tried the suggestion in this comment? It would be interesting to know if it helps here too. |
I can confirm the solution in comment works
|
Yes, it works |
Describe the bug
Describe what your problem is.
I am unable to shell to any running instance.
To Reproduce
How, and what happened?
Installed Multipass using the pkg installer.
Launched a new instance
multipass launch
Confirm instance with
multipass list
Try to shell
multipass shell neutral-sailfish
Expected behavior
What did you expect to happen?
Logs
Please provide logs from the daemon, see accessing logs on where to find them on your platform.
Additional info
MacOS 10.15.1
multipass version
multipass 1.14.1+mac
multipassd 1.14.1+mac
multipass info
Name: neutral-sailfish
State: Running
Snapshots: 0
IPv4: 192.168.64.6
Release: Ubuntu 24.04.1 LTS
Image hash: e380b683b0c4 (Ubuntu 24.04 LTS)
CPU(s): 1
Load: 0.00 0.00 0.00
Disk usage: 1.8GiB out of 4.8GiB
Memory usage: 209.4MiB out of 953.0MiB
Mounts: --
Name: overruling-chimpanzee
State: Deleted
Snapshots: 0
IPv4: --
Release: --
Image hash: e380b683b0c4 (Ubuntu 24.04 LTS)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --
multipass get local.driver
qemu
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: