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

Error when do watch request #15

Open
ZhangShangyu opened this issue Oct 21, 2022 · 2 comments
Open

Error when do watch request #15

ZhangShangyu opened this issue Oct 21, 2022 · 2 comments

Comments

@ZhangShangyu
Copy link

ZhangShangyu commented Oct 21, 2022

  1. start etcd-adapter at 2379 with a mysql backend
  2. send etcd http watch request
 curl http://localhost:2379/v3/watch \
        -X POST -d '{"create_request": {"key":"Zm9v"} }'

get this error response:

{"result":{"header":{},"watch_id":"4","created":true}}
{"result":{"header":{},"watch_id":"4","canceled":true,"cancel_reason":"watch closed"}}
{"error":{"grpc_code":2,"http_code":500,"message":"EOF","http_status":"Internal Server Error"}}

error log in etcd-adapter process:

ERRO[0009] failed to list foo for revision 0            
@tokers
Copy link
Contributor

tokers commented Oct 21, 2022

cc @bzp2010

@840963657
Copy link

  1. start etcd-adapter at 2379 with a mysql backend
  2. send etcd http watch request
 curl http://localhost:2379/v3/watch \
        -X POST -d '{"create_request": {"key":"Zm9v"} }'

get this error response:

{"result":{"header":{},"watch_id":"4","created":true}}
{"result":{"header":{},"watch_id":"4","canceled":true,"cancel_reason":"watch closed"}}
{"error":{"grpc_code":2,"http_code":500,"message":"EOF","http_status":"Internal Server Error"}}

error log in etcd-adapter process:

ERRO[0009] failed to list foo for revision 0            

hello 能加个联系方式吗?我的etcd-adapter一直编译不过,想请教几个问题

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

3 participants