try to re connect to a new server ,server is not appointed,will choose a random server
k8s集群部署的nacos服务接连收到很多nacos-client抛出的更新服务状态异常:
2022-07-23 10:46:39.997 INFO 7 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [7b83a82c-d533-4968-9f39-a1d8719f712a]Server healthy check fail,currentConnection=1658453921079_10.233.92.39_47188
2022-07-23 10:46:39.998 INFO 7 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [7b83a82c-d533-4968-9f39-a1d8719f712a] try to re connect to a new server ,server is not appointed,will choose a random server.
2022-07-23 10:46:39.999 INFO 7 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [config-0-bae787c4-fa18-4b14-b221-2eb3eed3a68f]Server healthy check fail,currentConnection=1658453909331_10.233.92.39_47058
2022-07-23 10:46:39.999 INFO 7 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [config-0-bae787c4-fa18-4b14-b221-2eb3eed3a68f] try to re connect to a new server ,server is not appointed,will choose a random server.
2022-07-23 10:46:46.119 INFO 7 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [7b83a82c-d533-4968-9f39-a1d8719f712a] fail to connect server,after trying 1 times, last try server is {serverIp='nacos-server.xxx', server main port=8848},error=unknown
2022-07-23 10:46:46.120 INFO 7 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [config-0-bae787c4-fa18-4b14-b221-2eb3eed3a68f] fail to connect server,after trying 1 times, last try server is {serverIp='nacos-server.xxx', server main port=8848},error=unknown
2022-07-23 10:46:48.713 ERROR 7 --- [aming.updater.0] com.alibaba.nacos.common.remote.client : Send request fail, request=ServiceQueryRequest{headers={app=unknown}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:UNHEALTHY
2022-07-23 10:46:48.813 ERROR 7 --- [aming.updater.0] com.alibaba.nacos.common.remote.client : Send request fail, request=ServiceQueryRequest{headers={app=unknown}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:UNHEALTHY
2022-07-23 10:46:48.914 ERROR 7 --- [aming.updater.0] com.alibaba.nacos.common.remote.client : Send request fail, request=ServiceQueryRequest{headers={app=unknown}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:UNHEALTHY
2022-07-23 10:46:48.914 WARN 7 --- [aming.updater.0] com.alibaba.nacos.client.naming : [NA] failed to update serviceName: DEFAULT_GROUP@@iot-devicemgr
com.alibaba.nacos.api.exception.NacosException: Request nacos server failed:
at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:213)
at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.queryInstancesOfService(NamingGrpcClientProxy.java:128)
at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.queryInstancesOfService(NamingClientProxyDelegate.java:111)
at com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService$UpdateTask.run(ServiceInfoUpdateService.java:182)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.alibaba.nacos.api.exception.NacosException: Client not connected,current status:UNHEALTHY
at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:628)
at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:608)
at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:203)
... 9 common frames omitted
nacos github项目上确实有人提出nacos-2.0.1版本出现过类似的问题,但是我们遇到的情况跟这个不是太一样,最终发现出现这个问题的原因在于ip地址的冲突,又看了部署在其他两个节点的服务nacos-client客户端没有抛出上面的异常信息。于是修改对应的ip后就没有上述异常信息抛出了。
发现ip地址冲突可以通过arping命令实现:
try to re connect to a new server ,server is not appointed,will choose a random server相关推荐
- choose an existing server不能选问题
eclipse中的web project项目运行 Run As → 1 run on server 出现图上的情况 Choose an existing server选项不能选,Tomcat服务器都配 ...
- windows server 2012 远程连不上_CVE20201350 | Windows DNS Server远程代码执行漏洞通告
0x00 漏洞概述 CVE ID CVE-2020-1350 时 间 2020-07-15 类 型 RCE 等 级 严重 远程利用 是 影响范围 0x01 漏洞详情 微软于 ...
- sql server java类型_使用基本 JDBC 数据类型 - SQL Server | Microsoft Docs
使用基本数据类型Using basic data types 01/29/2021 本文内容 Microsoft JDBC Driver for SQL ServerMicrosoft JDBC Dr ...
- SQL Server 无法生成 FRunCM 线程。请查看 SQL Server 错误日志和 Windows 事件日志(转)...
前言: 今天遇到这个sql服务无法启用 .无法登陆 的情况..在google 百度 搜了一下.发现很多网站都是采集来的数据..(很奇怪这些采集站都那么靠前!) 照着文章里边的方法去试试都不行,,,后来 ...
- html连接数据库id号自动生成器,SQL Server数据库sql语句生成器(SqlDataToScript)的使用(sql server自增列(id)插入固定值)...
SqlDataToScript是根据表数据进行生成 Insert Into语句,此工具还有一个好处是可以对自增列插入固定值,例如:自增的列id值为5,但是5这个行值已经删除,如果想存储Id自增列值为5 ...
- Windows Server 2008 将与 Visual Studio 2008 和 SQL Server 2008 于2008年2月27 日在洛杉矶共同发布...
微软公司刚刚在全球伙伴大会 (Worldwide Partner Conference) 上郑重宣布,Windows Server 2008 将与 Visual Studio 2008 和 SQL S ...
- 教你发布Silverlight Bussiness Application(SQL Server 登录,局域网访问,以及使用ArcGIS Server服务需要注意的问题)...
教你发布Silverlight Bussiness Application(SQL Server 登录,局域网访问,以及使用ArcGIS Server服务需要注意的问题) 原文:教你发布Silverl ...
- Arcgis Server 发布服务报错Failed to start the server machine ‘XXX‘. Error while starting AppServer. Requir
Arcgis Server 发布服务报错 Failed to start the server machine 'XXX'. Error while starting AppServer. Requi ...
- ArcGIS Maritime Server 开发教程(一)了解 ArcGIS Maritime Server
ArcGIS Maritime Server 开发教程(一)了解 ArcGIS Maritime Server ArcGIS Maritime Server 是ArcGIS平台面向海洋.海事以及航道等 ...
最新文章
- 经典面试题:ES如何做到亿级数据查询毫秒级返回?
- python 字符串前加r b u f 含义
- stm32-串口接受不定长数据方法(3种)
- Orleans解决并发之痛(一):单线程
- 2 image pil 转_「博文连载」RGB888转YCbCr的HDL实现
- 吴恩达机器学习(四)逻辑回归(二分类与多分类)
- Mac OS X 背后的故事(五)Jean-Marie Hullot的Interface Builder神话
- 静态链表(简单介绍)
- 数据流图、业务流程图、E-R图、系统功能结构图、程序流程图
- 龙芯2f灵珑一体机debian6系统重装
- 计算机网络中处理通信控制功能的是,在计算机网络中处理通信控制功能的计算机是()。A.通信线路B.终端C.主计算机D.通信控制处理机...
- python银行排队系统仿真_离散事件仿真简例——银行排队系统
- 高通QCS603/QCS605物联网系统芯片介绍,QCS603/QCS605处理器参数比较
- 留言薄+留言薄==BBS
- 科大讯飞语音离线命令识别
- Dynamic Slimmable Network
- 解决导入网关gateway依赖爆红
- 解决ROS 与 Anaconda 冲突问题
- MindMaster:程序员的脑图工具
- 麦中凡教授的精彩观点