Snapcraft internal error: StoreServerError('Issue encountered while processing your request: [500] Internal Server Error.')

Hello,

Like 1 month ago I could publish (like for the last 5 years). Now, I get this error:

2024-07-02 18:40:15.868 Starting snapcraft, version 8.2.12
2024-07-02 18:40:15.868 Log verbosity level set to BRIEF
2024-07-02 18:40:15.868 Configuring application...
2024-07-02 18:40:15.868 Preparing application...
2024-07-02 18:40:15.869 Build plan: platform=None, build_for=None
2024-07-02 18:40:15.869 Running snapcraft upload on host
2024-07-02 18:40:15.917 Components provided by the user: set()
2024-07-02 18:40:15.917 No components found in snap metadata.
2024-07-02 18:40:15.917 Retrieving credentials for 'snapcraft' on 'dashboard.snapcraft.io' from keyring 'SecretService Keyring'.
2024-07-02 18:40:15.931 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.12 linuxmint/21.3 (x86_64)'}
2024-07-02 18:40:16.091 Beginning to upload a file 'dist/p3x-onenote_2024.10.106_amd64.snap' with size of 100507648 bytes
2024-07-02 18:40:16.091 Uploading... (--->)
2024-07-02 18:40:16.091 Uploading... (<---)
2024-07-02 18:40:16.091 HTTP 'POST' for 'https://storage.snapcraftcontent.com/unscanned-upload/' with params None and headers {'Content-Type': 'multipart/form-data; boundary=d377cb9c68e740a2831faa8982d144a1', 'Accept': 'application/json', 'User-Agent': 'snapcraft/8.2.12 linuxmint/21.3 (x86_64)'}
2024-07-02 18:40:25.304 snapcraft internal error: StoreServerError('Issue encountered while processing your request: [500] Internal Server Error.')
2024-07-02 18:40:25.305 Traceback (most recent call last):
2024-07-02 18:40:25.305   File "/snap/snapcraft/12024/lib/python3.10/site-packages/craft_application/application.py", line 528, in run
2024-07-02 18:40:25.305     return_code = dispatcher.run() or 0
2024-07-02 18:40:25.305   File "/snap/snapcraft/12024/lib/python3.10/site-packages/craft_cli/dispatcher.py", line 487, in run
2024-07-02 18:40:25.305     return self._loaded_command.run(self._parsed_command_args)
2024-07-02 18:40:25.305   File "/snap/snapcraft/12024/lib/python3.10/site-packages/snapcraft/commands/upload.py", line 129, in run
2024-07-02 18:40:25.305     snap_upload_id = client.store_client.upload_file(
2024-07-02 18:40:25.305   File "/snap/snapcraft/12024/lib/python3.10/site-packages/craft_store/base_client.py", line 258, in upload_file
2024-07-02 18:40:25.305     response = self.http_client.request(
2024-07-02 18:40:25.305   File "/snap/snapcraft/12024/lib/python3.10/site-packages/craft_store/http_client.py", line 166, in request
2024-07-02 18:40:25.305     raise errors.StoreServerError(response)
2024-07-02 18:40:25.305 craft_store.errors.StoreServerError: Issue encountered while processing your request: [500] Internal Server Error.
2024-07-02 18:40:25.305 Full execution log: '/home/patrikx3/.local/state/snapcraft/log/snapcraft-20240702-184015.867879.log'

How can I find out what the error is?

1 Like

Is it possible to use in debug level of verbosity?

I’m was also getting this but when I added ‘-v’ my ‘upload’ worked, so it seems like this was just a temporal thing. :slight_smile:

ok, now it is working.

1 Like

Glad it’s working now. There were some server issues yesterday that likely caused this.

https://status.snapcraft.io/ and https://status.canonical.com/ can be informative in these situations.