[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-11-07 Thread Jonas G. Drange
The cause of this bug is that we don't really acknowledge that tokens expire. So it's a bug in the plugin, not the server. A proposed fix is to keep tokens and their associated expiry date so that the plugin can know what tokens has expired and recreate them if necessary. We could then reduce the

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-11-04 Thread Pat McGowan
** Changed in: canonical-devices-system-image Milestone: 14 => x1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620828 Title: unable to update apps (HttpError:401 - UNAUTHORIZED) To manage

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-10-31 Thread Pat McGowan
@rodney the apps in question were uNav, SensorStatus and Recorder for example. None are paid, so I am agreeing it does not have to do with paid vs free. Hence I de-duped it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-10-31 Thread Rodney Dawes
@Pat the only reason it would matter if the app is paid now, is if the account being used on the phone has changed to one that didn't install it when it was free. If the app was installed by the account when it was free, it's still "purchased" as far as the server is concerned, and should be

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-10-27 Thread dinamic
same here arale/rc-proposed (failed to update music app) yesterday -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620828 Title: unable to update apps (HttpError:401 - UNAUTHORIZED) To manage

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-10-26 Thread Pat McGowan
I recently experienced this, my account was not invalidated yet certain updates that had previously failed would not retry, and failed with unauthorized. I modified the updatestore.db to remove the rows for the failed entries, and the updates worked. So effectively somehow a failed update logged

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-10-26 Thread Pat McGowan
The db that caused the retry failures ** Attachment added: "fail.db" https://bugs.launchpad.net/canonical-devices-system-image/+bug/1620828/+attachment/4767906/+files/fail.db ** Tags added: regression-release ** Changed in: canonical-devices-system-image Milestone: backlog => 14 --

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-08 Thread taiebot65
*** This bug is a duplicate of bug 1516917 *** https://bugs.launchpad.net/bugs/1516917 OK certainly a duplicate of 1516917 riddling was free a long time ago. So I installed it. When it got updated it must have faulted. However the problem is the Ubuntu one account it gets removed so all apps

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-08 Thread Pat McGowan
Riddling is also an app that was originally free then converted to a paid app, in case it matters. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620828 Title: unable to update apps (HttpError:401

Re: [Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-08 Thread Jonas G. Drange
On 8 September 2016 at 00:45, taiebot65 wrote: > after deleting the riddling app from the Ubuntu store everything is fine > now. > it makes sense problem started appearing on my phone when i was notified > of an update for the riddling app 04/09/2016. ​That's a clue, though.

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread taiebot65
after deleting the riddling app from the Ubuntu store everything is fine now. it makes sense problem started appearing on my phone when i was notified of an update for the riddling app 04/09/2016. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread taiebot65
it must be due to the riddling app. I cannot find it on my phone. While the Ubuntu store scope shows it is installed and the software updater wants to update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread Jonas G. Drange
Are you able to produce a procedure I can follow to reproduce this? I am unable using the description as it stands now. Thank you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620828 Title:

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread taiebot65
I found a way to update is via the website of ubuntu one and delete my account from there. But again i am still getting logged out quite often. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620828

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread taiebot65
i attached the file. I also keep getting logged out of my ubuntu one account when i update. ** Attachment added: "log file" https://bugs.launchpad.net/canonical-devices-system-image/+bug/1620828/+attachment/4736427/+files/application-legacy-ubuntu-system-settings-.log -- You received this

Re: [Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread Jonas G. Drange
On 7 September 2016 at 21:32, taiebot65 wrote: > Is there any work around i could do at the moment? ​You could try deleting .local/share/ubuntu-system-settings/updatestore.db Also, could you attach ​the file

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread taiebot65
Is there any work around i could do at the moment? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620828 Title: unable to update apps (HttpError:401 - UNAUTHORIZED) To manage notifications about

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread Jonas G. Drange
** Changed in: ubuntu-system-settings (Ubuntu) Status: New => Confirmed ** Changed in: canonical-devices-system-image Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1620828] Re: unable to update apps (HttpError:401 - UNAUTHORIZED)

2016-09-07 Thread Jonas G. Drange
@dedreuil, thanks for reporting this! We shouldn't really invalidate credentials unconditionally on 40[1,2,3] (?), but if we do we also need to remove any tokens in the database. ** Also affects: ubuntu-system-settings (Ubuntu) Importance: Undecided Status: New ** Changed in: