DM Dashboard is inaccessible

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

Original topic: dm dashboard无法访问

| username: jackerzhou

[DM Usage Environment] Production Environment / Testing / k8s
[DM Version] v6.4.0-master
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Issue Phenomenon and Impact]
Dashboard is inaccessible, but openapi is accessible
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]


| username: buchuitoudegou | Original post link

Could you check the dm master’s log? The dashboard should be enabled along with the openapi.

| username: jackerzhou | Original post link

Using Release Version: v6.0.0-master-dirty, I can access the dashboard. I also tested it separately with version 6.4, and the issue still persists.
dm-master.log (747.3 KB)

| username: buchuitoudegou | Original post link

Can I ask how you deployed it? Tiup can only upgrade to 6.3 now; I can access the dashboard normally using the nightly version of DM.

Later, I built a 6.4.0 version, but I can still access it normally.

| username: buchuitoudegou | Original post link

There are no errors reported internally by DM in the master’s log. However, a client error occurred during the GET /dashboard/ request:

[2022/11/10 17:40:58.184 +08:00] [WARN] [logger.go:56] ["Client error"] [component=webui] [size=-1] [host=10.1.104.143:8261] [status=404] [method=GET] [protocol=HTTP/1.1] [remote_ip=10.110.24.31:65365] [user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"] [duration=10.762µs] [request="GET /dashboard/"]
[2022/11/10 17:40:58.267 +08:00] [WARN] [http.go:500] ["request cluster ID mismatch"] [component="embed etcd"] [local-member-id=a50fe3f85965af54] [local-member-cluster-id=80389f04cf0214b0] [local-member-server-version=3.5.2] [local-member-server-minimum-cluster-version=3.0.0] [remote-peer-server-name=7f70e1200ba8c526] [remote-peer-server-version=3.5.2] [remote-peer-server-minimum-cluster-version=3.0.0] [remote-peer-cluster-id=a139daf8fad05eca]
[2022/11/10 17:40:58.267 +08:00] [WARN] [http.go:500] ["request cluster ID mismatch"] [component="embed etcd"] [local-member-id=a50fe3f85965af54] [local-member-cluster-id=80389f04cf0214b0] [local-member-server-version=3.5.2] [local-member-server-minimum-cluster-version=3.0.0] [remote-peer-server-name=7f70e1200ba8c526] [remote-peer-server-version=3.5.2] [remote-peer-server-minimum-cluster-version=3.0.0] [remote-peer-cluster-id=a139daf8fad05eca]
[202