Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"grpc client called: etcd://127.0.0.1:2379/dtmservice/dtmgimp.Dtm/NewGid {} result: {} err: rpc error: code = Unavailable desc = name resolver error: produced zero addresses #4568

Open
jiumenyichang opened this issue Jan 14, 2025 · 3 comments

Comments

@jiumenyichang
Copy link

{"@timestamp":"2025-01-14T11:02:23.605+08:00","caller":"internal/discovbuilder.go:35","content":"bad resolver state","level":"error"}
{"level":"error","ts":"2025-01-14T11:02:23.605+0800","caller":"dtmgimp/types.go:52","msg":"grpc client called: etcd://127.0.0.1:2379/dtmservice/dtmgimp.Dtm/NewGid {} result: {} err: rpc error: code = Unavailable desc = name resolver error: produced zero addresses","stacktrace":"github.com/dtm-labs/client/dtmgrpc/dtmgimp.GrpcClientLog\n\tD:/go_path/pkg/mod/github.com/dtm-labs/[email protected]/dtmgrpc/dtmgimp/types.go:52\ngoogle.golang.org/grpc.(*ClientConn).Invoke\n\tD:/go_path/pkg/mod/google.golang.org/[email protected]/call.go:35\ngithub.com/dtm-labs/client/dtmgrpc/dtmgpb.(*dtmClient).NewGid\n\tD:/go_path/pkg/mod/github.com/dtm-labs/[email protected]/dtmgrpc/dtmgpb/dtmgimp_grpc.pb.go:47\ngithub.com/dtm-labs/client/dtmgrpc.MustGenGid\n\tD:/go_path/pkg/mod/github.com/dtm-labs/[email protected]/dtmgrpc/type.go:52\nmall/service/order/api/internal/logic.(*CreateLogic).Create\n\tD:/go_project/go-zero-learn/mall/service/order/api/internal/logic/createlogic.go:46\nmall/service/order/api/internal/handler.RegisterHandlers.CreateHandler.func1\n\tD:/go_project/go-zero-learn/mall/service/order/api/internal/handler/createhandler.go:21\nnet/http.HandlerFunc.ServeHTTP\n\tD:/go1.22.0/src/net/http/server.go:2166\ngithub.com/zeromicro/go-zero/rest/handler.Authorize.func1.1\n\tD:/go_path/pkg/mod/github.com/zeromicro/[email protected]/rest/handler/authhandler.go:81\nnet/http.HandlerFunc.ServeHTTP\n\tD:/go1.22.0/src/net/http/server.go:2166\ngithub.com/zeromicro/go-zero/rest/handler.GunzipHandler.func1\n\tD:/go_path/pkg/mod/github.com/zeromicro/[email protected]/rest/handler/gunziphandler.go:26\nnet/http.HandlerFunc.ServeHTTP\n\tD:/go1.22.0/src/net/http/server.go:2166\ngithub.com/zeromicro/go-zero/rest.(*engine).buildChainWithNativeMiddlewares.MaxBytesHandler.func8.1\n\tD:/go_path/pkg/mod/github.com/zeromicro/[email protected]/rest/handler/maxbyteshandler.go:24\nnet/http.HandlerFunc.ServeHTTP\n\tD:/go1.22.0/src/net/http/server.go:2166\ngithub.com/zeromicro/go-zero/rest.(*engine).buildChainWithNativeMiddlewares.MetricHandler.func6.1\n\tD:/go_path/pkg/mod/github.com/zeromicro/[email protected]/rest/handler/metrichandler.go:21\nnet/http.HandlerFunc.ServeHTTP\n\tD:/go1.22.0/src/net/http/server.go:2166\ngithub.com/zeromicro/go-zero/rest/handler.RecoverHandler.func1\n\tD:/go_path/pkg/mod/github.com/zeromicro/[email protected]/rest/handler/recoverhandler.go:21\nnet/http.HandlerFunc.ServeHTTP\n\tD:/go1.22.0/src/net/http/server.go:2166\ngithub.com/zeromicro/go-zero/rest/handler.(*timeoutHandler).ServeHTTP.func1\n\tD:/go_path/pkg/mod/github.com/zeromicro/[email protected]/rest/handler/timeouthandler.go:86"}

@kevwan
Copy link
Contributor

kevwan commented Jan 17, 2025

I think you may need to ask this issue in DTM project.

@kevwan
Copy link
Contributor

kevwan commented Jan 17, 2025

@yedf2

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@yedf2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants