Recieving TLS handshake timeout when running snap refresh

Hi All. I need some help. I have a server running rocketchat no snap and I’m receiving the following error. It’s the same no matter what snap I try to refresh.

sudo snap refresh
error: cannot perform the following tasks:

My server is running Ubuntu 16.04.3 LTS. Thanks.

Have you tried passing that URL to curl? Does it timeout as well?

I get the following when passing the URL to curl.
Trying 91.189.88.178…

  • Connected to canonical-lcy01.cdn.snapcraft.io (91.189.88.178) port 443 (#0)
  • found 127 certificates in /etc/ssl/certs/ca-certificates.crt
  • found 508 certificates in /etc/ssl/certs
  • ALPN, offering http/1.1
    curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received
  • Operation timed out after 0 milliseconds with 0 out of 0 bytes received
  • Closing connection 0
    curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received

Looks like the problem is elsewhere. Are you behind a proxy?