Skip to content
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

"keep-alive" connections to consul #3600

Closed
drscre opened this Issue Dec 19, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@drscre
Copy link

drscre commented Dec 19, 2017

I just bumped into a situation where Prometheus v1.6.1 stopped receiving updates from Consul server.
This is probably due to a temporary networking failure between Prometheus and Consul.

netstat on Prometheus node shows ESTABLISHED connections to Consul.
netstat on Consul node shows no incoming connections from Prometheus.

I assume this is the consequence of using "blocking" api when you open a long-living connection to Consul and wait for changes to be pushed to you.
So it seems that Consul failed to push changes to Prometheus while network was down or maybe wait timeout exceeded. So he closed connection on his side, but that did not reach Prometheus.
On the other way, Prometheus still thinks everything is fine, since from his point of view "no changes" and "server dropped his end of connection" looks the same.

It would be nice to have an option to, maybe, periodically reconnect to consul server

P.S. I know that I am doing it wrong and should launch consul agent locally :-)

@or4cle

This comment has been minimized.

Copy link

or4cle commented Dec 20, 2017

Sounds similar to: #3314

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Feb 2, 2018

Yeah, sounds like a dupe of #3314

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 22, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.