Skip to content

Bug: UI health state doesn't reflect the latest state #5450

Description

@cdprete

Spring Boot Admin Server information

  • Version: 4.1.0

  • Spring Boot version: 4.1.0

  • Configured Security: None

  • Webflux or Servlet application: WebFlux

Client information

  • Spring Boot versions: 4.0.x

  • Used discovery mechanism: Eureka

  • Webflux or Servlet application: Servlet

Description

Hello.
It seems like the fix provided in #5286 is now preventing the UI to show the latest health state correctly and, instead, some stale value is getting shown.
See, for example, the picture below:

Image

where the latest state is the one in the JSON on the right and it should, therefore, be DOWN, but the health indicator in the UI is still shown as UP.
Weird enough, the journal view doesn't show additional STATUS_UPDATED events either apart maybe the 1st one, whose payload matches the UI shown in the UI.
It's like the newer state is never produced by the SBA server, like if the StatusUpdater is stopped.
If it's not the case, then somehow the new states are not getting propagated, either in the back-end or in the UI.

Activity

  1. cdprete commented on Jun 16, 2026

    @cdprete
    ContributorAuthor

    I cannot replicate this locally with the sample servlet app, though.
    I wonder if the UI has somehow some caching issues or what could the cause be...

  2. cdprete commented on Jun 17, 2026

    @cdprete
    ContributorAuthor

    Hi.

    Indeed it seems like there is an issue there, but it's more related generally with the refresh of the UI itself and not with the change of state from UP to DOWN or whatever.
    See for example:

    Image

    The state was not updated since yesterday in the UI.

  3. cdprete commented on Jun 17, 2026

    @cdprete
    ContributorAuthor

    Hey @SteKoe, @ulischulte, @hzpz.
    Can we have the provided fix reviewed and released as soon as possible, please? Tnx

  4. added 10 commits that reference this issue on Jun 17, 2026
  5. 7 remaining items

  6. added 4 commits that reference this issue on Jun 19, 2026
  7. added a commit that references this issue on Jun 19, 2026
  8. reopened this on Jun 26, 2026
  9. SteKoe commented on Jun 26, 2026

    @SteKoe
    Contributor

    As mentioned in #5476 I have reopened this issue for now.

  10. cdprete commented on Sep 4, 2026

    @cdprete
    ContributorAuthor

    @SteKoe while the in-memory event store implementation works just fine with the work that was done here (by setting the property exposed in #5483 to full explicitly), with Hazelcast I'm having again this issue where the status shown in the UI is stale, even while keeping the same configuration said previously.

    It's not only stale/old in sense of content, but even for the status itself.
    I've an health indicator which is reported as ATWORK since 1 day, but if I call directly the health endpoint myself the application reports all UP.

    As a matter of fact, it seems like SBA is not even pulling for updates anymore (at least, according to the journal view)

    Image

    since the last entry is from yesterday.

    Do we want to use this same ticket to investigate this or should I open a new one?

    I had to introduce the Hazelcast event store because I enabled notifications.
    I don't know if there is some other way in SBA to keep the data consistent across multiple instances.

  11. cdprete commented on Sep 4, 2026

    @cdprete
    ContributorAuthor

    @SteKoe while the in-memory event store implementation works just fine with the work that was done here (by setting the property exposed in #5483 to full explicitly), with Hazelcast I'm having again this issue where the status shown in the UI is stale, even while keeping the same configuration said previously.

    It's not only stale/old in sense of content, but even for the status itself. I've an health indicator which is reported as ATWORK since 1 day, but if I call directly the health endpoint myself the application reports all UP.

    As a matter of fact, it seems like SBA is not even pulling for updates anymore (at least, according to the journal view)

    Image since the last entry is from yesterday.

    Do we want to use this same ticket to investigate this or should I open a new one?

    I had to introduce the Hazelcast event store because I enabled notifications. I don't know if there is some other way in SBA to keep the data consistent across multiple instances.

    I've a solution for this. I'll submit a PR in the next days.

  12. cdprete commented on Oct 1, 2026

    @cdprete
    ContributorAuthor

    @SteKoe didn't you say you wanted to keep this open to investigate other approaches?

  13. reopened this on Oct 1, 2026
  14. SteKoe commented on Oct 1, 2026

    @SteKoe
    Contributor

    It was closed due to a merged PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions