Outage of Snap refresh, search, downloads

We are experiencing degraded response times for API endpoints that handle snap find/install/refresh.

There is a network outage impacting all store services.

You may view status of all Store services here.

1 Like

During the above outage, I saw the following which looks a bit strange (the script is basically a wrapper around snap refresh which also temporarily changes the proxy settings, thus ensuring that a refresh can only happen at a specified point in time):

[2022-11-08T19:51:14+0100] root@odroid02:~# /usr/local/sbin/update_snaps
error: cannot perform the following tasks:
- Download snap "core20" (1699) from channel "latest/stable" (received an unexpected http response code (503) when trying to download https://api.snapcraft.io/api/v1/snaps/download/DLqre5XGLbDqg9jPtiAhRRjDuPVa5X1q_1699.snap)
[2022-11-08T20:04:44+0100] root@odroid02:~# /usr/local/sbin/update_snaps
error: cannot refresh: cannot query the store for updates: got unexpected HTTP status code 503 via
       POST to "https://api.snapcraft.io/v2/snaps/refresh"
[2022-11-08T20:05:56+0100] root@odroid02:~# /usr/local/sbin/update_snaps
error: unable to contact snap store
[2022-11-08T20:10:41+0100] root@odroid02:~# /usr/local/sbin/update_snaps
All snaps up to date.
-----
[2022-11-09T09:06:01+0100] root@odroid02:~# /usr/local/sbin/update_snaps
All snaps up to date.
[2022-11-09T09:06:22+0100] root@odroid02:~# snap list core20
Name    Version   Rev   Tracking       Publisher   Notes
core20  20220919  1638  latest/stable  canonicalâś“  base
[2022-11-09T09:06:23+0100] root@odroid02:~# uname -a
Linux odroid02 5.15.55-custom #1 SMP PREEMPT Tue Aug 2 17:41:48 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Where did the above revision 1699 of snap “core20” come from, and why isn’t it available any more?

Kind regards

there are server side issues it seems, see:

https://status.snapcraft.io/

there are server side issues it seems

Looks like I managed to retry at the wrong times; in the meantime, the host in question received the update. :upside_down_face:

Consider to allow users to host snap files somewhere else? Maybe with the same checksum as the ones on the official store?

That is possible since day one …

the files you receive through snap download can live anywhere as long as users use snap ack /path/to/signature.assertion prior to snap install /path/to/package.snap it does not matter at all where on the web these files came from.

1 Like