jurmous / etcd4j

Java / Netty client for etcd, the highly-available key value store for shared configuration and service discovery.
Apache License 2.0
267 stars 83 forks source link

EtcdResponsePromise get(), response is not null and no exception happened but throw new IOException #190

Open shengxuanyi opened 5 years ago

shengxuanyi commented 5 years ago

Details please see the pictures below:

20190806-175959

I guess the reason this happened is that the promise is asynchronous, when I debug into the 72 line then the promise object get its value. So here comes a question: anyone know some settings that i am missed to solve this. If no settings for this, whether the waitForPromiseSuccess method can do some improvement to do to prevent this happen?

Fresh one to Etcd4j.

shengxuanyi commented 5 years ago

version is 2.16.0

6045789 commented 5 years ago

I have the same problem