yongzhixin opened a new issue, #1009:
URL: https://github.com/apache/dubbo-go-samples/issues/1009

   dubbo:
     application:
       name: xxx-consumer
       version: 1.0.0
       metadata-type: local
       register-consumer: false
   
     registries:
        zk:
          protocol: zookeeper
          address: xxx.com:2181
          timeout: 10s
          registry-type: interface
   
     consumer:
       check: false
       request-timeout: 6000
       references:
         LoginService:
           interface: 'xxx.api.ILoginService'
           protocol: dubbo
           version: '*'
           retries: 2
           cluster: failover
           url: 'dubbo://10.48.xx.xx:11090'
   
   使用url的方式可以调用成功;但是使用zk了,是希望从zk上去拿动态的服务提供者(不使用url配置具体的服务提供者),出现如下错误:
   
   tag/router.go:52     [tag router] invokers from previous router is empty
   
   proxy/proxy.go:213   [CallProxy] received rpc err: Failed to invoke the 
method sendTicket. No provider available for the service 
dubbo://:@192.168.112.185:/?interface=xxx.api.ILoginService&group=&version=* 
from registry 
zookeeper://xxx.com:2181?registry=zookeeper&registry.group=&registry.id=zk&registry.label=true&registry.namespace=&registry.preferred=false&registry.role=0&registry.timeout=10s&registry.ttl=15m&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-zookeeper-xxx.com%3A2181&simplified=false
 on the consumer 192.168.112.185 using the dubbo version 3.2.0 .Please check if 
the providers have been started and registered.
   
   
   <img width="3538" height="370" alt="Image" 
src="https://github.com/user-attachments/assets/4c9dfb21-d108-48e4-8d4f-7c1eee86e7ab";
 />
   
   <img width="2334" height="470" alt="Image" 
src="https://github.com/user-attachments/assets/558e916b-1994-457c-b81c-6c8670ce6418";
 />
   
   我看里面的registry zookeeper是对的,而且也是有服务提供者的,却不是使用zk上的服务提供者,而是使用本地 
192.168.xxx去取服务提供者;是我哪里配置的有问题吗?其中域名和ip使用xx代替了;


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