Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Error message is not intuitive #1907

Open
phxwh opened this issue Jul 22, 2021 · 1 comment
Open

Error message is not intuitive #1907

phxwh opened this issue Jul 22, 2021 · 1 comment
Labels
help wanted This issue wanted some help from contributor

Comments

@phxwh
Copy link

phxwh commented Jul 22, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.
    When start a DM task, I got the “Message: database driver error, RawCause: dial tcp: lookup pingcap_training on 127.0.0.53:53: server misbehaving,” error when starting the task.

I got this fixed by replacing "pingcap_training" (cluster name) with localhost.

  1. What did you expect to see?

The error message should be something more like: "Can not connect to host: pingcap_training"

  1. Versions of the cluster
    2.0.4

Thank you.

@Ehco1996 Ehco1996 added the help wanted This issue wanted some help from contributor label Jul 23, 2021
@Ehco1996
Copy link
Contributor

Thanks for asking this question, it looks like it just needs a few changes to the error message
so if you're interested you can try to help with that 😬

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted This issue wanted some help from contributor
Projects
None yet
Development

No branches or pull requests

2 participants