mark4z opened a new issue #1283:
URL: https://github.com/apache/dubbo-go/issues/1283


   <!-- Please use this template while reporting a bug and provide as much info 
as possible. Not doing so may result in your bug not being addressed in a 
timely manner. Thanks!
   
   -->
   
   
   **What happened**:
   dubbo-go-samples dubbo-go-samples\generic\go-client\cmd\client.go
   
   if i remove the time delay like this:
   ```go
   func init() {
        referenceConfig.GenericLoad(appName) //appName is the unique 
identification of RPCService
        //time.Sleep(3 * time.Second)
   }
   ```
   The fitst invoke will fail:
   ```
   proxy/proxy.go:216   result err: Failed to invoke the method $invoke. No 
provider available for the service 
dubbo://:@:/?interface=org.apache.dubbo.UserProvider&group=&version= from 
registry 
zookeeper://127.0.0.1:2181?group=&registry=zookeeper&registry.label=true&registry.preferred=false&registry.role=0&registry.timeout=3s&registry.ttl=10m&registry.weight=0&registry.zone=&simplified=false
 on the consumer 10.129.98.169 using the dubbo version 1.5.6 .Please check if 
the providers have been started and registered.
   github.com/apache/dubbo-go/common/proxy.DefaultProxyImplementFunc.func1.1
   ```
   
   **What you expected to happen**:
   call success
   
   **How to reproduce it (as minimally and precisely as possible)**:
   This case appeared after 1.5.6-rc2, rc1 has no problem.
   **Anything else we need to know?**:
   
   


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