Closed Bug 1579854 Opened 6 years ago Closed 6 years ago

Cannot upload Snaps anymore: invalid credentials

Categories

(Release Engineering Graveyard :: Release Automation: Snap, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlorenzo, Unassigned)

References

Details

I wanted to rotate Snap store's macaroons because they were about to expire[1]. Because of an architectural choice on the Snap store end, you have to revoke old macaroons before generating new ones. While I did manage to generate 2 out of 3, the third one is in a bugged state. I'm not sure what's happening. I filed [2]. While I was debugging the problem, I revoked the 2 newly generated ones and I get new ones anymore.

Thus, Snap uploads are broken until I'm able to get new macaroons out.

[1] bug 1491262 comment 11
[2] https://bugs.launchpad.net/snapstore/+bug/1843275

Daniel Manrique from Canonical gave me a way to debug what's happening: SNAPCRAFT_ENABLE_DEVELOPER_DEBUG=yes snapcraft export-login $your_parameters. I managed to get the response of the server which told me I didn't provide a parameter correctly. So, I managed to fix the root cause of the bug. I rotated the credentials and today's snap push is green[1].

In my opinion, the error message I got yesterday could be improved. I filed [2].

[1] https://tools.taskcluster.net/groups/N1pHNMpbREOauyDkOah2pw/tasks/PuXXrhoaQ_SwpQm0AjIYYA/details
[2] https://bugs.launchpad.net/snapcraft/+bug/1843404

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Blocks: 1588577
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.