Skip to content

Conversation

@youngledo
Copy link
Contributor

This problem is similar to "#48320", so I also want it to return "unknown" when "version" cannot be found.

Normally, RabbitMQ will return the following information:
image
image

Similarly, different distributions may only return the following information:
image

Then the health check will return an exception:
image

To avoid such errors, return "unknown" when "version" cannot be found.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 10, 2025
@youngledo youngledo force-pushed the fix/rabbit-health-indicator-version branch from b81d494 to d6b7303 Compare December 10, 2025 03:20
@wilkinsona wilkinsona changed the title Set the version to 'unknown' when "version" is missing. RabbitHealthIndicator reports an error when version is missing from the connection's server properties Dec 10, 2025
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 10, 2025
@wilkinsona wilkinsona added this to the 3.4.x milestone Dec 10, 2025
@snicoll snicoll self-assigned this Dec 10, 2025
snicoll pushed a commit that referenced this pull request Dec 10, 2025
@snicoll snicoll closed this in e9771ff Dec 10, 2025
@snicoll snicoll modified the milestones: 3.4.x, 3.4.13 Dec 10, 2025
@snicoll
Copy link
Member

snicoll commented Dec 10, 2025

Good stuff @youngledo - Thanks!

@youngledo youngledo deleted the fix/rabbit-health-indicator-version branch December 11, 2025 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants