go-zero
go-zero copied to clipboard
There might be etcd failures when deployed in k8s
{"level":"warn","ts":"2023-08-03T03:38:03.071Z","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc0001c1340/10.0.2.62:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = "transport: Error while dialing dial tcp 0.0.0.0:2379: connect: connection refused""}
问题1:每小时有近1000次连接失败情况
问题2:连接ip应该是10.0.2.62,为什么报错信息会是0.0.0.0
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Question 2: The connection ip should be 10.0.2.62, why the error message is 0.0.0.0
对了,go-zero版本是v1.3.4,因为使用go-zero较早,版本差异太大,目前没办法升级到最新版本
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
By the way, the go-zero version is v1.3.4, because go-zero was used earlier, the version difference is too large, there is no way to upgrade to the latest version
0.0.0.0 might be from your configuration. We didn't write any 0.0.0.0 for etcd config.
Better to upgrade go-zero to latest version, we've updated etcd client lib.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.