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 揪出来
不知道你有没有经历过,想联系一位很长时间没有联系的朋友,发现对方很早以前已经把你删除了,而你还一无所知. 相信每个人的微信通信录里都存在一些「僵尸粉」,他们默默地躺在联系人列表中,你以为对方还是朋友, ...
- wireshark抓本地包
# wireshark抓本地包 1. wireshark抓本地包 windows系统没有提供本地回环网络的接口,用wireshark监控网络的话只能看到经过网卡的流量,看不到访问localhost的流 ...
- Vue基础笔记2
目录 1. 如何获取Vue对象中的成员? 2. pre指定 3. for循环 4. todolist 5. 分隔符 6. computed 计算后的 7. vue的生命周期(讲解不全) 8. watc ...
- Atcoder Beginner Contest145E(01背包记录路径)
#define HAVE_STRUCT_TIMESPEC#include<bits/stdc++.h>using namespace std;int a[3007],b[3007];int ...
- Uva 11300 Spreading the Wealth(贪心)
题目链接:https://vjudge.net/problem/UVA-11300 这道题的思路太神了,但很难想到是贪心. 用M表示每个人最终拥有的金币数. 首先假设有四个人.假设1号给2号3枚,2号 ...
- SpringCloud全家桶学习之客户端负载均衡及自定义负载均衡算法----Ribbon(三)
一.Ribbon是什么? Spring Cloud Ribbon是基于Netflix Ribbon实现的一套客户端 负载均衡的工具(这里区别于nginx的负载均衡).简单来说,Ribbon是Netf ...
- HTML中的meta元素
<meta>元素必须放在<head>标记内,而且必须写在HTML文件前1024B之内 <meta>元素的主要目的是提供有关这份HTML文件的相关信息.例如编码方式, ...
- docker基础知识之挂载本地目录
docker可以支持把一个宿主机上的目录挂载到镜像里. docker run -it -v /home/dock/Downloads:/usr/Downloads ubuntu64 /bin/bash ...
- Django - Form嵌套的Meta类 + 为什么type()能创建类
Form里面嵌套了一个Meta类 class PostForm(forms.ModelForm): class Meta: model = Post # field to be exposed fie ...
- pillow 初级用法
# 转载至:https://www.cnblogs.com/apexchu/p/4231041.html Image类 Pillow中最重要的类就是Image,该类存在于同名的模块中.可以通过以下几种 ...