使用nacos时,启动后一直报错,如下:

java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached at com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:162) ~[nacos-client-1.1.4.jar:na] at com.alibaba.nacos.client.config.http.MetricsHttpAgent.httpPost(MetricsHttpAgent.java:64) ~[nacos-client-1.1.4.jar:na] at com.alibaba.nacos.client.config.impl.ClientWorker.checkUpdateConfigStr(ClientWorker.java:377) [nacos-client-1.1.4.jar:na] at com.alibaba.nacos.client.config.impl.ClientWorker.checkUpdateDataIds(ClientWorker.java:352) [nacos-client-1.1.4.jar:na] at com.alibaba.nacos.client.config.impl.ClientWorker$LongPollingRunnable.run(ClientWorker.java:512) [nacos-client-1.1.4.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_102] at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) [na:1.8.0_102] at java.util.concurrent.FutureTask.run(FutureTask.java) [na:1.8.0_102] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_102] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_102] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]

可能是项目中pom.xml引入了nacos依赖包却没有读取到对应的配置文件引起的,将配置文件名改成bootstrap.扩展名即可解决。

[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached相关推荐

  1. The maximum number of tolerable server reconnection errors has been reached

    在多次重启服务的时候抱着个错误,解决办法是在maven中执行clear

  2. nacos配置中心[NACOS HTTP-GET] The maximum number of tolerable server reconnection errors has been reache

    nacos使用配置中心,启动项目控制台报错: [NACOS HTTP-GET] The maximum number of tolerable server reconnection errors h ...

  3. SpringCloud-11-解决[NACOS HTTP-GET] The maximum number of tolerable server reconnection errors has bee

    错误日志显示的是nacos的服务数量已达最大,实际原因是配置中心出问题了. 若仅使用了nacos的发现功能(discovery),则不需要引入配置依赖"spring-cloud-starte ...

  4. java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerable server reconnection err

    目录 描述 原因 解决 一种是将依赖给注释掉 另一种是创建一个boostrap.yml的文件 分析 描述 今天是要springcloud alibaba 的时候,在使用API gateway的时候.发 ...

  5. 启动报错java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerable

    启动报错java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerab 原因 项目的配置文件有applicatio ...

  6. openstack创建实例报错Exceeded maximum number of retries

    Error: 实例 "vm2" 执行所请求操作失败,实例处于错误状态.: 请稍后再试 [错误: Exceeded maximum number of retries. Exceed ...

  7. Oracle 数据库设置最大进程数参数方法,oracle最大进程数满了处理方法,sysdba管理员登录报“maximum number of processes (150) exceeded“问题解决

    oracle 数据库使用 sysdba 管理员登录报: ORA-00020: maximum number of processes (150) exceeded 译:超过了最大进程数(150) 方法 ...

  8. Linux Increase The Maximum Number Of Open Files / File Descriptors (FD)

    http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/ How do I increase the ...

  9. WCF:Maximum number of items that can be serialized or deserialized in an object graph is '65536'.

    错误 Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Cha ...

最新文章

  1. python代码需要背吗-Python 的库、方法这么多,写程序的时候能记住吗?
  2. Java四种输出语句
  3. 磁珠 符号_贴片磁珠功能_贴片磁珠应用
  4. 如何获取元素在父级div里的位置_关于元素的浮动你了解多少
  5. vscode设置中文,设置中文不成功问题
  6. ibatis resultclass java.util.list_mybatis 动态sql返回一个List封装类报错求解决方法
  7. 每日英语:How Many People Really Use Sina Weibo
  8. (十二)random模块
  9. 软件工程网络15个人阅读作业1 (201521123030 周汉麟)
  10. 网络工具之GNS3安装及使用
  11. 2.6 数值分析: 追赶法
  12. 什么样的面试更有效?
  13. LaTeX中文字体设置
  14. ArrayList源码分析与手写
  15. SAP STO With Billing流程与配置
  16. 苹果6严重卡顿_苹果手机iOS系统: 如果开放系统降级通道会怎么样?
  17. 常用正则表达式(手机,邮箱,身份证号,昵称,用户名,车型,车牌号)
  18. vue详细知识,语法和必备知识
  19. 2014全国计算机等级考试大纲,2014全国计算机等级考试大纲级.doc
  20. 信息系统成本与质量管理

热门文章

  1. 第一次软工作业(构建之法)
  2. 篡改计算机网络,基于TCP协议的网络数据实时篡改.doc
  3. PS for Mac 破解版下载
  4. 华为p8 root android6,华为p8青春版root教程【图解】
  5. ubuntu18.04 LTS 安装英伟达驱动
  6. 编辑视频贴纸软件_3招教你搞定怎么在视频上加贴纸,剪片必备的手机App!
  7. 免费的mysql云平台_免费的mysql云服务器
  8. win10快捷键【常用】桌面切换等快捷键
  9. 微信公众号音乐html,如何在微信公众号文章内插入音频及样式?
  10. 行癫:只有合作伙伴和客户成功,才是阿里云的成功