Connections reset when downloading snaps from CDN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Undecided
|
Unassigned | ||
Software Center Agent |
Fix Released
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
From a VM running on a hosted server at 195.154.102.74:
(amd64)
Installing docker/edge
Starting download of docker
1.83 MB / 53.13 MB [>_____
Done
docker/edge failed to install: read tcp 77.242.195.170:443: connection reset by peer
(amd64)
Installing docker/edge
Starting download of docker
3.56 MB / 53.13 MB [=>____
Done
docker/edge failed to install: read tcp 77.242.195.167:443: connection reset by peer
(amd64)
Installing docker/edge
Starting download of docker
10.73 MB / 53.13 MB [======
Done
docker/edge failed to install: read tcp 77.242.195.174:443: connection reset by peer
Installing a smaller snap works:
(amd64)
Installing hello-world
Starting download of hello-world
21.60 KB / 21.60 KB [======
Done
Starting download of icon for package
33.77 KB / 33.77 KB [======
Done
Name Date Version Developer
ubuntu-core 2016-08-11 17 ubuntu
hello-world 2016-08-28 1.0.18 canonical
webdm 2016-01-20 0.11 canonical
generic-amd64 2016-01-20 1.4 canonical
This is with snappy 15.04; vm was imported with:
virt-install --name 15.04-docker --ram 512 --vcpus 1 --disk path=$PWD/
Oddly, if I run the same VM manually, it works:
sudo kvm -m 512 -redir :4200::4200 -redir :8090::80 -redir :8022::22 -nographic ubuntu-
So I guess it's a weird double-NAT issue of some kind? It seems like it could affect other people, so in doubt I'm filing this even if I have a workaround.
Cheers,
- Loïc Minier
Trying again some minutes later, this is now working; I dont know how worrying this, please close if you think this is not worth investigating further. :-)
Just to make sure this wasn't caused by excessive network traffic / load, I've run this: cloud-images. ubuntu. com/xenial/ current/ xenial- server- cloudimg- amd64-disk1. img > foo
curl.curl http://
successfully in the virsh vm at ~5.4 MB/s.
Cheers,
- Loïc