[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2018-11-22 Thread Paweł Stołowski
** Changed in: snapd Status: Fix Committed => Fix Released -- 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/1724316 Title: "Sorry, something went wrong cannot

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-12-22 Thread Michael Vogt
The snapd side change got merged. ** Changed in: snapd Status: New => Fix Committed -- 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/1724316 Title: "Sorry, something

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-11-16 Thread Sebastien Bacher
** Changed in: gnome-software (Ubuntu) Status: Confirmed => In Progress -- 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/1724316 Title: "Sorry, something went wrong

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-23 Thread Sebastien Bacher
** Changed in: gnome-software (Ubuntu) Assignee: Robert Ancell (robert-ancell) => James Henstridge (jamesh) -- 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/1724316 Title:

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-20 Thread James Henstridge
Snapd side changes: https://github.com/snapcore/snapd/pull/4061 It looks like snapd-glib might need a change too, since it looks like this will still be mapped to SNAPD_ERROR_FAILED in parse_result() (I think falling back to treating 401 as SNAPD_AUTH_DATA_REQUIRED will do). -- You received

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-19 Thread Sebastien Bacher
** Tags added: snap ** Tags removed: snap ** Tags added: gs-snap ** Tags removed: gs-snap ** Tags added: gnome-software-snap -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu.

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-19 Thread James Henstridge
Yep. There is code to prevent refreshing the macaroon if the user has changed their password since it was created: http://bazaar.launchpad.net/~canonical-isd-hackers/canonical-identity- provider/trunk/view/head:/src/identityprovider/auth.py#L661 This should help in reproducing the bug. -- You

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-19 Thread James Henstridge
** Also affects: snapd Importance: Undecided Status: New -- 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/1724316 Title: "Sorry, something went wrong cannot

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-19 Thread James Henstridge
Discussion started here: https://forum.snapcraft.io/t/handling-invalid-credentials/2526 -- 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/1724316 Title: "Sorry, something

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-18 Thread James Henstridge
So further investigation, the "cannot authenticate to snap store: " part of the error is only added by snapd for an unexpected error: https://github.com/snapcore/snapd/blob/master/store/auth.go#L190-L204 I believe this is being called via the refreshDischarges() method, intended to keep the

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-18 Thread Sebastien Bacher
Robert, could you have a look? ** Changed in: gnome-software (Ubuntu) Assignee: (unassigned) => Robert Ancell (robert-ancell) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu.

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-18 Thread James Henstridge
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.

[Bug 1724316] Re: "Sorry, something went wrong cannot authenticate to snap store ..." without any way to fix

2017-10-18 Thread Sebastien Bacher
Thank you for your bug report. I've the same issue on my artful and I'm unsure there is any graphical UI to re-enter credential at the moment? ** Changed in: gnome-software (Ubuntu) Importance: Undecided => High ** Changed in: gnome-software (Ubuntu) Status: New => Confirmed -- You