error: cannot install "vlc": cannot query the store for updates: got unexpected HTTP status code
408 via POST to "https://api.snapcraft.io/v2/snaps/refresh"
Is it trying to authenticate? Should it be trying? Is my machine given a GUID and it authenticates with that? What is it doing?
$ sudo snap debug state /var/lib/snapd/state.json
ID Status Spawn Ready Label Summary
1 Done yesterday at 21:37 BST yesterday at 21:38 BST seed Initialize system state
2 Done yesterday at 21:38 BST yesterday at 21:40 BST install-snap Install "openra" snap
3 Done yesterday at 21:38 BST yesterday at 22:28 BST become-operational Initialise device
4 Done yesterday at 21:41 BST yesterday at 21:42 BST install-snap Install "anbox" snap from "edge" channel
5 Done yesterday at 21:44 BST yesterday at 21:44 BST install-snap Install "node" snap from "18/stable" channel
6 Done yesterday at 21:45 BST yesterday at 21:46 BST install-snap Install "code" snap
7 Doing yesterday at 22:28 BST 0000-12-31 become-operational Initialise device
$ snap debug timings 7
ID Status Doing Undoing Summary
133 Doing 4732059ms - Request device serial
^ 6153ms - get device serial
^ 705ms - prepare device serial request
^ 5447ms - submit device serial request
132 Done 550ms - Generate device key
$ snap tasks 7
Status Spawn Ready Summary
Done yesterday at 22:28 BST yesterday at 22:28 BST Generate device key
Doing yesterday at 22:28 BST - Request device serial
......................................................................
Request device serial
2022-05-23T20:41:03+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:42:10+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:43:18+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:44:26+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:45:33+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:46:42+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:47:49+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:48:58+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:50:05+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF
2022-05-23T20:51:12+01:00 ERROR cannot deliver device serial request: Post https://api.snapcraft.io/api/v1/snaps/auth/devices: EOF