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

get_machines during connection attempt fails #247

Open
jbrendel opened this issue Jul 12, 2017 · 1 comment
Open

get_machines during connection attempt fails #247

jbrendel opened this issue Jul 12, 2017 · 1 comment

Comments

@jbrendel
Copy link

I'm running a recent 3.* image of etcd in a container. I then try to connect to this instance, like so:

from etcd import client
c = client.Client(host="127.0.0.1", port=2379)

This results in:

HTTPError: 404 Client Error: Not Found

The traceback reveals that this is thrown here:

File "/home/jbrendel/projects/pani/local/lib/python2.7/site-packages/etcd/server_ops.py", line 47, in get_machines
  response = self.client.send(2, 'get', fq_path, allow_reconnect=False)

Adding a print statement there shows that it tries to read /keys/_etcd/machines

My etcd version doesn't have this key, though.

What seems to be the problem?

@manishshambu
Copy link

I'm facing the same issue. Any luck with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants