Receiving [500] Internal Server Error while pushing a snap to store

Hi there.

I’ve built a snap and I’m trying to push it to the snapstore, however I’m receiving the following:

2023-10-17 06:33:44.078 Starting Snapcraft 7.5.3
2023-10-17 06:33:44.125 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'.
2023-10-17 06:33:44.149 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.5.3 ubuntu/22.04 (x86_64)'}
2023-10-17 06:33:44.354 Uploading... (--->)
2023-10-17 06:33:44.354 Uploading... (<---)
2023-10-17 06:33:44.354 HTTP 'POST' for 'https://storage.snapcraftcontent.com/unscanned-upload/' with params None and headers {'Content-Type': 'multipart/form-data; boundary=ae52f5d1d67f4c3a929d7226661888be', 'Accept': 'application/json', 'User-Agent': 'snapcraft/7.5.3 ubuntu/22.04 (x86_64)'}
2023-10-17 06:46:27.437 craft-store error: Issue encountered while processing your request: [500] Internal Server Error.
2023-10-17 06:46:27.437 Full execution log: '/home/user/.local/state/snapcraft/log/snapcraft-20231017-063344.078257.log'

Am I doing something wrong from my side or is it something regarding the store server?

does snapcraft whoami work correctly?

I think it’s fine, not an expert with snapcraft so not sure, but here it is:

email: <email>
username: <username>
id: <id>
permissions: package_access, package_manage, package_metrics, package_push, package_register, package_release, package_update
channels: no restrictions
expires: 2024-10-16T08:08:21.000Z

Hate to bump posts, but still stuck with this. Anyone have any ideas?

Check the log file

/home/user/.local/state/snapcraft/log/snapcraft-20231017-063344.078257.log

Here’s the latest:

2023-10-18 05:53:50.516 Starting Snapcraft 7.5.3
2023-10-18 05:53:50.516 Raw pre-parsed sysargs: args={'help': False, 'verbose': False, 'quiet': False, 'verbosity': 'trace', 'version': False, 'trace': False} filtered=['push', 'rollaworld_3.10.1_amd64.snap']
2023-10-18 05:53:50.516 General parsed sysargs: command='push' args=['rollaworld_3.10.1_amd64.snap']
2023-10-18 05:53:50.517 Command parsed sysargs: Namespace(channels=None, snap_file='rollaworld_3.10.1_amd64.snap')
2023-10-18 05:53:50.553 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'.
2023-10-18 05:53:50.569 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.5.3 ubuntu/22.04 (x86_64)'}
2023-10-18 05:53:50.748 Uploading... (--->)
2023-10-18 05:53:50.748 Uploading... (<---)
2023-10-18 05:53:50.748 HTTP 'POST' for 'https://storage.snapcraftcontent.com/unscanned-upload/' with params None and headers {'Content-Type': 'multipart/form-data; boundary=b7e11f1fcf354ad1a14bf1b1f77ddb83', 'Accept': 'application/json', 'User-Agent': 'snapcraft/7.5.3 ubuntu/22.04 (x86_64)'}
2023-10-18 06:05:46.264 craft-store error: Issue encountered while processing your request: [500] Internal Server Error.
2023-10-18 06:05:46.264 Full execution log: '/home/rollaubuntu/.local/state/snapcraft/log/snapcraft-20231018-055350.515961.log'

EDIT: Don’t know if it makes any difference, snap is pretty big (around 5-6 GB) since it’s a game.

Probably that’s the problem. It crosses the limit of snapcraft storage. Try with connecting your github repo with the website and build from there.

Doubt GitHub will help anything here, it would end up with the same bundled .snap file and hit the same /unscanned-upload route.

It would be nice if it showed some details next to this Internal Server Error (on what failed exactly), right now i’m in the fog about this error and can’t continue.

Is there any way to contact snapstore/snapcraft devs about this issue?