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 ...
随机推荐
- idea选中文件时左侧菜单自动定位到文件所在位置
一:设置成自动定位,如图: 二:点击项目工程目录上的阻击按钮,自动定位
- 1018 Public Bike Management (30分) (迪杰斯特拉+dfs)
思路就是dijkstra找出最短路,dfs比较每一个最短路. dijkstra可以找出每个点的前一个点, 所以dfs搜索比较的时候怎么处理携带和带走的数量就是关键,考虑到这个携带和带走和路径顺序有关, ...
- Django ORM 常用的13个方法
介绍一个可以以py脚本方式运行ORM操作的方法: 可在项目内新建个py文件,复制项目内manage.py文件中的以下代码: if __name__ == "__main__": o ...
- Django 删除 migrations
如果想重新创建表格,可以按如下步骤进行操作: 1. 从数据库中删除表格 DROP TABLE `table_name`; 2. 删除 migrations 文件 文件在APP名称下的 migratio ...
- Centos7 虚拟环境安装Django 出现ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' %Database.sqlite_version)错误
Centos7 虚拟环境安装Django 出现SQLite版本问题 raise ImproperlyConfigured('SQLite 3.8.3 or later is required (fou ...
- [BUUCTF 2018]Online Tool
进入页面 贴出源码 <?php if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER ...
- 批处理执行Testng
@echo off set LIB=项目的jar路径 set CLASSPATH=%LIB%\jar\commons-beanutils-.jar;%LIB%\jar\testng.jar;%LIB% ...
- 安装完 Ubuntu 16.04.1,重启出现[sda] Assuming drive cache: write through的问题
重装了一下ubuntu,安装成功后重启出现了这个问题 刚开始以为是重启慢,就没在意这么多,可是我等了半个小时,(我特么的真闲,其实是忙别的忘了),还不行,咦,然后我就去找了找问题,哈哈哈哈 看图说话, ...
- Codeforce 977E Cyclic Components
dfs判断图的连通块数量~ #include<cstdio> #include<algorithm> #include<vector> #include<cs ...
- 页面分享功能,分享好友、朋友圈判断,用share_type做标记 这里用的是jweixin-1.3.2.js
这里用的是jweixin-1.3.2.js trigger: function (res) { //判断分享的状态,好友.朋友圈 localStorage.setItem("share_ty ...