Unexpectedly empty response from the server

I am trying to use snapcraft and get a similar error related to core20:

error: cannot refresh "core20": unexpectedly empty response from the server
       (try again later)
Error while refreshing snap 'core20' to channel 'latest/stable'
1 Like

Same issue here! Unable to build a snap.

I am still getting error: cannot refresh "core20": unexpectedly empty response from the server (try again later) very frequently. I can install core20 on the host manually without issues.

Since snapcraft is just launching the old VM (and not creating a new one), I actually do not understand why it has to download core20 again? Is core20 not available anymore? Can someone please explain what is going on here? Is all of snapcraft broken now and no one can build new snaps?

1 Like

I made a thread for this:

Looks like the answer is to just wait? This is frustrating because it is impacting my entire dev team. Is there an ETA on when the store will be running back to normal again?

There’s a client side fix upcoming, currently on Snapcraft on edge, making its way to stable in a couple of hours

Thanks for addressing this issue. I hope this will also prevent these kinds of issues for future base packages (i.e. core22, core24).

It should, that has been accounted for. There will also be a snapd/snap store feature added to allow for manual refreshes.

Hate to resurface this, but I’m running into this on 20.04.06 on AWS:

Mar 18 12:14:44 ip-10-0-1-74 snapd[210387]: storehelpers.go:769: cannot refresh: snap has no updates available: "amazon-ssm-agent", "core18", "core20", "lxd", "snapd"

Are you sure? I don’t see “unexpectedly empty response” on your log message. Pretty sure this is something else - are you sure there aren’t simply no updates for those snaps?

My apologies @roadmr - I pasted this into the wrong tab. You are correct - it is a different issue.