vipyxc-byte opened a new issue, #2981: URL: https://github.com/apache/dubbo-go/issues/2981
### ✅ Verification Checklist - [x] 🔍 I have searched the [existing issues](https://github.com/apache/dubbo-go/issues) and confirmed this is not a duplicate ### 🚀 Go Version 1.23.3 ### 📦 Dubbo-go Version v3.3.0 ### 🖥️ Server Configuration _No response_ ### 💻 Client Configuration _No response_ ### 🌐 Protocol Configuration _No response_ ### 📋 Registry Configuration _No response_ ### 💾 Operating System 🍎 macOS ### 📝 Bug Description closed:k8s 集群provider部署后,客户端访问报session Already Closed 客户端消费者无法自动恢复 #2739 #2739 没有相关的解决方案 现象: 1. Failed to invoke the method getDeviceInfo in the service xxxx. Tried 2 times of the providers [dubbo://:@10.202.244.89:40110/?interface=xxx&group=&version= dubbo://:@10.202.244.98:40110/?interface=xxx&group=&version= dubbo://:@10.202.244.98:40110/?interface=xxx&group=&version=] (3/2)from the registry zookeeper://10.202.244.31:2181?registry=zookeeper®istry.group=®istry.id=zk®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=10s®istry.ttl=20s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-10.202.244.31%3A2181&simplified=false on the consumer 192.168.171.167 using the dubbo version 3.2.0. Last error is session Already Closed. 2. [email protected]/client.go:346打印日志,一直在连接旧的地址:net.DialTimeout(addr:10.202.244.98:40110, timeout:3e+09) = error:dial tcp 10.202.244.98:40110: connect: connection refused\ngithub.com/apache/dubbo-getty.(*client).dialTCP\n\t/root/go/pkg/mod/github.com/apache/[email protected]/client.go:173\ngithub.com/apache/dubbo-getty.(*client).dial\n\t/root/go/pkg/mod/github.com/apache/[email protected]/client.go:346\ngithub.com/apache/dubbo-getty.(*client).connect\n\t/root/go/pkg/mod/github.com/apache/[email protected]/client.go:384\ngithub.com/apache/dubbo-getty.(*client).reConnect\n\t/root/go/pkg/mod/github.com/apache/[email protected]/client.go:441\ngithub.com/apache/dubbo-getty.(*session).stop.func1\n\t/root/go/pkg/mod/github.com/apache/[email protected]/session.go:863\nsync.(*Once).doSlow\n\t/usr/local/go/src/sync/once.go:78\nsync.(*Once).Do\n\t/usr/local/go/src/sync/once.go:69\ngithub.com/apache/dubbo-getty.(*session).stop\n\t/root/go/pkg/mod/git hub.com/apache/[email protected]/session.go:853\ngithub.com/apache/dubbo-getty.(*session).handlePackage.func1\n\t/root/go/pkg/mod/github.com/apache/[email protected]/session.go:595\ngithub.com/apache/dubbo-getty.(*session).handlePackage\n\t/root/go/pkg/mod/github.com/apache/[email protected]/session.go:622\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1700 ### 🔄 Steps to Reproduce 1. 可能服务端频繁重启偶现此情况 2. 当zk宕机一段时间后恢复出现此情况 ### ✅ Expected Behavior 自动恢复 ### ❌ Actual Behavior 无法自动恢复 ### 💡 Possible Solution _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
