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

request server three times after startup in 4.0.3 #2299

Closed
nickycheng opened this issue Jun 25, 2023 · 1 comment
Closed

request server three times after startup in 4.0.3 #2299

nickycheng opened this issue Jun 25, 2023 · 1 comment

Comments

@nickycheng
Copy link

Starting from version 4.0.3, the cloud config client will request three times server after startup.
The log is as follows:

2023-06-25T13:28:10.909+08:00 INFO 21940 --- [ main] o.s.c.c.c.ConfigServerConfigDataLoader : Fetching config from server at : http://springcloudconfig
2023-06-25T13:28:10.909+08:00 INFO 21940 --- [ main] o.s.c.c.c.ConfigServerConfigDataLoader : Located environment: name=xx, profiles=[qa], label=master, version=820000000007992159, state=null
2023-06-25T13:28:10.909+08:00 INFO 21940 --- [ main] o.s.c.c.c.ConfigServerConfigDataLoader : Fetching config from server at : http://springcloudconfig
2023-06-25T13:28:10.909+08:00 INFO 21940 --- [ main] o.s.c.c.c.ConfigServerConfigDataLoader : Located environment: name=xx, profiles=[qa], label=master, version=820000000007992159, state=null
2023-06-25T13:28:10.909+08:00 INFO 21940 --- [ main] o.s.c.c.c.ConfigServerConfigDataLoader : Fetching config from server at : http://springcloudconfig
2023-06-25T13:28:10.909+08:00 INFO 21940 --- [ main] o.s.c.c.c.ConfigServerConfigDataLoader : Located environment: name=xx, profiles=[qa], label=master, version=820000000007992159, state=null

Here is a simple example
spc-issue.zip

@ryanjbaxter
Copy link
Contributor

This is addressed by this PR and will be part of the next release
#2278

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

2 participants