在安装TiDB5.4的时候遇到了错误,如下

Attention:
1. If the topology is not what you expected, check your yaml file.
2. Please confirm there is no port/directory conflicts in same host.
Do you want to continue? [y/N]: (default=N) y

  • Generate SSH keys … Done
  • Download TiDB components
    • Download pd:v5.4.1 (linux/amd64) … Done
    • Download tikv:v5.4.1 (linux/amd64) … Done
    • Download tidb:v5.4.1 (linux/amd64) … Done
    • Download prometheus:v5.4.1 (linux/amd64) … Done
    • Download grafana:v5.4.1 (linux/amd64) … Done
    • Download alertmanager: (linux/amd64) … Error
    • Download node_exporter: (linux/amd64) … Error
    • Download blackbox_exporter: (linux/amd64) … Done

Error: fetch /timestamp.json from mirror(https://tiup-mirrors.pingcap.com) failed: download from https://tiup-mirrors.pingcap.com/timestamp.json failed: Get “https://tiup-mirrors.pingcap.com/timestamp.json”: dial tcp: lookup tiup-mirrors.pingcap.com on 1.1.1.1:53: read udp 我的服务器pdip:59098->1.1.1.1:53: i/o timeout

Verbose debug logs has been written to /root/.tiup/logs/tiup-cluster-debug-2022-05-27-18-30-55.log.
看着像是链接:https://tiup-mirrors.pingcap.com/timestamp.json 超时,请问我该怎么解决这个问题?:cn:

你的网络有什么限制吗?

1 个赞

您好,我这里没有做网络限制,全部都放行的

已经解决了,我切换到了其他目录中,执行了这个命令
curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh

参考这个教程:TiUP无法使用,提示timestamp.json has expired

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。