Error: Unable to Connect When Executing tiup playground

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

Original topic: 执行 tiup playground提示无法连接

| username: TiDBer_shYSpKgS

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
Everything else is normal, but during the installation, it prompts that it cannot connect to JSON, as shown in the picture below. The network connection is normal.


| username: zhanggame1 | Original post link

How about considering installing a single-node cluster?
TiDB Quick Start Guide | PingCAP Documentation Center

| username: 啦啦啦啦啦 | Original post link

Judging by the error, it seems to be a network issue. Have you tried multiple times without success?

| username: TiDBer_shYSpKgS | Original post link

Tried it, doesn’t work.

| username: TiDBer_shYSpKgS | Original post link

I followed this to install the standalone version, but it still doesn’t work.

| username: 啦啦啦啦啦 | Original post link

How about using offline installation?

| username: xingzhenxiang | Original post link

You are unable to connect to the TiDB mirror site.

| username: db_user | Original post link

Try this solution.

| username: zhang_2023 | Original post link

The network might be down.

| username: zhanggame1 | Original post link

Offline installation is also very simple.

Check out this section of the offline installation documentation, just download 2 installation packages, it’s the same as online.
Deploy a TiDB Cluster Using TiUP | PingCAP Documentation Center

Download link
Distributed Database TiDB Community Edition | PingCAP

| username: forever | Original post link

Check the hosts and environment variables. If there are no issues, try adding the IP domain name obtained from the ping to the hosts file.

| username: tidb菜鸟一只 | Original post link

The machine can’t connect to the external network… go for offline installation…

| username: wangccsy | Original post link

Is the network using any proxies?

| username: dba远航 | Original post link

Try a different version.

| username: 哈喽沃德 | Original post link

Please try accessing the address on a Windows PC to see if it works properly.

| username: ShawnYan | Original post link

+1 It might be that some proxy is enabled. Check the environment settings.