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相关推荐

  1. choose an existing server不能选问题

    eclipse中的web project项目运行 Run As → 1 run on server 出现图上的情况 Choose an existing server选项不能选,Tomcat服务器都配 ...

  2. windows server 2012 远程连不上_CVE20201350 | Windows DNS Server远程代码执行漏洞通告

    0x00 漏洞概述 CVE   ID CVE-2020-1350 时     间 2020-07-15 类     型 RCE 等     级 严重 远程利用 是 影响范围 0x01 漏洞详情 微软于 ...

  3. sql server java类型_使用基本 JDBC 数据类型 - SQL Server | Microsoft Docs

    使用基本数据类型Using basic data types 01/29/2021 本文内容 Microsoft JDBC Driver for SQL ServerMicrosoft JDBC Dr ...

  4. SQL Server 无法生成 FRunCM 线程。请查看 SQL Server 错误日志和 Windows 事件日志(转)...

    前言: 今天遇到这个sql服务无法启用 .无法登陆 的情况..在google 百度 搜了一下.发现很多网站都是采集来的数据..(很奇怪这些采集站都那么靠前!) 照着文章里边的方法去试试都不行,,,后来 ...

  5. html连接数据库id号自动生成器,SQL Server数据库sql语句生成器(SqlDataToScript)的使用(sql server自增列(id)插入固定值)...

    SqlDataToScript是根据表数据进行生成 Insert Into语句,此工具还有一个好处是可以对自增列插入固定值,例如:自增的列id值为5,但是5这个行值已经删除,如果想存储Id自增列值为5 ...

  6. Windows Server 2008 将与 Visual Studio 2008 和 SQL Server 2008 于2008年2月27 日在洛杉矶共同发布...

    微软公司刚刚在全球伙伴大会 (Worldwide Partner Conference) 上郑重宣布,Windows Server 2008 将与 Visual Studio 2008 和 SQL S ...

  7. 教你发布Silverlight Bussiness Application(SQL Server 登录,局域网访问,以及使用ArcGIS Server服务需要注意的问题)...

    教你发布Silverlight Bussiness Application(SQL Server 登录,局域网访问,以及使用ArcGIS Server服务需要注意的问题) 原文:教你发布Silverl ...

  8. 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 ...

  9. ArcGIS Maritime Server 开发教程(一)了解 ArcGIS Maritime Server

    ArcGIS Maritime Server 开发教程(一)了解 ArcGIS Maritime Server ArcGIS Maritime Server 是ArcGIS平台面向海洋.海事以及航道等 ...

最新文章

  1. MySQL 存储过程初研究
  2. .bam.bai的意义_业务活动监视器(BAM)2.0带来的革命
  3. sql管理:索引超出范围必须为非负值并小于集合大小_java面试基础知识-数据库基础知识(数据库索引部分)...
  4. python3+arcface2.0 离线人脸识别 demo
  5. 利用ajax如何根据权限加载目录,AJAX调用框架,包含权限验证
  6. python的序列之列表
  7. ipadmini1iOS9.3.5降级8.4.1教程
  8. 为什么显示连接服务器超时,连接服务器超时什么意思
  9. 现在的小程序,商家凭什么入驻你!
  10. Python 缩写月份单词
  11. 决策理论(Decision theory)自动规划和调度(Automated planning and scheduling)(双语)
  12. centos各文件夹作用
  13. 营收、净利双收,贝壳找房稳了?
  14. Hyper-V虚拟机安装XP系统
  15. 又一个阿里云盘资源搜索引擎实现效果展示
  16. ROS中map、odom、base_link坐标系的理解和这三个坐标系在AMCL中的关系
  17. brew安装时fatal: not in a git directory Error: Command failed with exit 128: git
  18. 逆向工程,怎么样和哪里开始?
  19. ubuntu-sudo命令
  20. 用python在网页上爬【微博】用户发的微博(json解析)

热门文章

  1. CentOS yum方式安装ffmpeg
  2. PyTorch源码解析--torchvision.transforms(数据预处理、数据增强)
  3. 提升沟通效率,增强企业执行力-中小企业融合通信解决方案
  4. ReportViewer在Chrome 浏览器中无法显示的解决方法
  5. oracle sql developer的简单使用
  6. n阶台阶 java_上N阶楼梯,一次走1个台阶或者2个台阶,共有多少种走法?
  7. java 时间 am_如何在java中使用AM / PM获取时间戳
  8. 计算两个时间差,单位天、小时、分钟、秒
  9. python爬虫遇到验证码的处理方法(以爬取中国执行信息公开网为例)
  10. 配置nginx+mongrel的rails部署环境