Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos 配置中心,java.net.ConnectException: no available server #6073

Closed
hanbing5210 opened this issue Jun 15, 2021 · 7 comments
Closed
Labels
status/invalid This doesn't seem right

Comments

@hanbing5210
Copy link

#2206 提到的解决办法是nacos客户端升级到1.2.0 可以解决.但是我现在用的是那从事客户端1.3.3 问题又重现了.是nacos客户端在1.3.3版本中又把之前的bug重新引回去了吗?
image

@realJackSun
Copy link
Collaborator

您的服务端版本是多少呢?

@hanbing5210
Copy link
Author

1.4.1

@hanbing5210
Copy link
Author

@realJackSun nacos 1.4.1

@KomachiSion
Copy link
Collaborator

这个报错和客户端版本没有关系,意思就是客户端连接所有服务端都是失败了。 如果是配置中心的longpolling偶尔有这个异常,不影响使用,就是长轮询超时了。之后会继续发起长轮询。

如果经常出现这个异常,建议先排查网络是否健康, 服务端是否运行正常。

@hanbing5210
Copy link
Author

网络没有问题 重启以后就好了 但是长时间不调用服务的话就会出现客户端发送心跳包失败

@KomachiSion
Copy link
Collaborator

如果服务端有响应,没有FullGC等情况,那就只能是网络问题,客户端用http请求到服务端,所有服务端都请求一遍仍然失败就会报你贴出来的这个错。

@KomachiSion
Copy link
Collaborator

No more response from author.

@KomachiSion KomachiSion added status/invalid This doesn't seem right and removed status/need feedback labels Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants