部署后需要开启外网访问权限才可正常使用tiup命令

报错信息
在关闭外网后运行tiup 命令都会卡住至超时
[tidb@msyd-db16 conf]$ tiup cluster display tidb-dbcenter
Failed to start component clusterError: 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 111.206.76.41:443: connect: connection timed out

版本信息
(下面命令式在开启外网访问权限后运行)
[tidb@msyd-db196 conf]$ tiup cluster display tidb-dbcenter
Found cluster newer version:

The latest version:         v1.1.1
Local installed version:    v1.0.8
Update current component:   tiup update cluster
Update all components:      tiup update --all

Starting component cluster: /home/tidb/.tiup/components/cluster/v1.0.8/tiup-cluster display tidb-dbcenter
TiDB Cluster: tidb-dbcenter
TiDB Version: v4.0.4

Update current component: tiup update cluster
Update all components: tiup update --all
先升级下版本。

tiup cluster list 看下。

从屏幕打印的信息来看, tiup mirror set <mirror-dir> 貌似没有被正确执行。
https://docs.pingcap.com/zh/tidb/stable/production-offline-deployment-using-tiup
根据文档操作下,正确构建自己的里县环境。tiup 在线环境目前无法在无互联网连接的情况下使用


已升级完成,但是依然卡住了
是否和我需要打本地镜像有关,我好像没有进行该操作

是的,需要打离线镜像包,