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

404 Errors on curl requests but etcdctl works. Single Instance Vagrant VM #12377

Closed
devnullroots opened this issue Oct 9, 2020 · 3 comments
Closed
Labels

Comments

@devnullroots
Copy link

Hi,

I'm trying to experiment with etcd for a use case we might need it and I'm having quite a few troubles. I have installed etcd on a Ubuntu 20.04.1 VM and launched etcd as a single node. What I'm experiencing is quite strange.

.etcdctl works perfectly out of the box. But all curl requests to most endpoints return 404 except for /version /health which return the version (3.4.13) and the health return true. Meanwhile I have launched etcd with --debug to get more info but I see no output on the failed requests.

What is going on? Can you guys help me out?

@spzala
Copy link
Member

spzala commented Oct 19, 2020

Can you please provide more details on the calls and the errors you are getting? The curl requests examples provided here should work fine - https://github.com/etcd-io/etcd/blob/master/Documentation/dev-guide/api_grpc_gateway.md

@tsharju
Copy link

tsharju commented Oct 27, 2020

I had a similar issue. Adding enable-grpc-gateway to true in config fixed it. Apparently that is false by default only when providing config file. This PR #12297 has more info.

@stale
Copy link

stale bot commented Jan 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 25, 2021
@stale stale bot closed this as completed Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants