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

Exception in thread "main" ErrCode:-401, ErrMsg:Client not connected,current status:STARTING #5264

Closed Tearan closed 3 years ago

Tearan commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

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.

Tearan commented 3 years ago

![Uploading image.png…]()

Tearan commented 3 years ago

String content = configService.getConfig(dataId, group, 5000); 获取为空,dataID,group和NACOS匹配

KomachiSion commented 3 years ago

应该是客户端和服务端连接不上,看一下配置是否有问题。 看一下官方文档关于2.0兼容性和部署那一部分。

KomachiSion commented 3 years ago

There is no more response from author, so we think it is a usage problem.