Skip to content
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

Failed to obtain nacos information after upgrading to 2023.0.1.3 #3877

Open
jfly-cloud opened this issue Oct 30, 2024 · 10 comments
Open

Failed to obtain nacos information after upgrading to 2023.0.1.3 #3877

jfly-cloud opened this issue Oct 30, 2024 · 10 comments
Labels
area/nacos spring cloud alibaba nacos kind/question

Comments

@jfly-cloud
Copy link

jfly-cloud commented Oct 30, 2024

Which Component
Nacos config

Describe the bug
After upgrading to 2023.0.1.3, the namespace and group under nacos config cannot be configured, causing failure to obtain nacos configuration information.

Screenshots
image

Additional context
MacOS 、Java21 、 Version 2023.0.1.3

@herodotus-ecosystem
Copy link

难说是这个问题导致的 #3878

@chickenlj
Copy link
Collaborator

chickenlj commented Oct 31, 2024

@jfly-cloud Could you please provide more details.

Do you have spring.config.import specified?

causing failure to obtain nacos configuration information. What's the exact failure? How do you use nacos config to get the new value?

@chickenlj
Copy link
Collaborator

Would be great if you can provide a demo that can reproduce the issue

@yuluo-yx
Copy link
Collaborator

@jfly-cloud you can first refer to the documentation to compare whether the configuration file is correct.

@yuluo-yx yuluo-yx added kind/question area/nacos spring cloud alibaba nacos labels Oct 31, 2024
@jfly-cloud
Copy link
Author

If I upgrade to 2023.0.1.3, spring.cloud.nacos.config.namespace and spring.cloud.nacos.config.group no longer take effect, please check.

@yuluo-yx
Copy link
Collaborator

If I upgrade to 2023.0.1.3, spring.cloud.nacos.config.namespace and spring.cloud.nacos.config.group no longer take effect, please check.

refer to the advanced guide. It is recommended to use the spring.config.import configuration method in 2021 and above versions.

https://sca.aliyun.com/docs/2022/user-guide/nacos/advanced-guide/?spm=5176.29160081.0.0.74805c72TsH1o1#%E8%87%AA%E5%AE%9A%E4%B9%89-namespace-%E7%9A%84%E9%85%8D%E7%BD%AE

@jfly-cloud
Copy link
Author

Please note that versions before 2023.0.1.3 are available.

@chickenlj
Copy link
Collaborator

@jfly-cloud Could you please provide more details.

Do you have spring.config.import specified?

causing failure to obtain nacos configuration information. What's the exact failure? How do you use nacos config to get the new value?

@jfly-cloud Can you provide the above information, thanks.

@jfly-cloud
Copy link
Author

jfly-cloud commented Nov 1, 2024

The screenshot is very clear, According to the documentation, I am using(bootstrap.yml):

User-defined namespace configurations

User-defined Group configuration

It is no longer available after upgrading to 2023.0.1.3.

@jfly-cloud
Copy link
Author

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nacos spring cloud alibaba nacos kind/question
Projects
None yet
Development

No branches or pull requests

4 participants