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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1724316

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to