-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Problem on getting latest application list programatically #3358
Comments
Hi @Muyangmin, using First you wrote the changes are delayed (showing up a bit later), then you wrote you have to restart (otherwise there will be no updates at all?).
Also check if the data that is not being updated is coming from the monitored applications or from eureka. Maybe the Admin Server itself does not fetch updates from eureka ( As you can see, there could be many reasons. If you do not find a solution please provide more information (logs, configuration, more code, runnable example, ...) |
Thanks for your detailed response. From the previous investigation, I can confirm that the information from SBA itself can be updated in a timely manner. Your reply has given me some new insights, and perhaps there are some potential issues in the infinite loop I use for updates. I will focus on investigating this aspect, and will reply here with any progress. 👍 |
I'm sorry for the delayed response. After carefully rechecking our program, we found that in some very rare scenarios, our update operation would fail, and there was no exception handling in the loop (what a foolish mistake). After modifying the program and redeploying it, we no longer observed the previous issue, so the problem should be resolved. Thank you very much for your support! |
Spring Boot Admin Server information
Version: 2.7.14
Spring Boot version: 2.7.10
Configured Security: NONE
Webflux or Servlet application: Webflux
Client information
Spring Boot versions: 2.7.x
Used discovery mechanism: Eureka
Webflux or Servlet application: Servlet
Description
Sorry but I've really read the issue notes and asked a question on StackOverflow(Question Link Here) before, but got no answers for 10 days. This problem is really important for me so hope I can get some help here, Thanks!
Below is the question copy:
The text was updated successfully, but these errors were encountered: