https://api.snapcraft.io/api/v1/snaps/sections returns 403 Forbidden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
See https:/
The snap-store desktop application does not display categories. It logs:
11:37:16:0179 Gs not GsPlugin error snapd-error-
11:37:16:0180 Gs not handling error failed for action get-categories: status-code=500 kind=(null) message=cannot retrieve sections: got unexpected HTTP status code 403 via GET to "https:/
11:37:16:0180 Gs failed to get categories: no categories to show
Checking the URL yields:
$ curl https:/
<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
## Expected result
The URL returns the sections/
description: | updated |
api.snapcraft.io sometimes rejects certain background requests when it's overloaded. /api/v1/ snaps/sections was erroneously included in that category, but I've just fixed that, so it shouldn't be a problem any more.