I have yet to test this in a real case but this change should fix this issue:
commit 4014cc5f0c904ea154221fa95a4e12ae90bc811f (HEAD -> master, origin/master, origin/HEAD) Author: Robert Ancell <robert.anc...@canonical.com> Date: Wed Oct 25 16:52:36 2017 +1300 Connect to snapd on demand. This is required since snapd can restart during an async request (e.g. install). We need to reconnect to check the install completed. This means snapd_client_connect() now does nothing. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1723874 Title: First installation of a snap reports an error "Connection reset by peer" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs