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

Etcd api-gateway watch error #43

Open
anthonydevelops opened this issue May 21, 2019 · 1 comment
Open

Etcd api-gateway watch error #43

anthonydevelops opened this issue May 21, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@anthonydevelops
Copy link
Collaborator

anthonydevelops commented May 21, 2019

Currently, watching using Node Webhooks has an issue when using Etcd's api-gateway, specifically with watching. Using the watch api request used to work but stopped randomly after working with the node error:

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connection listeners added. Use emitter.setMaxListeners() to increase limit

Change the following code in /client/server.js to that of how Etcd's doc uses watching to see that nothing is returned:
This: webHooks.add('etcd', http://${etcd}/v3beta/kv/range)
To this: webHooks.add('etcd', http://${etcd}/v3beta/watch)

@anthonydevelops anthonydevelops added the bug Something isn't working label May 21, 2019
@anthonydevelops anthonydevelops self-assigned this May 21, 2019
@anthonydevelops anthonydevelops added this to To do in Frontend via automation May 21, 2019
@anthonydevelops anthonydevelops pinned this issue May 21, 2019
@anthonydevelops anthonydevelops added this to To do in Backend via automation May 21, 2019
@anthonydevelops
Copy link
Collaborator Author

anthonydevelops commented May 21, 2019

To understand how the client works a little better, refer to the client overview in the docs folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Backend
  
To do
Frontend
  
To do
Development

No branches or pull requests

1 participant