Issues with DM Connecting to DM-master

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

Original topic: DM连接DM-master问题

| username: TiDBer_xHO1bSLb

When DM connects to DM-master, the error message “context deadline exceeded, Workaround: Please check your network connection.” appears. I checked the network connection and did not find any network issues.

| username: 有猫万事足 | Original post link

Check which address your master is actually running on.

| username: 春风十里 | Original post link

Please use the telnet command to check if the port is accessible. You are using the 127.0.0.1 local loopback address; if it is not accessible, the service might not be started. I guess you are testing DM. Normally, the DM service should be accessible after it starts. See the screenshot below for details:

| username: 春风十里 | Original post link

If it doesn’t work, it will be:
[root@localhost ~]# telnet 127.0.0.1 8261
Trying 127.0.0.1…
telnet: connect to address 127.0.0.1: Connection refused

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

Try using telnet first; it might not be up or the port setting might be different.

| username: dba远航 | Original post link

Is your dm-master set to 192.168.0.100:8261? Did you specify it incorrectly?

| username: 随缘天空 | Original post link

The connection context timed out. Please check if the IP corresponding to your --master–addr is correct.