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

Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused #163

Open
svott03 opened this issue Dec 28, 2022 · 0 comments
Open

Comments

@svott03
Copy link

svott03 commented Dec 28, 2022

Command: go run check.go -f etc/check.yaml

Output:
Starting rpc server at 0.0.0.0:8080...
{"level":"warn","ts":"2022-12-27T19:20:55.154-0800","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0x14000290380/127.0.0.1:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused""}
{"@timestamp":"2022-12-27T19:20:55.155-08:00","caller":"zrpc/server.go:91","content":"context deadline exceeded","level":"error"}
panic: context deadline exceeded

goroutine 1 [running]:
github.com/zeromicro/go-zero/zrpc.(*RpcServer).Start(0x1027e6bc0?)
{HOME}go/pkg/mod/github.com/zeromicro/[email protected]/zrpc/server.go:92 +0x80
main.main()
{HOME}/Desktop/myapp/bookstore/rpc/check/check.go:38 +0x228
exit status 2

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

1 participant