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

Network Unreachable for ports.ubuntu.com and cannot connect to snap store in UTM Ubuntu VM #6896

Open
Shvetang opened this issue Dec 13, 2024 · 3 comments

Comments

@Shvetang
Copy link

Shvetang commented Dec 13, 2024

Describe the issue

Facing this error when trying to test the mirror location on UTM trying to virtualize the ubuntu 24.04.1 live server for ARM (mirror location does not work)

Notes:
The host macOS has a stable internet connection.
The issue persists across multiple tries of building the and different mirror locations
Check out the window of the message

Ign:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease
Err:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
  Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable)
  Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)
  Could not connect to ports.ubuntu.com:80 (185.125.190.36), connection timed out
  Could not connect to ports.ubuntu.com:80 (185.125.190.39), connection timed out
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/noble/InRelease
  Cannot initiate the connection to ports.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable)

Another problem is that it is unable to connect to the snap store so it is unable to download Firefox and thunderbird, etc

Configuration

  • UTM Version: 4.6.3(106)

  • macOS Version: Sequoia 15.1.1

  • Mac Chip (Intel, M1, ...): M1

@Shvetang Shvetang changed the title Network Unreachable on Ubuntu VM Network Unreachable for ports.ubuntu.com in UTM Ubuntu VM Dec 13, 2024
@camilla37
Copy link

I had a very similar issue while trying to run Linux with QEMU backend and MacOS with Apple Virtualization backend at the same time. In fact, when I am running MacOS with Apple Virtualization, sometimes I cannot even start a VM with Linux with QEMU backend because it cannot create a virual network interface for the QEMU VM.

Can you try running your Ubuntu VM alone without any other VMs open to see if your error persists?

@Shvetang
Copy link
Author

This is actually the only VM I have at the moment
Also, this persists across different wifi connections all of which work perfectly well

@Shvetang Shvetang changed the title Network Unreachable for ports.ubuntu.com in UTM Ubuntu VM Network Unreachable for ports.ubuntu.com and cannot connect to snap store in UTM Ubuntu VM Dec 19, 2024
@osy
Copy link
Contributor

osy commented Dec 23, 2024

Hi, please provide config.plist and/or debug.log as indicated in the issue template when you filed the issue. We cannot triage without even the most basic info such as if this is virtualization or emulation and what architecture if it is emulation.

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

3 participants