You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run go on multipass myvm on different vlan/network
go mod init test
go get
sudo go run main.go
From client machine on another vlan/network
Curl to multipass mvm, IMPORTANT to multipass ip address, on the network(--network=en0), from "another" machine:
curl <ip>/file.txt
In my case: `curl 192.170.1.231/file`
7AVzmECVWNbcShP+TE+/6AM/KZWc12AzLKvtctv0pqeSW0SNDW3OSM82SkzF+/UExUUBH4dxlIcM
dObLOlLgz9WfoiEtvZ4Hbx/yq85C+WwnFr2Trhu75qmFrg8Ht8t/x+MyDfI0MyuGw91tKqFgHL4F
Now it hangs, what to do?
If you run this on the multipass host computer(same ip address) it works, just not from multipass vm - again between networks.
Note: multipass list:
Name State IPv4 Image
mvm Running 192.168.64.132 Ubuntu 20.04 LTS
192.170.1.231
If I use Wireshark I can see something standing out right about where it hangs:
JCzz
changed the title
--network not working from another computer(curl hangs halfway through)
--network works... almost - curl hangs halfway through from another computer
Sep 15, 2022
JCzz
changed the title
--network works... almost - curl hangs halfway through from another computer
--network - curl hangs halfway through from another computer - TCP Previous segment not captured
Sep 16, 2022
JCzz
changed the title
--network - curl hangs halfway through from another computer - TCP Previous segment not captured
--network - curl hangs halfway through - TCP Previous segment not captured
Feb 24, 2023
JCzz
changed the title
--network - curl hangs halfway through - TCP Previous segment not captured
TCP Previous segment not captured
Feb 24, 2023
ENV
I am using two Mac computers, both MacOS M1 client and server.
curl hangs half way through a large file(small file no problem) , if the server is running in multipass on different vlan/network(See step 7. )
curl <--> network <--> host computer <--> multipass vm
Steps
You need to install go on the computer on the different vlan/network and do the following:
Note: Using one zero less
base64 /dev/urandom | head -c 10000 > file.txt
then there is no problem.main.go
in the same folder(you could also just do "python3 -m http.server"):From client machine on another vlan/network
Now it hangs, what to do?
If you run this on the multipass host computer(same ip address) it works, just not from multipass vm - again between networks.
Note:
multipass list:
If I use Wireshark I can see something standing out right about where it hangs:
I have added this issue to:
Hyperkit: moby/hyperkit#338
Qemu: https://gitlab.com/qemu-project/qemu/-/issues/1584
stackoverflow.com: https://stackoverflow.com/questions/73753103/multipass-tcp-previous-segment-not-captured
Thanks
The text was updated successfully, but these errors were encountered: