-
Notifications
You must be signed in to change notification settings - Fork 41.2k
/actuator/health never returns when AMQ is down? #25188
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
Comments
We had a problem in this area in the past (see #10809) but we haven't see it since that issue was fixed. Without knowing more about your VPN, how it affects your network stack, if you were using a hostname or IP address to connect to AMQ, etc, I don't think we'll be able to figure this one out. Can you please try to share a small sample that reproduces the problem without involving your VPN. For example, an app configured with a host that won't resolve or an IP address that is unreachable. If that's not possible, please reproduce the problem with your app and then take two thread dumps 10 or so seconds apart and share them with us. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Oh, my! I must have missed the original reply. I am so very sorry. Yes. I’ll try to get that information for you. |
Ok. Here's is an Intellij/Gradle project based on the SpringAdmin project (because I had it handy). I simply added the AMQ starter package and set up a failover property with a dummy IP address. The actuator port is: http://localhost:8081/actuator Before the AMQ change added, the /health endpoint is fine. When I run it with the AMQ library loaded, it isn't. |
Oh... and this project is running 2.4.2. |
Thanks for the sample. This looks like an ActiveMQ limitation. When we call
This monitor is held by another thread where the failover transport is trying to establish a connection:
When the
This monitor is held by the thread that's making the Please raise this with the ActiveMQ team. Ideally, calling |
Ok, thanks. It seems to affect far more than just the Health monitor. Several other parts of my main project don't really get running. I guess I'll need to set the retry connects low and then... I don't know. I hope there's an event for connect failure that I can glom onto and restart it. |
I'm so sorry if this isn't the place.
I'm not entirely sure if I've even identified the issue, but here's what I have. I'm not including files, etc. unless someone wants them, as I fully expect someone to point me to a thread/issue/whatnot that I failed to find.
I was adding in the SB Admin Client to a local project I had. I couldn't do other work because my corporate VPN was down. I spent hours on it because I couldn't the /actuator/health endpoint to respond. Finally, my VPN came up, and BOOM! So did the endpoint.
I then dropped the VPN and, again, the endpoint stopped responding.
As the SB app was essentially idle when running, the only thing it needed the VPN for was for AMQ.
So, is there a known issue with this? I'm running 2.3.4. Or is there something else that might block the health endpoint from returning?
Thanks!
The text was updated successfully, but these errors were encountered: