go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

Problems about etcd key when upgrading to version 1.3.4

Open LorinHan opened this issue 2 years ago β€’ 4 comments

In version 1.3.2, I used etcd key:/aihc/xxx rpc. When upgrading to version 1.3.4, the dependent service has such an error: rpc dial: discov://127.0.0.1:2379//aihc/xxx.rpc , error: context deadline exceeded, make sure rpc service "xxx.rpc" is already started.

LorinHan avatar Jun 14 '22 10:06 LorinHan

+1 {"@timestamp":"2022-06-27T21:51:56.273+08:00","caller":"zrpc/server.go:90","content":"context deadline exceeded","level":"error"} panic: context deadline exceeded

goroutine 1 [running]: github.com/zeromicro/go-zero/zrpc.(*RpcServer).Start(0x2994bc0?) /Users/bytedance/go/pkg/mod/github.com/zeromicro/[email protected]/zrpc/server.go:91 +0x85 main.main() /Users/bytedance/tools/code/study/shorturl/rpc/transform/transform.go:39 +0x2c5

pitifulnoble avatar Jun 27 '22 13:06 pitifulnoble

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


+1 {"@timestamp":"2022-06-27T21:51:56.273+08:00","caller":"zrpc/server.go:90","content":"context deadline exceeded","level":"error"} panic: context deadline exceeded

goroutine 1 [running]: github.com/zeromicro/go-zero/zrpc.(*RpcServer).Start(0x2994bc0?) /Users/bytedance/go/pkg/mod/github.com/zeromicro/[email protected]/zrpc/server.go:91 +0x85 main.main() /Users/bytedance/tools/code/study/shorturl/rpc/transform/transform.go:39 +0x2c5

Issues-translate-bot avatar Jun 27 '22 13:06 Issues-translate-bot

➜ api nmap 127.0.0.1 -p2379 Starting Nmap 7.91 ( https://nmap.org ) at 2022-07-01 13:32 CST Nmap scan report for localhost (127.0.0.1) Host is up (0.00021s latency).

PORT STATE SERVICE 2379/tcp open etcd-client

Nmap done: 1 IP address (1 host up) scanned in 0.16 seconds

then etcd is started

pitifulnoble avatar Jul 01 '22 05:07 pitifulnoble

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 01 '22 02:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 16 '22 02:08 github-actions[bot]

emmm ζœ‰η­”ζ‘ˆδΊ†ε—?

fyyang avatar Sep 16 '22 01:09 fyyang

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


hmm do you have an answer?

Issues-translate-bot avatar Sep 16 '22 01:09 Issues-translate-bot