RPI3-Ubuntu 20.10 无法联系 snap 商店

RPI3-Ubuntu 20.10 无法联系 snap 商店

我已经在我的RPi3-B (groovy-arm64)。它今天已完全升级。当我尝试刷新软件包(如 lxd)时,它返回:

ubuntu@ubuntu:~$ sudo snap refresh lxd
error: unable to contact snap store

网络连接良好,其他应用程序运行正常。但 snap和refresh任何软件包都不能!我没有使用任何代理。findinstall

snap known serial返回有效的device-key

的 ping 和 curlapi.snapcraft.io令人满意:

ubuntu@ubuntu:~$ ping api.snapcraft.io
PING api.snapcraft.io (91.189.92.38) 56(84) bytes of data.
64 bytes from api.snapcraft.io (91.189.92.38): icmp_seq=1 ttl=47 time=151 ms
64 bytes from api.snapcraft.io (91.189.92.38): icmp_seq=2 ttl=47 time=138 ms
64 bytes from api.snapcraft.io (91.189.92.38): icmp_seq=3 ttl=47 time=149 ms
64 bytes from api.snapcraft.io (91.189.92.38): icmp_seq=4 ttl=47 time=151 ms

ubuntu@ubuntu:~$ curl https://api.snapcraft.io/
snapcraft.io store API service - Copyright 2018-2019 Canonical.

以下是更多信息:

ubuntu@ubuntu:~$ snap debug connectivity
Connectivity status:
*api.snapcraft.io: unreachable
error: 1 servers unreachable

另一个输出:

ubuntu@ubuntu:~$ snap tasks 3
Status Spawn Ready Summary
Done today at 10:41 UTC today at 11:03 UTC Generate device key
Error today at 10:41 UTC today at 11:03 UTC Request device serial
Request device serial
2021-02-16T10:49:57Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2021-02-16T10:51:28Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2021-02-16T10:52:58Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021-02-16T10:54:28Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2021-02-16T10:55:59Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021-02-16T10:57:29Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2021-02-16T10:58:59Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021-02-16T11:00:29Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021-02-16T11:02:00Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2021-02-16T11:03:30Z ERROR cannot retrieve request-id for making a request for a serial: Post “https://api.snapcraft.io/api/v1/snaps/auth/request-id”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

snap 在我的笔记本电脑上运行良好(焦点-amd64)

有人知道问题出在哪里吗?

谢谢你们

更新:

几天后,它现在可以工作了;真奇怪!

ubuntu@ubuntu:~$ sudo snap refresh
All snaps up to date.

答案1

可能是当时 snap 服务已关闭。检查状态https://status.snapcraft.io/

相关内容