multipass
multipass copied to clipboard
Remote "" is unknown or unreachable in windows
Describe the bug multipass launch get errors as follows:
[2022-05-04T20:04:02.964] [error] [workflow provider] Error fetching Blueprints: failed to download from 'https://codeload.github.com/canonical/multipass-workflows/zip/refs/heads/main': Error opening https://codeload.github.com/canonical/multipass-workflows/zip/refs/heads/main
launch failed: Remote "" is unknown or unreachable.
To Reproduce I install multipass 1.9.0, and then multipass launch
Expected behavior Why I cannot launch a instance? I can open url. Last three or four month ago, I use multipass(1.7.0), it's ok. My os is the same as before. Logs
Additional info
- OS: [Windows 10 1904
- Multipass: 1.9.0+win
-
multipass info --all
no output --VPN app is letsVPN, 3.2.5; this tool has no port to set?
Additional context no
Hi @hengaini2055! It seems Multipass cannot access the network, the VPN being the most probable cause. Can you please try to connect without using the VPN?
You may also want to take a look to this.
I look at https://multipass.run/docs/troubleshooting-networking-on-windows, the problem is still. I connect without using the VPN, the issue is the same. @luis4a0
Same happens for me under Ubuntu 22.04:
[2022-05-26T08:27:04.849] [error] [workflow provider] Error fetching Blueprints: failed to download from 'https://codeload.github.com/canonical/multipass-workflows/zip/refs/heads/main': Error opening https://codeload.github.com/canonical/multipass-workflows/zip/refs/heads/main
launch failed: Remote "" is unknown or unreachable.
Multipass 1.9.2 from the stable-channel does produce this error, Multipass 1.8.0 from the candidate-channel still works. Multipass 1.10 from the edge-channel also works.
Here is my log-file:
I've installed "snapcraft" and "multipass" after rebooting the system. One strange thing also happens frequently:
When i use "multipass" my network-connection gets broken. Multipass seems to break the DNS-configuration. Disconnecting and reconnecting my WIFI always helps.
Edit:
I've found the cause of my problem:
I've activated a LAN-connection in Netplan and it seems that multipass always tries this connection even if the cable is disconnected and another connection is available.
Hey @glasen,
So there is an issue in QtNetwork that was fixed and seems to have regressed somewhat recently when switching networks: https://bugreports.qt.io/browse/QTBUG-55180
I have met the same problem. On my macbook access is normal. On windows, it will report this error, they are connected to the same network, mutipass version is 1.9.1
Having same issue on Ubuntu 22.04. By running sudo journalctl --unit 'snap.multipass*'
Looking at the output below, it appears that Multipass is performing some check to see if there is an active network connection on the host. The odd thing is that I DO have a working network connection (through NetworkManager). I wonder if maybe it just has a different name. I don't know enough about the system (dbus?) being used to query the active connections so can't confirm what the network connections are known as on my system. Maybe Multipass has hardcoded a name of "1"?
I have confirmed that I can access all the URLs in the logs below via curl without issue.
Thanks, Nick
Oct 06 08:10:05 multipassd[946]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 06 08:13:31 multipassd[946]: Error getting https://codeload.github.com/canonical/multipass-blueprints/zip/refs/heads/main: Network access is disabled. - trying cache.
Oct 06 08:13:31 multipassd[946]: Cannot retrieve headers for https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz: Network access is disabled.
Oct 06 08:13:31 multipassd[946]: Could not update manifest: failed to download from 'https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz': Network access is disabled.
same issue met
I've just tried to launch a new instance and I'm seeing the same problem using multipass 1.11.0 on Linux Mint 21.1 with Cinnamon 5.6.8.
Multipass version
multipass --version
multipass 1.11.0
multipassd 1.11.0
Launch an instance
multipass launch
launch failed: Remote "" is unknown or unreachable.
Launch an instance with verbose output
multipass launch --verbose
[2023-05-04T13:24:11.738] [warning] [url downloader] Cannot retrieve headers for https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz: Network access is disabled.
[2023-05-04T13:24:11.738] [warning] [VMImageHost] Could not update manifest: failed to download from 'https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz': Network access is disabled.
[2023-05-04T13:24:11.738] [warning] [url downloader] Cannot retrieve headers for https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img: Network access is disabled.
[2023-05-04T13:24:11.739] [warning] [VMImageHost] Could not update manifest: failed to download from 'https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img': Network access is disabled.
launch failed: Remote "" is unknown or unreachable.
Use Curl to show that I get a successful response when requesting the URLs listed above
curl -I https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz
HTTP/1.1 200 OK
Date: Thu, 04 May 2023 12:27:45 GMT
Server: Apache/2.4.29 (Ubuntu)
Last-Modified: Tue, 18 Aug 2020 09:08:19 GMT
ETag: "100d1a00-5ad233a6966c0"
Accept-Ranges: bytes
Content-Length: 269294080
Content-Type: application/x-xz
curl -I https://cloud-images.ubuntu.com/buildd/releases/bionic/release/bionic-server-cloudimg-amd64-disk.img
HTTP/1.1 200 OK
Date: Thu, 04 May 2023 12:28:26 GMT
Server: Apache/2.4.29 (Ubuntu)
Last-Modified: Wed, 11 Nov 2020 12:44:46 GMT
ETag: "11620000-5b3d429022b80"
Accept-Ranges: bytes
Content-Length: 291635200