Returns "invalid credentials" error while trying to refresh an invalid macaroon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Medium
|
John Lenton |
Bug Description
Using snapd 2.31.1 on bionic, that installation seems to have an invalid store macaroon which leads snapd to fail to work. It would be useful to at least hint the user how to get out of this situation (snap logout/login?)
$ snap install gnome-chess
erreur : cannot perform the following tasks:
- Download snap "gnome-chess" (17) from channel "stable" (invalid credentials)
Corresponding debug snapd log (SNAPD_
snapd[7580]: 2018/03/08 12:27:08.540583 logger.go:76: DEBUG: < "HTTP/1.1 401 UNAUTHORIZED\
snapd[7580]: 2018/03/08 12:27:08.540761 retry.go:40: DEBUG: Retrying https:/
snapd[7580]: 2018/03/08 12:27:08.541289 logger.go:69: DEBUG: > "POST /api/v2/
snapd[7580]: 2018/03/08 12:27:08.723326 logger.go:76: DEBUG: < "HTTP/1.1 401 UNAUTHORIZED\
snapd[7580]: 2018/03/08 12:27:08.723531 retry.go:52: DEBUG: The retry loop for https:/
snapd[7580]: 2018/03/08 12:27:08.723827 task.go:303: DEBUG: 2018-03-
Changed in snapd (Ubuntu): | |
assignee: | nobody → John Lenton (chipaca) |
affects: | snapd (Ubuntu) → snapd |
Changed in snapd: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in snapd: | |
status: | Invalid → Triaged |
I cannot provoke any such error (by deliberately breaking my macaroon, or even removing it). Unclear how to reporduce, given that this bug is old it's quite possible the problem was fixed or was a temporary issue with the store. Closing on that basis.