Download returns 404 when user auth is expired

Bug #1710640 reported by Matias Bordese
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snap Store Server
Fix Released
Undecided
Matias Bordese

Bug Description

Macaroon user authentication hard-expires after 1 year, and downloads are not allowed when the ACL checks are verified. However the client gets a confusing 404 response if that is the case:

$ snap refresh --candidate core
error: cannot perform the following tasks:
- Download snap "core" (2601) from channel "candidate" (received an unexpected http response code (404) when trying to download https://api.snapcraft.io/api/v1/snaps/download/99T7MUlRhtI3U0QFgl5mXXESAiSwt776_2601.snap)

User must re-login to refresh authentication and re-enable downloads.

Bret Barker (noise)
Changed in snapstore:
assignee: nobody → Matias Bordese (matiasb)
Matias Bordese (matiasb)
Changed in snapstore:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.