TiDB 4.0.8 Cluster Using tiup cluster display tidb-test Prompts No Network Connection

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: Tidb4.0.8集群使用tiup cluster display tidb-test 提示无网络连接

| username: Mike666666

[TiDB Usage Environment] Production Environment
[TiDB Version] V4.0.8
[Reproduction Path] Execute
[tidb@tidb-manage ~]$ tiup cluster display tidb-test
Failed to start component cluster
Error: fetch /3.root.json from mirror(https://tiup-mirrors.pingcap.com) failed: download from https://tiup-mirrors.pingcap.com/3.root.json failed: Get “https://tiup-mirrors.pingcap.com/3.root.json”: dial tcp: lookup tiup-mirrors.pingcap.com on 8.8.8.8:53: read udp 10.11.2.108:39207->8.8.8.8:53: i/o timeout

[Encountered Problem: Problem Phenomenon and Impact]
Previously, the server could access the tiup-mirrors.pingcap.com domain, but due to network security issues, it currently cannot be accessed. What should I do now to execute tiup cluster display tidb-test?

[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: WalterWj | Original post link

Check the official website for offline installation. This thing is just a source. Use the offline installation method and change it to a local offline source.

| username: 我是咖啡哥 | Original post link

Try specifying the version of tiup?

~$ tiup -v
1.11.0 tiup
Go Version: go1.19
Git Ref: v1.11.0
GitHash: 1a4714d7146fa85240a1ff4ef7451df719e0b4f0
~$ tiup cluster:v1.11.1 display tidb-test
| username: Mike666666 | Original post link

Hello, it doesn’t seem to be of much use. Since the server is prohibited from accessing foreign domains, I might need to change the online management package to an offline package.

| username: hey-hoho | Original post link

Go to the official website to download the offline package for version 4.0.8 and upload it to the server, then extract it.
Execute tiup mirror set <extracted directory> to set it as the offline mirror.
Then try using the display command to see if it works.

| username: Mike666666 | Original post link

Resolved, thank you.

| username: Mike666666 | Original post link

Resolved, thank you.

| username: Mike666666 | Original post link

Resolved, thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.