Hi David,
I tried running connector inside same vm where couchbase runs
Logs
Node connected {“coreId”:“0xe21b0a0500000001”,“managerPort”:“8091”,“remote”:“ip1”}
Node connected {“coreId”:“0xe21b0a0500000001”,“managerPort”:“8091”,“remote”:“ip2”}
Node connected {“coreId”:“0xe21b0a0500000001”,“managerPort”:“8091”,“remote”:“ip3”}
[com.couchbase.endpoint][EndpointConnectionFailedEvent][109ms] Connect attempt 1 failed because of NativeIoException: readAddress(…) failed: Connection reset by peer {“bucket”:“travel-sample”,“circuitBreaker”:“DISABLED”,“coreId”:“0xe21b0a0500000001”,“remote”:“ip1:11207”,“type”:“KV”}
com.couchbase.client.core.deps.io.netty.channel.unix.Errors$NativeIoException: readAddress(…) failed: Connection reset by peer
Detected Exception in IO Layer: readAddress(…) failed: Connection reset by peer, Cause: (none) {“bucket”:“travel-sample”,“coreId”:“0xe21b0a0500000001”,“local”:"/ip1:39174",“remote”:“ip1/ip1:11207”}
Opened bucket “travel-sample” {“coreId”:“0xe21b0a0500000001”}
[com.couchbase.endpoint][EndpointConnectionFailedEvent][10s] Connect attempt 1 failed because of TimeoutException: Did not observe any item or terminal signal within 10000ms in ‘source(MonoDefer)’ (and no fallback has been configured) {“circuitBreaker”:“DISABLED”,“coreId”:“0xe21b0a0500000001”,“remote”:“ip1:11207”,“type”:“KV”}
java.util.concurrent.TimeoutException: Did not observe any item or terminal signal within 10000ms in ‘source(MonoDefer)’ (and no fallback has been configured)
Exception in thread “main” com.couchbase.client.core.error.UnambiguousTimeoutException: WaitUntilReady timed out
at com.couchbase.client.java.AsyncUtils.block(AsyncUtils.java:51)
at com.couchbase.client.java.Bucket.waitUntilReady(Bucket.java:243)
at com.couchbase.connector.dcp.CouchbaseHelper.waitForBucket(CouchbaseHelper.java:256)
at com.couchbase.connector.elasticsearch.ElasticsearchConnector.run(ElasticsearchConnector.java:135)
at com.couchbase.connector.elasticsearch.ElasticsearchConnector.main(ElasticsearchConnector.java:103)
Suppressed: java.lang.Exception: The above exception was originally thrown by another thread at the following location.
at com.couchbase.client.core.diagnostics.WaitUntilReadyHelper.lambda$waitUntilReady$12(WaitUntilReadyHelper.java:165
connection is closed