Alanxtl commented on issue #2981:
URL: https://github.com/apache/dubbo-go/issues/2981#issuecomment-3530683756

   复现成功,怀疑是连接池的问题和链接销毁的问题
   ```
   2025/11/14 11:15:53 Connected to 10.63.116.1:2181
   2025/11/14 11:15:53 Authenticated: id=72057607807041573, timeout=4000
   2025/11/14 11:15:53 Re-submitting `0` credentials after reconnect
   2025/11/14 11:15:53 Authenticated: id=72057607807041574, timeout=5000
   2025/11/14 11:15:53 Re-submitting `0` credentials after reconnect
   2025-11-14 11:15:53  INFO    
servicediscovery/service_discovery_registry.go:237      Find initial mapping 
applications "HashSet\ndubbo.io" for service 
org.apache.dubbo.samples.UserProvider.
   2025-11-14 11:15:53  INFO    zookeeper/client.go:53  [Zookeeper Client] New 
zookeeper client with name = 10.63.116.1:2181, zkAddress = 10.63.116.1:2181, 
timeout = 5s
   2025-11-14 11:15:53  INFO    
servicediscovery/service_discovery_registry.go:262      Synchronized instance 
notification on application dubbo.io subscription, instance list size %!s(int=2)
   2025-11-14 11:15:53  INFO    
servicediscovery/service_instances_changed_listener_impl.go:100 Received 
instance notification event of service dubbo.io, instance list size 2
   2025-11-14 11:15:53  INFO    getty/getty_client.go:76        se default 
getty client config
   2025-11-14 11:15:56  INFO    [email protected]/client.go:346       
net.DialTimeout(addr:10.244.0.35:20000, timeout:3e+09) = error:dial tcp 
10.244.0.35:20000: i/o timeout
   github.com/apache/dubbo-getty.(*client).dialTCP
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:173
   github.com/apache/dubbo-getty.(*client).dial
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:346
   github.com/apache/dubbo-getty.(*client).connect
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:384
   github.com/apache/dubbo-getty.(*client).reConnect
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:441
   github.com/apache/dubbo-getty.(*client).RunEventLoop
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:419
   runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1693
   2025-11-14 11:15:56  ERROR   getty/getty_client.go:195       ry to connect 
server 10.244.0.35:20000 failed for : failed to create client connection to 
10.244.0.35:20000 in 3s
   2025-11-14 11:15:56  INFO    getty/getty_client.go:76        se default 
getty client config
   2025-11-14 11:15:56  WARN    [email protected]/client.go:419       
client{peer:10.244.0.35:20000} goroutine exit now.
   2025-11-14 11:15:59  INFO    [email protected]/client.go:346       
net.DialTimeout(addr:10.244.0.35:20000, timeout:3e+09) = error:dial tcp 
10.244.0.35:20000: i/o timeout
   github.com/apache/dubbo-getty.(*client).dialTCP
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:173
   github.com/apache/dubbo-getty.(*client).dial
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:346
   github.com/apache/dubbo-getty.(*client).connect
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:384
   github.com/apache/dubbo-getty.(*client).reConnect
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:441
   github.com/apache/dubbo-getty.(*client).RunEventLoop
        /home/lxt/go/pkg/mod/github.com/apache/[email protected]/client.go:419
   runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1693
   2025-11-14 11:15:59  ERROR   getty/getty_client.go:195       ry to connect 
server 10.244.0.35:20000 failed for : failed to create client connection to 
10.244.0.35:20000 in 3s
   2025-11-14 11:15:59  ERROR   remoting/exchange_client.go:92Failed to connect 
server %+v 10.244.0.35:20000
   2025-11-14 11:15:59  WARN    dubbo/dubbo_protocol.go:95      an't dial the 
server: 10.244.0.35:20000
   2025-11-14 11:15:59  WARN    
servicediscovery/service_discovery_registry.go:268      
[ServiceDiscoveryRegistry] ServiceInstancesChangedListenerImpl handle error:can 
not connect to remote metadata service host: 10.244.0.35
   2025-11-14 11:15:59  INFO    
servicediscovery/service_discovery_registry.go:276      Start subscribing to 
registry for applications :HashSet
   dubbo.io with a new go routine.
   2025-11-14 11:15:59  INFO    zookeeper/listener.go:483       Zookeeper 
Listener] listen dubbo path{/services/dubbo.io}
   2025-11-14 11:15:59  WARN    tag/router.go:52        [tag router] invokers 
from previous router is empty
   2025-11-14 11:15:59  WARN    proxy/proxy.go:213      [CallProxy] received 
rpc err: Failed to invoke the method $invoke. No provider available for the 
service 
dubbo://:@172.26.35.2:/?interface=org.apache.dubbo.samples.UserProvider&group=&version=
 from registry 
service-discovery-registry://10.63.116.1:2181?registry=zookeeper&registry.group=&registry.id=zk&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=5s&registry.ttl=15m&registry.type=&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-zookeeper-10.63.116.1%3A2181&simplified=false
 on the consumer 172.26.35.2 using the dubbo version 3.2.0 .Please check if the 
providers have been started and registered.
   panic: Failed to invoke the method $invoke. No provider available for the 
service 
dubbo://:@172.26.35.2:/?interface=org.apache.dubbo.samples.UserProvider&group=&version=
 from registry 
service-discovery-registry://10.63.116.1:2181?registry=zookeeper&registry.group=&registry.id=zk&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=5s&registry.ttl=15m&registry.type=&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-zookeeper-10.63.116.1%3A2181&simplified=false
 on the consumer 172.26.35.2 using the dubbo version 3.2.0 .Please check if the 
providers have been started and registered.
   
   goroutine 1 [running]:
   main.callGetUser({0xc000336fa0, {0x1eaed50, 0xc000614e40}, {0xc0000f2120, 
0x1, 0x1}, 0xc0004bce70, {0x1bd4554, 0x8}, {0x1c0a34a, ...}, ...})
        
/home/lxt/repo/dubbo-go-samples/generic/default/go-client/cmd/client.go:73 
+0x571
   main.main()
        
/home/lxt/repo/dubbo-go-samples/generic/default/go-client/cmd/client.go:46 +0xc5
   exit status 2
   ```


-- 
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]

Reply via email to