dubbo-admin icon indicating copy to clipboard operation
dubbo-admin copied to clipboard

Dubbo admin-0.5.0 消费者IP显示错误,全部显示为dubbo admin部署服务器IP地址

Open sadeychai opened this issue 2 years ago • 0 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.
  • [x] I have checked the REAMDE of this repository and believe that this is not a duplicate.

Environment

  • Dubbo Admin version: 0.5.0
  • Registry center detail (type and version): zookeeper 3.4.6
  • Operating System version: linux
  • Java version: 1.8
  • Dubbo version: 3.1.8/2.7.6

Steps to reproduce this issue

  1. dubbo服务端为3.1.8
  2. dubbo消费端3.1.8和2.7.6共存
  3. dubbo admin重启后首次看consumer信息内IP地址是对的。但是任意dubbo消费端重启后,dubbo admin内展示的consumer ip地址就全部变成了dubbo admin所在的部署服务器IP。 image

dubbo-registry-null-xxx.cache内看到很多无IP的consumer信息会被追加到对应provider后面:

consumer:///com.xx.xx.lemma.api.provider.LemmaProvider?application=web-xx-mobile&category=consumers&check=false&dubbo=2.0.2&release=2.7.6-SNAPSHOT consumer:///com.xx.xx.lemma.api.provider.LemmaProvider?application=service-baike&category=consumers&check=false&dubbo=2.0.2&release=2.7.6-SNAPSHOT consumer:///com.xx.xx.lemma.api.provider.LemmaProvider?application=service-xx-mix&category=consumers&check=false&dubbo=2.0.2&release=3.1.8

sadeychai avatar Jul 07 '23 08:07 sadeychai