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


   <!-- 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**:
   注册消费者异常,导致提供者信息错误
   
   消费者服务未启动时:
   
![image](https://user-images.githubusercontent.com/10016360/118519315-97237880-b76b-11eb-8185-58cbcada8d37.png)
   
   消费者服务启动后:
   
![image](https://user-images.githubusercontent.com/10016360/118519449-b7533780-b76b-11eb-958e-b9230e010331.png)
   
   看图,覆盖了提供者信息,自身变成了提供者
   **What you expected to happen**:
   
   **How to reproduce it (as minimally and precisely as possible)**:
   
   
   **Anything else we need to know?**:
        github.com/apache/dubbo-go v0.0.0-20210323071401-f756eeb14f05
        github.com/apache/dubbo-go-hessian2 v1.9.1
   
   # dubbo client yaml configure file
   
   check: false
   # client
   request_timeout: "3s"
   # connect timeout
   connect_timeout: "3s"
   
   # config center config
   #config_center:
   #  protocol: "zookeeper"
   #  address: "192.168.101.202:2181"
   
   # application config
   application:
   #  organization: "com.haoduo"
     name: "ops-base-service"
     module: "dubbo-go user-info client"
     version: "1.0.0"
     environment: "dev"
   
   # registry config
   registries:
     "devZK":
       protocol: "zookeeper"
       timeout: "3s"
       address: "192.168.101.202:2181"
       username: ""
       password: ""
   
   # reference config
   references:
     "UserProvider":
       registry: "devZK"
       protocol: "dubbo"
       version: "1.0.0"
       interface: "com.xxx.user.provider.UserProvider"
       cluster: "failover"
       methods:
         - name: "findById"
           retries: 1
   
   # protocol config
   protocol_conf:
     dubbo:
       reconnect_interval: 0
       connection_number: 1
       heartbeat_period: "5s"
       session_timeout: "180s"
       pool_size: 64
       pool_ttl: 600
       getty_session_param:
         compress_encoding: false
         tcp_no_delay: true
         tcp_keep_alive: true
         keep_alive_period: "120s"
         tcp_r_buf_size: 262144
         tcp_w_buf_size: 65536
         pkg_rq_size: 1024
         pkg_wq_size: 512
         tcp_read_timeout: "1s"
         tcp_write_timeout: "5s"
         wait_timeout: "1s"
         max_msg_len: 1024000
         session_name: "client"


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

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