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

Request to catalog/datacenters hangs #1912

Closed
tpham-here opened this issue Apr 1, 2016 · 4 comments
Closed

Request to catalog/datacenters hangs #1912

tpham-here opened this issue Apr 1, 2016 · 4 comments
Labels
type/bug Feature does not function as expected

Comments

@tpham-here
Copy link

We have a Consul server (1 of 5 in a cluster) that is not responding to GET v1/catalog/datacenters requests. The request hangs on that one Consul server. Normally, this GET request responds within seconds. Other requests to the catalog on that Consul server work fine, e.g. v1/catalog/nodes and v1/catalog/services. The Consul server has been online for the past 5 weeks. The VM that the Consul server is on is functioning fine, i.e. tcpdump, ping, nmap, iperf shows the correct ports are opened and traffic is flowing smoothly.

There was an issue back in August 2015 having similar symptoms - #1154. There is not much in the logs that detail what could have gone wrong. The only workaround we have was to restart the Consul server. The Consul server we are running is:

# consul version
Consul v0.6.3
Consul Protocol: 3 (Understands back to: 1)

The patch for issue #1154 should have already been included in our version. Please advise.

@slackpad
Copy link
Contributor

Hi @tpham-here if you run consul members -wan on that server does it show any other servers on the WAN? I'm wondering if that server isn't properly joined to any others in the WAN, or it has some bogus entries for failed servers. If it doesn't look right you should be able to consul join -wan <another server> to get it introduced to the other WAN members.

@tpham-here
Copy link
Author

I recently encountered the same issue and got a chance to issue 'consul members -wan'. The command hangs.

@tetsusoh
Copy link

tetsusoh commented Jun 6, 2016

vote. I had similar problem. consul members -wan returned as normal and other api also responsive except the /v1/catalog/datacenters

@slackpad slackpad added the type/bug Feature does not function as expected label Aug 10, 2016
@slackpad slackpad added this to the 0.7.4 milestone Nov 22, 2016
@slackpad slackpad removed this from the Triaged milestone Apr 18, 2017
@slackpad
Copy link
Contributor

slackpad commented May 3, 2017

We completely reworked the guts of this in Consul 0.8.0 - the RPC interface is gone and this uses the regular HTTP API, and we updated the WAN internals. I'll close this out for now since we haven't seen any more reports of this. Please let us know if you can reproduce this with 0.8.0 or later.

@slackpad slackpad closed this as completed May 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Feature does not function as expected
Projects
None yet
Development

No branches or pull requests

3 participants