Comments (8)
nacos容器把参数都做了环境变量,他是从环境变量读取参数的。不知道你的修改方式是修改的哪里。可以进入容器执行env看一下变量。建议的方式是通过run的时候传入环境变量或者挂载配置文件的方式优雅处理
from nacos.
可以分析一下nacos-docker这个项目。了解一下它在容器化的时候做了什么
from nacos.
有可能是nacos-client已经获取到新配置并且通知了应用,但是应用不使用新配置;
也有可能是nacos-client已经获取到新配置并且通知了应用,但应用应用新配置时出错导致新配置不被使用。
可以查看下${user.home}/logs/nacos 下的日志,看下有没有信息, 同时排查下应用在使用新配置时的逻辑是否有问题。
from nacos.
我是从界面上修改的配置。
现象我已经描述过了,楼上应该是没看清,我再次描述一遍:界面上修改配置yaml,修改后看日志client收到了变更通知,但通知的配置不是最新的,从数量上可以判断,而且重启应用也拉不到最新的配置(本地缓存的配置我删除了,新建的缓存还是旧配置)
而当我重启nacos容器,拉到的配置就是最新的
from nacos.
刚刚又出现注册的服务网关获取不到的情况,nacos控制台上能看到注册服务,网关日志里服务列表就是空数组init new ips(1) service: DEFAULT_GROUP@@app-system -> []
我已经关闭容器,改用直接启动方式了
from nacos.
目前发现一个影响点是系统时间不对,暂时没时间验证是不是这个问题
from nacos.
首先Refresh keys changed
这个日志不是nacos打印的, 应该是你的应用或者应用框架打印的,如果nacos-client的日志(不是应用日志)打印的是已经获取到了新配置,那么就一定是新的配置,因为nacos-client是按照md5值做校验的,md5不一致不会通知lisntner,
另外网关上获取的服务列表是新的问题,建议不要混在一个issue里讨论。
from nacos.
No more response from author for a long time, and current information is not enough to judge problem.
from nacos.
Related Issues (20)
- Nacos Unauthorized Vulnerability HOT 1
- 系统语言切换至英文后,权限控制-角色管理页面的查询条件的label还显示的是中文
- Version:2.3.2 Unauthorized access to information leakage HOT 1
- linux环境中启动nacos异常 HOT 1
- 求助!单机模式启动报错,试了多个版本都报错
- [db-error] master db down HOT 1
- nacos upgrade: Client not connected,current status:STARTING HOT 2
- 客户端使用2.2.3 nacos-client,服务端2.3.1,开启安全认证,微服务注册临时实例成功后修改密码,微服务配置不做修改和重启,服务持续在线 HOT 4
- Docker-compose deployment nacos fail
- 服务列表和配置管理列表页面下面能不能加上总记录数 HOT 1
- How to set a key in docker? HOT 1
- 克隆和导入配置没有记录操作人
- 请问监听有考虑过回调接口是一个数组吗 HOT 2
- 将实例下线后consumer侧没有实时生效,短时间内还能调用到该实例 HOT 2
- fix CacheDirUtil read properties
- 用通义灵码,人人都是开源贡献者:利用通义灵码,帮助Nacos Client统一寻址模块的代码,并提供自定义拓展能力。 HOT 1
- 客户端使用没有在服务端创建的namespace Id,可以正常注册发现,但是控制台看不到 HOT 3
- 2.3.2版本集群部署,dubbo修改metadataType后注册实例,注册中心实例元数据未更新 HOT 1
- 2.3.2版本集群部署,dubbo频繁注册实例,注册中心实例元数据未更新
- 2.3.2版本集群部署,dubbo修改metadataType后注册实例,注册中心实例元数据未更新 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nacos.