nacos 日志问题 ERR-CODE: [NACOS-0002], Type: [环境问题]
nacos配置中心配置后,项目启动正常,运行项目也正常,但是总是打印如下日志:
2019-10-11 15:44:09.792 [com.alibaba.nacos.client.Worker.longPullingfixed-xxx.xxx.xxx.xxx_8848-xxx.xxx.xxx.xx1_8848-xxx.xxx.xxx.xx2_8848-d6775f80-ed7a-409a-8dbc-49b2cddee4d1] ERROR com.alibaba.nacos.client.config.impl.ServerHttpAgent - [] [] [NACOS SocketTimeoutException] currentServerAddr:xxx.xxx.xxx.xxx:8848
2019-10-11 15:44:09.792 [com.alibaba.nacos.client.Worker.longPullingfixed-xxx.xxx.xxx.xxx_8848-xxx.xxx.xxx.xx1_8848-xxx.xxx.xxx.xx2_8848-d6775f80-ed7a-409a-8dbc-49b2cddee4d1] ERROR com.alibaba.nacos.client.config.impl.ServerHttpAgent - [] [] [NACOS-0002] no available server ERR-CODE: [NACOS-0002], Type: [环境问题], More: [http://console.taobao.net/help/NACOS-0002]
2019-10-11 15:44:09.792 [com.alibaba.nacos.client.Worker.longPullingfixed-xxx.xxx.xxx.xxx_8848-xxx.xxx.xxx.xx1_8848-xxx.xxx.xxx.xx2_8848-d6775f80-ed7a-409a-8dbc-49b2cddee4d1] ERROR com.alibaba.nacos.client.config.impl.ClientWorker - [fixed-xxx.xxx.xxx.xxx_8848-xxx.xxx.xxx.xx1_8848-xxx.xxx.xxx.xx2_8848-d6775f80-ed7a-409a-8dbc-49b2cddee4d1] [] [NACOS-XXXX] [check-update] get changed dataId exception, msg=java.net.ConnectException: no available server
原因是由于在远程服务器上的配置,网络不行导致的,将同样的配置放在本机nacos配置中心上启动,则没有该部分打印内容。
经过给官方提issues,查看解答,应是源码里面超时时间设置过短造成的,官方预计将会在1.2.0版本上修复,当前最新版本是1.1.4,后期可以做升级处理
nacos 日志问题 ERR-CODE: [NACOS-0002], Type: [环境问题]的更多相关文章
- npm ERR! code EINTEGRITY npm ERR! sha1- 报错解决办法
npm ERR! code EINTEGRITY npm ERR! sha1- 报错日志 npm ERR! code EINTEGRITY npm ERR! sha1-OGchPo3Xm/Ho8jAM ...
- Nacos(九):Nacos集群部署和遇到的问题
前言 前面的系列文章已经介绍了Nacos的如何接入SpringCloud,以及Nacos的基本使用方式 之前的文章中都是基于单机模式部署进行讲解的,本文对Nacos的集群部署方式进行说明 环境准备 J ...
- 安装Vue2的devtools发生错误npm ERR! code EINTEGRITY npm ERR! sha1-HTFDXrRzR2Ew8Bv9zlMSCVgPsS0= integrity checksum failed when using sha1: wanted sha1-HTFDXrRzR2Ew8Bv9zlMSCVgPsS0= but got sha1-Z6BeTMF4nhAO6h5A
1.github下载地址:https://github.com/vuejs/vue-devtools 2.下载好后进入vue-devtools-master工程 执行npm install ---- ...
- npm ERR! code EINTEGRITY npm! ERR! shal-
npm ERR! code EINTEGRITY npm ERR! sha1-nbqdpC/e8IOA7poHctXL5+bVXsE= integrity checksum failed when u ...
- npm ERR! code ENOENT
npm ERR! path F:\VsCodeWorkspace\labWeb\front\LabWebAdminFrontEnd\node_modules\core-jsnpm ERR! code ...
- Nacos系列:欢迎来到Nacos的世界!
什么是Nacos? Nacos 是构建以"服务"为中心的现代应用架构 (例如微服务范式.云原生范式) 的服务基础设施. Nacos可以做什么? 1.动态配置服务:支持以中心化.外部 ...
- npm install出错,npm ERR! code EINTEGRITY npm ERR! Verification failed while extracting url-parse@1.4.3
npm install时出现以下错误: npm ERR! code EINTEGRITY npm ERR! Verification failed while extracting url-parse ...
- 解决NPM无法安装任何包的解决方案(npm ERR! code MODULE_NOT_FOUND)
前言 今天突然发现npm无法使用了,执行任何命令都报如下错误: npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find module 'internal ...
- npm install 报错:ERR! code EINTEGRITY 解决方案
npm升级后,npm install 报错了,报错信息:ERR! code EINTEGRITY到处百度搜索解决方案,终于找到了!“npm cache verify”这条命令帮助了不少人 npm ca ...
随机推荐
- python-用正则表达式筛选文本信息
[摘要] 本文主要介绍如何对多个文本进行读取,并采用正则表达式对其中的信息进行筛选,将筛选出来的信息存写到一个新文本. 打开文件:open(‘文件名’,‘打开方式’)>>>file ...
- Servlt入门
Servlt入门 java的两种体系结构 C/S (客户端/服务器)体系结构 通讯效率高且安全,但系统占用多 B/S (浏览器/服务器)体系结构 节约开发成本 C/S (客户端/服务器)体系结 ...
- keil(MDK)错误记录
1.a parameter list without types is only allowed in a function definition(没有类型的参数列表只允许在函数定义中使用) 2.Er ...
- linux下使用bower时提示bower ESUDO Cannot be run with sudo解决办法
今天准备在使用bower安装一些东西的时候,废了老半天劲,因为需要node环境以及bower平台,安装不顺利,通过百度,最解决了这些问题: 在执行bower命令的时候,总是会报错,原来需要在命令后添加 ...
- k8s Learning Notes
Kubernetes - 组件介绍 MESOS APACHE 分布式资源管理框架 2019-5 Twitter > Kubernetes Docker Swarm 2019-07 阿里云宣布 D ...
- TensorFlow 模型的保存与载入
参考学习博客: # https://www.cnblogs.com/felixwang2/p/9190692.html 一.模型保存 # https://www.cnblogs.com/felixwa ...
- css实现单行和多行省略号
1.单行省略 { width:300px; overflow: hidden; text-overflow:ellipsis; whitewhite-space: nowrap; } 注:单行省略必须 ...
- 常用工具api等链接
java技术驿站 http://cmsblogs.com/ WatchMen(守望者成才网) http://www.watchmen.cn/ JAVA知识分享 http://www.java1234. ...
- cf--TV Subscriptions (Hard Version)
time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standa ...
- Codeforces Round #619 (Div. 2) Ayoub's function
Ayoub thinks that he is a very smart person, so he created a function f(s)f(s) , where ss is a binar ...