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

Multipass Network Connection Issue on macOS 15.1 - Repeated Network Resets #3765

Open
asnidhin opened this issue Nov 6, 2024 · 3 comments
Open
Labels
bug needs triage Issue needs to be triaged

Comments

@asnidhin
Copy link

asnidhin commented Nov 6, 2024

While attempting to start a Multipass instance on macOS 15.1, the instance continuously resets the network, resulting in delays and failure to establish a stable SSH connection.

[2024-11-06T09:56:10.139] [debug] [daemon] Returning setting local.primary.memory=1.0GiB [2024-11-06T09:56:10.142] [debug] [daemon] Returning setting local.driver=qemu [2024-11-06T09:56:10.142] [debug] [daemon] Returning setting local.primary.disk=5.0GiB [2024-11-06T09:56:10.150] [debug] [ifconfig] [1710] started: ifconfig ... [2024-11-06T09:56:36.461] [debug] [primary] Resetting the network [2024-11-06T09:56:36.462] [debug] [primary] QMP: {"return": {}}

Multipass Version - 1.14.1
The issue may be related to networking setup, permissions, or QEMU compatibility with macOS 15.1.

@asnidhin asnidhin added bug needs triage Issue needs to be triaged labels Nov 6, 2024
@levkropp
Copy link
Contributor

levkropp commented Nov 6, 2024

Hi @asnidhin, thanks for reporting this issue,

Would you be able to access the logs on your MacOS machine and send them here as files? At first glance, this seems to be a different issue than ones we have run into in the past, so having access to the full logs would be a big help!

While we investigate this issue, we have a troubleshooting launch/start issues document that may help you troubleshoot these problems as well. Please let us know if any of the troubleshooting steps in that document help with the network reset problem

@asnidhin
Copy link
Author

asnidhin commented Nov 7, 2024

multipassd.log

After shutting down my system, the Multipass instance fails to authenticate with a public key error. If I delete and purge the instance, it launches and works as expected initially. However, after a system reboot, running the multipass shell command returns a public key error. Additionally, if I attempt to restart the instance, it times out with the error: primary: timed out waiting for response.

@levkropp
Copy link
Contributor

levkropp commented Nov 7, 2024

Thank you for providing the log files!

Since you're able to launch and connect to instances the first time, could you try manually SSHing into your instance with verbose logging enabled when it works, and then again after a reboot when you are getting a public key error?
ssh -i /var/root/Library/Application\ Support/multipassd/ssh-keys/id_rsa ubuntu@[your_instance_ip] -vvv
The verbosity of the manual SSH may help figure out what is happening in between the initial launch and reboot that is causing the public key issue.

On our How to Troubleshoot Network Issues document, there is a section for MacOS on troubleshooting network issues that you can try as well. Since your log files contain DNS resolution errors such as
[2024-11-07T09:31:11.550] [warning] [url downloader] Error getting https://multipass.run/static/latest-release.json: Host multipass.run not found - trying cache.
There may be issues with Multipass using DNS either on the MacOS machine or inside the instance itself. Have you tried disabling the firewall on your MacOS machine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants