-
Notifications
You must be signed in to change notification settings - Fork 195
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
Intermittent Error while retrieving data from rabbitHost statusCode=0 #120
Comments
@kbudde is this repo still active? |
@ufou Yes, this repo is still active. Just the response times are not always perfect. It's totally normal to run one exporter as companion for every rabbitmq host. What rabbitmq version and what rabbitmq exporter version are you using? |
@kbudde thanks, I'll try decreasing the scrape frequency - I also thought the same - that the system was unable to open connections due to a limit being reached - but looking at the number of open connections - it's hovering around 90 which really is nothing at all... I'm running rabbitmq version 3.7.14 (though I've actually tried versions down to 3.7.6 to see if it was something in a recent version - the problem occurred with all versions tested), I'm running exporter version 0.29.0, again I've tested with older versions but the problem still occurs - I've also tried 1.0.0-RC4 but still no joy. My hunch is this is an environmental problem with kubernetes, I just cannot figure out what is causing it (hence hope you might have seen similar) - thanks for getting back to me anyway! |
one other thing I noticed that it could be ipv6 related:
When a rabbitmq pod gets restarted I get more legitimate looking errors in the exported logs:
|
Maybe your username and password are wrong? Or the user doesn't have the required permissions |
@gaizeror I wish it were that simple, that would not explain the intermittent nature of the errors:
|
I found a work around, setting an env variable on the exporter container to force ipv4 seems to work:
Thanks for looking into this! |
as seen in #120 the exporter tries to fetch api with ipv6 in kubernetes switched rabbiturl by default to 127.0.0.1 instead of localhost
Hi,
We are using the rabbitmq-ha helm chart which also deploys the exporter to our cluster, metrics are sometimes working - our dashboard jumps from being OK to not OK quite frequently, in the rabbitmq exporter logs we are getting some errors:
The text was updated successfully, but these errors were encountered: