alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.21k stars 12.83k forks source link

服务注册问题 #5287

Closed dc-vin closed 3 years ago

dc-vin commented 3 years ago

Describe the bug 此服务在服务器能正常注册,本地无法注册,本地有几个服务可以注册,有几个不可以。 image

Expected behavior A clear and concise description of what you expected to happen.

Acutally behavior A clear and concise description of what you actually to happen.

How to Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

realJackSun commented 3 years ago

在服务器能正常注册

服务器能正常注册是什么意思?用控制台吗?

本地无法注册

本地无法注册又是什么意思?用nacos-client吗?

以及你使用的是nacos哪个版本?

dc-vin commented 3 years ago

在服务器能正常注册

服务器能正常注册是什么意思?用控制台吗?

本地无法注册

本地无法注册又是什么意思?用nacos-client吗?

以及你使用的是nacos哪个版本?

nacos版本 1.4.1 意思是有A、B两个服务 A在服务器启动,可以注册到nacos,在我本地启动无法注册 B服务在服务器能注册成功,本地也能注册成功。 目前A就如图所示,显示的instanceId为null

KomachiSion commented 3 years ago

没有注册成功是控制台看不到吗? 还是你自己没有读到?

instanceId为null是正常的,说明你没有设置id

dc-vin commented 3 years ago

没有注册成功,今晚重启一下服务器上的nacos再试试看

周杰伦说 @.***

 

------------------ 原始邮件 ------------------ 发件人: "alibaba/nacos" @.>; 发送时间: 2021年4月8日(星期四) 下午3:42 @.>; @.**@.>; 主题: Re: [alibaba/nacos] 服务注册问题 (#5287)

没有注册成功是控制台看不到吗? 还是你自己没有读到?

instanceId为null是正常的,说明你没有设置id

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

dc-vin commented 3 years ago

没有注册成功是控制台看不到吗? 还是你自己没有读到?

instanceId为null是正常的,说明你没有设置id

已恢复