The "Provided email/password is not correct." part of the error message
appears to be coming through straight from the store.  This most likely
means you logged in to gnome-software using Ubuntu One credentials at
some point in the past, and the credentials snapd has stored are no
longer valid.

It might be possible to reproduce this by logging in in gnome-software
(currently possible by cancelling the polkit dialog), stopping snapd,
editing /var/lib/snapd/state.json to tamper with the store-macaroon
value and starting snapd again.  I'll need to verify if this happens.

The "Sorry, something went wrong" comes from gnome-software itself, and
indicates that the error could not be classified as one of the
GS_PLUGIN_ERROR_* error codes.  The code in gnome-software's snap plugin
specifically checks for various authentication related error conditions
(SNAPD_ERROR_AUTH_DATA_REQUIRED and SNAPD_ERROR_AUTH_DATA_REQUIRED in
particular), but that clearly isn't being hit.

So I think there are two possibilities here:

 1. libsnapd-glib isn't returning the correct error type for this case
 2. snapd isn't providing enough info to libsnapd-glib to decode the error

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1724316

Title:
  "Sorry, something went wrong cannot authenticate to snap store ..."
  without any way to fix

Status in gnome-software package in Ubuntu:
  Confirmed

Bug description:
  When I open this application, I see a message near the top that says
  "Sorry, something went wrong cannot authenticate to snap store:
  Provided email/password is not correct."

  I can close this message dialog, but there appears to be no way to
  remedy the problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: ubuntu-software 3.26.1-0ubuntu2
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Oct 17 13:08:16 2017
  EcryptfsInUse: Yes
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap    3.26.1-0ubuntu2
  PackageArchitecture: all
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to artful on 2017-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1724316/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to