"core20": unexpectedly empty response from the server

Hi,

I am trying to create SNAP package and getting below error today

error: cannot refresh “core20”: unexpectedly empty response from the server (try again later) Error while refreshing snap ‘core20’ to channel ‘latest/stable’ Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

Do i need to do anything here or just wait?

just wait, the core{18|20} snaps are in throttled update mode, so the metadata info is updated but the actual package is only available to a few lucky people … just try again later (like the snapd message says)

1 Like

I got “lucky” by running snapcraft clean and then rebuilding the snap. I’m sure it was just luck though. :slight_smile:

I’m also getting this:

snapcraft --debug
Launching a VM.
snap "snapd" has no updates available                                           
snapd is not logged in, snap install commands will use sudo
error: cannot refresh "core20": unexpectedly empty response from the server (try again later)
Error while refreshing snap 'core20' to channel 'latest/stable'

and as expected snapcraft clean didn’t fix it for me. :slight_smile:

UPDATE: working now.

1 Like

This is now fixed client side in 6.0.1 which is currently on edge and making its way to stable in a couple of hours