-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
[Bug]:Can not aquire the specific config #11967
Comments
你好,麻烦将不可用的配置内容,dataId和group发一下,我复现下看看 |
dataId: org.apache.dubbo.samples.UserService:::provider:shop-user |
我用jdk8和jdk21都没有复现出来,客户端debug看下请求 |
看样子是client获取到数据后保存快照的时候报错了,文件名特殊符号不支持 |
新版本应该在写缓存的时候有进行encode的,是否是系统版本读取的时候没读取正确? 可以看下 PathEncode 和PathEncodeManager是否没有用上或者读取错误导致没有识别到用Windows的PathEncode |
com.alibaba.nacos.config.server.service.dump.disk.ConfigRawDiskService DiskUtil被迁移到了这个上面,但是丢失了#10101中的encode修复 |
这个问题在哪些版本中存在? |
Describe the bug
environments:
I start a dubbo service on local PC(the code of this dubbo service comes from the dubbo-samples), using nacos client 2.2.0. And it works fine, the service registered and I can find the config and service info through the console:
Following the "quick start" of the official website , I want to get the config content of "dataId=org.apache.dubbo.samples.UserService:::provider:shop-user, group=dubbo" as below:
The expected result config content should be :
But it returns null:
Then I change the dataId and group to try to aquire another config content:
It works fine just as below, which is really wired:
I have confirmed that the dataId and group is the same as the console shows, I have no idea for this bug, can someone tell me where the problem lies?
The text was updated successfully, but these errors were encountered: