-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
grpc-gateway /kv/range hangs with auth enabled #6667
Comments
It works for me? Can you share the full commands to reproduce this? |
@xiang90 @sbatschelet I also could reproduce the problem. Although the gateway does not support auth currently, it seems to be problematic. I'll work on it. |
@heyitsanthony I think this is due to the empty user thing you just fixed. Can you help to confirm? Thanks! |
With patch: $ curl -H "Content-Type: application/json" -X POST -d '{"key": "Zm9v"}' http://127.0.0.1:2379/v3alpha/kv/range
{"error":"etcdserver: user name is empty","code":3} Without patch: hangs. Looks like it's fixed. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
etcdctl version: 3.1.0-rc.0
API version: 3.1
If auth is disabled this works as expected but otherwise the request will hang. This response differs from a put.
which although does not work correctly because of #6643 does respond with {"Error":"auth: revision in header is old","Code":2}.
This appears to be regression from a distance.
The text was updated successfully, but these errors were encountered: