First installation of a snap reports an error "Connection reset by peer"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd-glib (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Artful |
Won't Fix
|
High
|
Unassigned |
Bug Description
Test Case
1. On a freshly installed system when snapd has never been used or initialized before (ie core is not installed) open gnome-software
2. Select a snap
3. Install it
4. Wait until it is installed
Actual result
At some point gnome-software reports an error "Installation failed: connection reset by peer"
It was actually installing core, restarted snapd, then the package. But gnome-software reports the error when snapd is restarted, loses the connection to the daemon and does not track the progress of the installation of the snap package
Expected result
It reports the installation of core then the installation of the snap package, or report everything in a single transaction but in any case does not report an error since everything is going as expected.
Attached the changes that are occurring when the first snap is installed on a fresh system
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-software 3.26.1-0ubuntu1
ProcVersionSign
Uname: Linux 4.13.0-15-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 16 09:26:38 2017
InstallationDate: Installed on 2013-09-03 (1503 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
InstalledPlugins:
gnome-
gnome-
gnome-
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in gnome-software (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in gnome-software (Ubuntu): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in snapd-glib (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Robert Ancell (robert-ancell) |
status: | Triaged → In Progress |
tags: | added: gs-snap |
tags: |
added: gnome-software-snap removed: gs-snap |
Changed in snapd-glib (Ubuntu Artful): | |
assignee: | Robert Ancell (robert-ancell) → nobody |
@jibel - can you check if this also occurs on older releases? The restarting code seems to have been there for a while, any idea if this is a new issue or has always been there?