Error logging into the dashboard

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

Original topic: 登录dashboard报错

| username: TiDBer_QHSxuEa1

How to solve this error when logging into the dashboard?

| username: Kongdom | Original post link

Use tiup cluster display to check if the cluster status is normal. Coincidentally, I just restarted the cluster and encountered this error.

| username: zhanggame1 | Original post link

  1. Confirm whether the cluster status is normal.
  2. Confirm whether the root password is correct by trying to connect using the MySQL client.
  3. If there are no issues, restart PD:
    tiup cluster restart tidb-test -R pd
| username: 随缘天空 | Original post link

There might be an issue with a node in the cluster. Try restarting all the services on the control machine where the dashboard is located.

| username: Kongdom | Original post link

It seems to be the same issue, you can refer to the solution.

| username: Kongdom | Original post link

A solution has been provided, you can verify if it is the same issue. :thinking:

| username: 普罗米修斯 | Original post link

Is the proxy address not configured?

| username: dba远航 | Original post link

Try restarting the PD.

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

If the proxy-protocol.networks parameter is configured, it should not overlap with the dashboard address. If they overlap, that address cannot log in to the TiDB server.

| username: Mzb329 | Original post link

  1. Check the username and password for the TiDB service:
    Ensure that the username and password you are using to log in match the actual username and password on the TiDB service. You can use the following command to view the username and password for the TiDB service:
  2. Check the network connection of the TiDB service:
    Ensure that you can connect to the TiDB service normally.
  3. Clear browser cache:
    If you are logging into the TiDB console using a browser, try clearing the browser cache and then logging in again.
  4. Check the firewall settings of the TiDB service:
    Ensure that the firewall settings of the TiDB service allow access from your device. You can use the following command to view the firewall settings of the TiDB service. If you find any rules blocking access to the TiDB service, remove them.
  5. Restart the TiDB service: