← Back to issue list

Snapcraft 7.1.1 gives vague error when it can't process package

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1983826
Type
issue
State
open
Author
~koen-vervloesem
Labels
Created
Updated
Closed

Current evaluation

Snapcraft 7.1.1 returns a vague 'Service unavailable' error when snap upload processing fails, making it hard for users to diagnose the root cause. No maintainer response or labels; issue is 4 years old.

Suggested action: close stale

Reason: The issue is 1485 days old (~4 years) with zero comments, no labels, and no maintainer engagement. Snapcraft has since moved well past 7.1.1 (now at 8.x), and the store API endpoints referenced (dashboard.snapcraft.io/dev/api/snap-push/) have been restructured. The specific error message and upload flow described are tied to a version that is no longer supported, making the issue no longer actionable in its current form.

Impact: 35 Quick Win: 24.5 Staleness: 95 Complexity: 30 Confidence: 55 Support Request: 20

Issue body

Snapcraft 7.1.1 gives me a vague error about "Service unavailable. Please try again later" when uploading a snap package. I first thought the Snapcraft Store was down, as the message suggested it had something to do with the service, but I have been getting this error now for more than three days, and I just tried to upload a previous version of the package and this worked. Command used: ``` snapcraft upload --release=latest/candidate theengs-gateway_0.4.0_amd64.snap Issues while processing snap:g - Service unavailable. Please try again later (d510601fa56b4b2cbc13e60d768e2eca). Full execution log: '/home/koan/.cache/snapcraft/log/snapcraft-20220808-104616.994183.log' ``` Full execution log: ``` 2022-08-08 10:46:16.994 Starting Snapcraft 7.1.1 2022-08-08 10:46:17.078 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'. 2022-08-08 10:46:17.110 HTTP 'POST' for 'https://dashboard.snapcraft.io/dev/api/snap-push/' with params None and headers {'Accept': 'application/json', 'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/7.1.1 ubuntu/20.04 (x86_64)'} 2022-08-08 10:46:17.350 Uploading... (--->) 2022-08-08 10:46:17.351 Uploading... (<---) 2022-08-08 10:46:17.351 HTTP 'POST' for 'https://storage.snapcraftcontent.com/unscanned-upload/' with params None and headers {'Content-Type': 'multipart/form-data; boundary=61c11bd4790d4d61b455b2dc8e5a28e8', 'Accept': 'application/json', 'User-Agent': 'snapcraft/7.1.1 ubuntu/20.04 (x86_64)'} 2022-08-08 10:46:19.454 Uploading bytes for 'theengs-gateway_0.4.0_amd64.snap' ended, id 'f0e26408-392c-4e4f-830b-d1e24868a2a9' 2022-08-08 10:46:19.454 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'. 2022-08-08 10:46:19.514 HTTP 'POST' for 'https://dashboard.snapcraft.io/dev/api/snap-push/' with params None and headers {'Accept': 'application/json', 'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/7.1.1 ubuntu/20.04 (x86_64)'} 2022-08-08 10:46:19.662 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'. 2022-08-08 10:46:19.719 HTTP 'GET' for 'https://dashboard.snapcraft.io/dev/api/snaps/WDvYyYNnf1p9CYuMa9uGYCXB6ZqH1EZp/builds/f0e26408-392c-4e4f-830b-d1e24868a2a9/status' with params None and headers {'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/7.1.1 ubuntu/20.04 (x86_64)'} 2022-08-08 10:46:21.325 Status: processing 2022-08-08 10:46:22.326 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'. 2022-08-08 10:46:22.367 HTTP 'GET' for 'https://dashboard.snapcraft.io/dev/api/snaps/WDvYyYNnf1p9CYuMa9uGYCXB6ZqH1EZp/builds/f0e26408-392c-4e4f-830b-d1e24868a2a9/status' with params None and headers {'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/7.1.1 ubuntu/20.04 (x86_64)'} 2022-08-08 10:46:23.563 Status: processing 2022-08-08 10:46:24.565 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'. 2022-08-08 10:46:24.591 HTTP 'GET' for 'https://dashboard.snapcraft.io/dev/api/snaps/WDvYyYNnf1p9CYuMa9uGYCXB6ZqH1EZp/builds/f0e26408-392c-4e4f-830b-d1e24868a2a9/status' with params None and headers {'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/7.1.1 ubuntu/20.04 (x86_64)'} 2022-08-08 10:46:25.669 Status: error while processing 2022-08-08 10:46:25.670 Issues while processing snap: - Service unavailable. Please try again later (d510601fa56b4b2cbc13e60d768e2eca). 2022-08-08 10:46:25.670 Full execution log: '/home/koan/.cache/snapcraft/log/snapcraft-20220808-104616.994183.log' ``` I see the message that the snap is being uploaded, but then the processing fails. Snap-review says "pass" for both versions of the snap. I'd like to know what causes this, so a more concrete error message why this fails would help me. The snap is created from https://github.com/theengs/gateway-snap with `snapcraft --enable-manifest` (without `--enable-manifest` has the same behavior).

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 24.5
Staleness: 95
Complexity: 30
Confidence: 55
Support Request: 20
close stale Snapcraft 7.1.1 returns a vague 'Service unavailable' error when snap upload processing fails, making it hard for users to diagnose the root cause. No maintainer response or labels; issue is 4 years old.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 90
Support Request: 25
close stale Reports vague 'Service unavailable' error during snap upload in Snapcraft 7.1.1 and requests better error messaging. Unlabelled and inactive for over 4 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 20
close stale Report of vague upload error in Snapcraft 7.1.1 requesting better error messages. Unlabelled, zero maintainer comments, and inactive for over four years. Likely outdated given current Snapcraft versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale User reports a vague Service unavailable error during snap upload in version 7.1.1, requesting more concrete error messages. Issue has seen no maintainer interaction in nearly four years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 90
Support Request: 20
close stale Reports a vague Service unavailable error during snap upload processing in Snapcraft 7.1.1. Requests a more concrete error message. Unlabelled, no maintainer interaction, inactive for ~3.8 years.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2158702 Snapcraft API not answering snapcraft (launchpad) open User reports intermittent API failures from api.snapcraft.io causing build issues. No maintainer response after 67 days.
73%
#1981979 snapcraft 7.0.8+ stopped working on non debian systems snapcraft (launchpad) closed Closed without resolution or comments. The reported apt_pkg error blocking snapcraft 7.0.8+ builds on non-Debian systems remains unfixed and the issue appears abandoned.
72%
#2044389 snapcraft clean failed but exit 0 snapcraft (launchpad) open snapcraft clean returns exit code 0 despite reporting an error about missing instance. Reported for version 7.5.3, no maintainer response in 2.7 years.
72%
#2104274 Snapcraft has unclear behavior when providing same build-snap from different channels snapcraft (launchpad) open Bug report: snapcraft resolves build-snap from wrong channel (stable vs candidate). Untriaged, no maintainer response in 527 days.
72%
#1548225 Snapcraft/snappy should detect incompatible version mismatches snapcraft (launchpad) closed Abandoned. The report detailed Snapcraft failing to detect version mismatches, causing large snaps to install incorrectly. With zero comments and over a decade of dormancy, it received no resolution and was closed.
71%
#1684091 snapcraft gives a confusing message when you lack permissions to administer snap snapcraft (launchpad) open snapcraft status reports 'Snap X was not found in series 16' when the real cause is that the user lacks collaborator/admin permissions on the snap; reporter suggests a clearer message. No labels, no comments, no maintainer activity in ~9 years.
71%
#2099923 Snapcraft builds are failing: install of snap "snapcraft" failed snapcraft (launchpad) open Snapcraft builds failing due to outdated snapd (2.61) on build infrastructure unable to install core20 base. Issue is 556 days old with no maintainer response.
70%