question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Actuator RabbitMQ cannot report the status properly if not binded

See original GitHub issue

Hi,

My app is connecting to RabbitMQ thru the settings coming from a config server. The app is working fine but the actuator endpoints reports:

status:DOWN
binders
  status:UP
  rabbit-primary
    status:UP
    binderHealthIndicator
      status:UP
      version:3.5.8
rabbit
  status:DOWN
  error:org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection refused)

After creating a service and binding it to the app, the status is fine:

status:UP
binders
  status:UP
  rabbit-primary
    status:UP
    binderHealthIndicator
      status:UP
      version:3.5.8
rabbit
  status:UP

I’m using the latest Springboot 1.5.9 version and run on PWS.

I know it’s better to be able to bind to a service, but in reality it won’t be always the case.

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
christophe-fcommented, Dec 13, 2017

Hi Phil,

Here is a sample at https://github.com/christophe-f/rabbitmq-actuator-sample

You can replace line 11 in application.yml with your own settings to be able to reproduce.

0reactions
spring-projects-issuescommented, May 10, 2018

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Production-ready Features - Spring
Actuator endpoints let you monitor and interact with your application. Spring Boot includes a number of built-in endpoints and lets you add your...
Read more >
Prevent @RabbitListener in spring-rabbit from trying to ...
I've had a similar problem, but solved it with. spring.rabbitmq.listener.direct.auto-startup=false. SpringBoot version 2.2.4.RELEASE.
Read more >
Windows-specific Issues - RabbitMQ
If you must upgrade Erlang, use this procedure: Make sure to use the same administrative user that was used to install RabbitMQ; Stop...
Read more >
spring-projects/spring-amqp - Gitter
What you say I only see the problem when thread pool is less than sum of containers ... State: BLOCKED at app//org.springframework.amqp.rabbit.listener.
Read more >
Security Overview for Spring Cloud Services - VMware Docs
An admin-level client is not required for creating and deleting SSO ... is generated at binding request time, an attacker would be unable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found