← Back to issue list

Snapcraft upload shows 500 Internal Server Error

View original Github issue

Metadata

Project
snapcraft
Number
#4866
Type
issue
State
closed
Author
yesseruser
Labels
Created
Updated
Closed

Current evaluation

Resolved due to Snap Store outage. User confirmed upload succeeded after services were restored. Issue closed.

Suggested action:

No scores available.

Issue body

### Bug Description Running `snapcraft upload --release=edge ./pong-by-yesser-studios_1.2.0_amd64.snap` shows this: ``` craft-store error: Issue encountered while processing your request: [500] Internal Server Error. Full execution log: '/home/yesseruser/.local/state/snapcraft/log/snapcraft-20240620-164856.188427.log' ``` It doesn't specify why it raised an internal server error, it just does. ### To Reproduce 1. Download `snapcraft` branch of https://github.com/Yesser-Studios/Pong/tree/snapcraft. 2. Run `snapcraft` in project root 3. Run `snapcraft upload --release=edge ./pong-by-yesser-studios_1.2.0_amd64.snap` 4. Observe the issue ### Environment Here's `screenfetch` output: OS: Ubuntu 24.04 noble Kernel: x86_64 Linux 6.8.0-35-generic Uptime: 9h 48m Packages: 2392 Shell: pwsh 7.4.3 (note: this also doesn't work with bash) Resolution: 2048x1152 DE: GNOME 46.0.1 WM: Mutter WM Theme: Adwaita GTK Theme: Yaru-olive-dark [GTK2/3] Icon Theme: Yaru-olive Font: Ubuntu Sans 11 Disk: 43G / 234G (19%) CPU: Intel Core i5-5300U @ 4x 2.9GHz [72.0°C] GPU: Mesa Intel(R) HD Graphics 5500 (BDW GT2) RAM: 4197MiB / 7819MiB ### snapcraft.yaml ```shell name: pong-by-yesser-studios version: '1.2.0' # ^ this will be changed by the GitHub action. grade: devel # ^ this will also be changed by the GitHub action. summary: A Pong clone by Yesser Studios description: | This Pong clone has everything you would expect from a Pong clone - two pads and a ball. Play it with a keyboard or a gamepad with a friend. base: core22 confinement: classic # ^ this will also be changed by the GitHub action. parts: pong-by-yesser-studios: plugin: dotnet dotnet-build-configuration: Release dotnet-self-contained-runtime-identifier: linux-x64 source: . build-packages: - dotnet-sdk-8.0 stage-packages: - libicu70 override-build: | cd Pong.Desktop dotnet restore dotnet publish -p:Platform=Linux -c Release -o $SNAPCRAFT_PART_INSTALL --self-contained --use-current-runtime apps: pong-by-yesser-studios: command: Pong.Desktop ``` ### Relevant log output ```shell 2024-06-20 16:48:56.189 Starting snapcraft, version 8.2.11 2024-06-20 16:48:56.189 Log verbosity level set to BRIEF 2024-06-20 16:48:56.189 Falling back from craft-application to snapcraft. 2024-06-20 16:48:56.265 Components provided by the user: set() 2024-06-20 16:48:56.266 No components found in snap metadata. 2024-06-20 16:48:56.266 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'. 2024-06-20 16:48:56.292 HTTP 'POST' for 'https://dashboard.snapcraft.io/dev/api/snap-push/' with params None and headers {'Accept': 'application/json', 'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/8.2.11 ubuntu/24.04 (x86_64)'} 2024-06-20 16:48:56.472 Beginning to upload a file 'pong-by-yesser-studios_1.2.0_amd64.snap' with size of 40005632 bytes 2024-06-20 16:48:56.474 Uploading... (--->) 2024-06-20 16:48:56.474 Uploading... (<---) 2024-06-20 16:48:56.475 HTTP 'POST' for 'https://storage.snapcraftcontent.com/unscanned-upload/' with params None and headers {'Content-Type': 'multipart/form-data; boundary=39d10d2d27084e1e9e4868d7a3bf31d6', 'Accept': 'application/json', 'User-Agent': 'snapcraft/8.2.11 ubuntu/24.04 (x86_64)'} 2024-06-20 16:49:07.421 craft-store error: Issue encountered while processing your request: [500] Internal Server Error. 2024-06-20 16:49:07.421 Full execution log: '/home/yesseruser/.local/state/snapcraft/log/snapcraft-20240620-164856.188427.log' ``` ### Additional context The packaged snap has 40 MB. I don't know the limit, so this might be the case.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Resolved due to Snap Store outage. User confirmed upload succeeded after services were restored. Issue closed.
qwen/qwen3.6-35b-a3b Closed as a transient Snap Store outage. The server recovered, and the user confirmed successful uploads afterward.
qwen/qwen3.6-35b-a3b A 500 Internal Server Error during snap uploads was caused by a Snap Store outage. The issue was resolved after the service was restored, and the user confirmed successful uploads.
qwen3.6-35b-a3b-mtp-q6 Resolved due to a temporary snap store outage. The service was restored, and the user confirmed uploads now succeed. Closed as fixed.
qwen3.6-35b-a3b-mtp-q6 Snapcraft upload failed with a 500 Internal Server Error due to a temporary Snap Store outage. The error resolved after the store service was restored, and the user confirmed successful upload.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4525 Error Installing build-snaps snapcraft closed Closed as resolved externally. The user encountered 500 server errors fetching build-snaps in snapcraft. The issue was resolved via forum troubleshooting rather than a code fix.
72%