-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用RefreshScope 注解,项目在运行一段时间后失效 #3667
Comments
需要先确认2个问题:
以及可以添加一下 Nacos 调试日志,看下服务端收到的配置是否是最新的
|
|
@NetRainn 社区有相关的 issue 问题,可以先试试里面的解决方案看看 |
This issue has been open 30 days with no activity. This will be closed in 7 days. |
This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community. |
问题描述
使用RefreshScope 注解,项目在运行一段时间后失效。
项目中使用该注解,正常情况下是可以读取到nacos上的配置变化,但是运行一段时间后就始终读取不到修改后的配置,属于偶发
排查
已排查:nacos上可以看到服务是正常运行的,没有掉,接口也是可以正常请求。服务器上本地记录也没有更新
日志没有探测到配置有变化,请问是什么情况?
未正常拉取到修改后的日志
拉取到修改后的配置
环境说明
系统:Ubuntu 22
Nacos版本:2.2.3
nacos-client:2.2.1
SpringBoot版本:3.0.2
The text was updated successfully, but these errors were encountered: