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

After attempting the upgrade of springcloud-alibaba-2023.0.1.3, the configuration center function is not available #3876

Closed
Comven opened this issue Oct 30, 2024 · 4 comments

Comments

@Comven
Copy link

Comven commented Oct 30, 2024

The normal version is spring-cloud-2023.0.3+spring-boot-3.2.11+spring-cloud-alibaba-2023.0.1.2 or spring-cloud-2023.0.3+spring-boot-3.3.5+spring-cloud-alibaba-2023.0.1.2

The abnormal version is spring-cloud-2023.0.3+spring-boot-3.2.11+spring-cloud-alibaba-2023.0.1.3 or spring-cloud-2023.0.3+spring-boot-3.3.5+spring-cloud-alibaba-2023.0.1.3

The logs under normal circumstances are as follows
正常情况nacos-config日志

The logs of abnormal situations are as follows
异常情况nacos-config日志

By comparison, there are no startup logs related to nacos config in version 2023.0.1.3

@herodotus-ecosystem
Copy link

猜测是这个问题导致的 #3878

@chickenlj
Copy link
Collaborator

@Comven Could you please provide more information for us to reproduce:

  1. configuration details in your application.yaml or application.properties
  2. the code snippet you use to get nacos config data

@chickenlj
Copy link
Collaborator

The log screenshot you given here is expected. The missing logs actually belong to nacos-client and has been logged to the logging files of nacos-client in the new version.

@Comven
Copy link
Author

Comven commented Nov 21, 2024

Finally, the following configuration was successfully set up in bootstrap

spring.config.import[0]=nacos:${spring.application.name}
spring.config.import[1]=nacos:${spring.application.name}.properties

The 2023.0.1.3 version no longer supports pulling and configuring default names, which feels like there are more configurations. If each program uses the configuration center, it must configure this parameter.

Additionally, this prompt issue still needs to be resolved

image

@Comven Comven closed this as completed Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants