After completing the installation and deployment of TiDB V7.1.2, opening the dashboard shows "failed to send requests to Prometheus" for both the overview and monitoring metrics

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

Original topic: tidbV7.1.2安装部署完成后打开dashboard,出现概况和监控指标都出现failed to send requests to Prometheus

| username: TiDBer_i2R6ghie

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
After the installation and deployment are completed, the first time logging into the dashboard, the following issue appears
[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]


According to the path that appears, it is accessible

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

Can the PD node where the dashboard is located access this address?

| username: dba远航 | Original post link

From the error, it appears to be caused by a connection timeout. Please check the connectivity between the two machines.

| username: TiDBer_小阿飞 | Original post link

Change the PROMETHEUS address and check the configuration file.

| username: 随缘天空 | Original post link

It’s best to take a screenshot of your cluster topology configuration file. There might be an issue with your configuration.

| username: TiDBer_i2R6ghie | Original post link

Please take a look.

| username: TiDBer_小阿飞 | Original post link

Check with tiup cluster display.

| username: TiDBer_i2R6ghie | Original post link

I just tried accessing the address and it timed out, but the IPs of the two machines are interconnected. What’s going on?

| username: TiDBer_i2R6ghie | Original post link

The image is not available for translation. Please provide the text content for translation.

| username: TiDBer_i2R6ghie | Original post link

Clicking update redirected me here.

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

First, try telnetting the port. Maybe the firewall is enabled…

| username: 小龙虾爱大龙虾 | Original post link

Ping works, does telnet work?

| username: TiDBer_小阿飞 | Original post link

Is it working properly after the jump?

| username: 随缘天空 | Original post link

There isn’t much of an issue, but it feels like the deployment directory, data directory, and log directory are a bit redundant because your paths are all under /data/tidb-deploy and /data/tidb-data directories. Since you have already configured the global settings, you can omit them for each node. Additionally, the arch configuration in the global settings doesn’t seem very meaningful. Are you sure your architecture is amd64 or x86?

| username: 随缘天空 | Original post link

Try connecting with shell to see if you can access the machine?

| username: zhanggame1 | Original post link

Test it with curl, and then check if the port is accessible.

| username: Fly-bird | Original post link

It feels like the network is disconnected, and the Prometheus service cannot be accessed.

| username: TiDBer_i2R6ghie | Original post link

The firewall is already turned off…
image

| username: TiDBer_i2R6ghie | Original post link

Not working, even with the firewall turned off.

| username: swino | Original post link

Capture and take a look.