Can't connect to localhost port with EtcdNettyClient in plugin code

Hi all!

I am developing a script plugin that uses a dynamic config via etcd. I am using elasticsearch 6.3.2.
However, when I run an etcd cluster locally (and verify it is actually up) on the port 2379, and I try to connect to the etcd cluster (via EtcdKeyGetRequest.send()), I see this error in the logs:

DEBUG mousio.etcd4j.transport.EtcdNettyClient - Connection failed to

I don't see any reason why the connection would fail. Is there any limitation in the plugin framework?

Please let me know if you have any insight regarding my issue.



Do you have a full stacktrace error?

May be you need to adapt this:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.