@daschl I’ve test again simply.
public static void main(String[] args) {
ClusterOptions options = ClusterOptions.clusterOptions(PasswordAuthenticator.create("Administrator", "123456"))
.environment(ClusterEnvironment.builder().ioConfig(IoConfig.builder().captureTraffic(ServiceType.VIEWS)).build());
ViewResult viewResult = Cluster.connect("127.0.0.1", options)
.bucket("my")
.viewQuery("myDoc_like_count", "post");
List<ViewRow> rows = viewResult.rows();
System.out.println("########################## >>> " + rows.size());
}
log below
{"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":8,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][32ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":8,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsSelectedEvent] SASL Mechanism SCRAM_SHA512 selected. Allowed: [SCRAM_SHA1, SCRAM_SHA256, SCRAM_SHA512] {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsSelectedEvent] SASL Mechanism SCRAM_SHA512 selected. Allowed: [SCRAM_SHA1, SCRAM_SHA256, SCRAM_SHA512] {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][FeaturesNegotiatedEvent][115ms] Negotiated [MUTATION_SEQNO, XATTR, XERROR, SELECT_BUCKET, SNAPPY, UNORDERED_EXECUTION, ALT_REQUEST, SYNC_REPLICATION, VATTR] {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][FeaturesNegotiatedEvent][126ms] Negotiated [MUTATION_SEQNO, XATTR, XERROR, SELECT_BUCKET, SNAPPY, UNORDERED_EXECUTION, ALT_REQUEST, SYNC_REPLICATION, VATTR] {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][64ms] Request CarrierBucketConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":9,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][64ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":8,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][128ms] Request CarrierGlobalConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":1,"requestType":"CarrierGlobalConfigRequest","retried":9,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"opaque":"0x0","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][128ms] Request CarrierBucketConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":9,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][128ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":9,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][256ms] Request CarrierGlobalConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":1,"requestType":"CarrierGlobalConfigRequest","retried":10,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"opaque":"0x0","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.io][ErrorMapLoadedEvent][37ms] KV Error Map successfully loaded. Map Version: 1, Revision: 2 {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][ErrorMapLoadedEvent][37ms] KV Error Map successfully loaded. Map Version: 1, Revision: 2 {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsListedEvent][198ms] Listed SASL mechanisms: [SCRAM_SHA256, PLAIN, SCRAM_SHA1, SCRAM_SHA512] {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsListedEvent][198ms] Listed SASL mechanisms: [SCRAM_SHA256, PLAIN, SCRAM_SHA1, SCRAM_SHA512] {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][256ms] Request CarrierBucketConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":10,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][256ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":10,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.io][SaslAuthenticationCompletedEvent][383ms] SASL Authentication completed {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SelectBucketCompletedEvent][19ms] Bucket "my" selected {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslAuthenticationCompletedEvent][389ms] SASL Authentication completed {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][620ms] Endpoint connected successfully (Timings: {ErrorMapLoadingHandler=PT0.037553942S, FeatureNegotiatingHandler=PT0.126882587S, SaslAuthenticationHandler=PT0.389469287S, SaslListMechanismsHandler=PT0.198628083S}) {"channelId":"8FC1EC9400000001/00000000BEF882CF","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60578","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][480ms] Endpoint connected successfully (Timings: {ErrorMapLoadingHandler=PT0.037569172S, FeatureNegotiatingHandler=PT0.115542205S, SaslAuthenticationHandler=PT0.383989649S, SaslListMechanismsHandler=PT0.198625785S, SelectBucketHandler=PT0.01943519S}) {"bucket":"my","channelId":"8FC1EC9400000001/00000000D0194A9B","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60579","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"channelId":"8FC1EC9400000001/00000000BEF882CF","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60578","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"bucket":"my","channelId":"8FC1EC9400000001/00000000D0194A9B","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60579","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to CONNECTED {"bucket":"my","coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.config][GlobalConfigUpdatedEvent] Global configuration updated: GlobalConfig{rev=23, portInfos=[PortInfo{ports={SEARCH=8094, KV=11210, QUERY=8093, MANAGER=8091, VIEWS=8092}, sslPorts={}, hostname='127.0.0.1, alternateAddresses={}'}], clusterCapabilities={SEARCH=[], ANALYTICS=[], QUERY=[ENHANCED_PREPARED_STATEMENTS], KV=[], MANAGER=[], VIEWS=[]}} {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.config][SeedNodesUpdatedEvent] Seed nodes updated from [SeedNode{address='127.0.0.1', kvPort=Optional.empty, mgmtPort=Optional.empty}] to [SeedNode{address='127.0.0.1', kvPort=Optional[11210], mgmtPort=Optional[8091]}] {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][1588us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8094","type":"SEARCH"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][724us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8093","type":"QUERY"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][520us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8091","type":"MANAGER"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][727us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.core][ReconfigurationCompletedEvent][13ms] Reconfiguration attempt completed. {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][512ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":11,"retryReasons":["NODE_NOT_AVAILABLE","BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.config][BucketConfigUpdatedEvent] Bucket configuration updated: CouchbaseBucketConfig{name='my', locator=VBUCKET, uri='/pools/default/buckets/my?bucket_uuid=575b0433fc5fccb01578a57132e40b69', streamingUri='/pools/default/bucketsStreaming/my?bucket_uuid=575b0433fc5fccb01578a57132e40b69', nodes=[NodeInfo{host=127.0.0.1, ports={SEARCH=8094, KV=11210, QUERY=8093, MANAGER=8091, VIEWS=8092}, securePorts={}, aa={}, configPort=0}], partitionInfo=PartitionInfo{numberOfReplicas=1, partitionHosts=[127.0.0.1:11210], partitions=[[0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1],
...
[0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1]], tainted=false}, tainted=false, rev=28} {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.config][SeedNodesUpdatedEvent] Seed nodes updated from [SeedNode{address='127.0.0.1', kvPort=Optional[11210], mgmtPort=Optional[8091]}] to [SeedNode{address='127.0.0.1', kvPort=Optional[11210], mgmtPort=Optional[8091]}] {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
...
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.core][ReconfigurationCompletedEvent][10ms] Reconfiguration attempt completed. {"coreId":"0x8fc1ec9400000001"}
[ INFO] (cb-events) [com.couchbase.core][BucketOpenedEvent][652ms] Opened bucket "my" {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from IDLE to DISCONNECTED {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTED to DEGRADED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTED to CONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from DISCONNECTED to CONNECTING {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][1000ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: ENDPOINT_TEMPORARILY_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":12,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE","NODE_NOT_AVAILABLE","BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][20ms] Endpoint connected successfully (no timings) {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from DEGRADED to CONNECTED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.io][WriteTrafficCapturedEvent]
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 47 45 54 20 2f 6d 79 2f 5f 64 65 73 69 67 6e 2f |GET /my/_design/|
|00000010| 6d 79 44 6f 63 5f 6c 69 6b 65 5f 63 6f 75 6e 74 |myDoc_like_count|
|00000020| 2f 5f 76 69 65 77 2f 70 6f 73 74 3f 20 48 54 54 |/_view/post? HTT|
|00000030| 50 2f 31 2e 31 0d 0a 63 6f 6e 74 65 6e 74 2d 74 |P/1.1..content-t|
|00000040| 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e |ype: application|
|00000050| 2f 6a 73 6f 6e 0d 0a 63 6f 6e 74 65 6e 74 2d 6c |/json..content-l|
|00000060| 65 6e 67 74 68 3a 20 30 0d 0a 61 75 74 68 6f 72 |ength: 0..author|
|00000070| 69 7a 61 74 69 6f 6e 3a 20 42 61 73 69 63 20 51 |ization: Basic Q|
|00000080| 57 52 74 61 57 35 70 63 33 52 79 59 58 52 76 63 |WRtaW5pc3RyYXRvc|
|00000090| 6a 6f 78 4d 44 49 77 4d 7a 41 3d 0d 0a 68 6f 73 |joxMDIwMzA=..hos|
|000000a0| 74 3a 20 31 32 37 2e 30 2e 30 2e 31 3a 38 30 39 |t: 127.0.0.1:809|
|000000b0| 32 0d 0a 75 73 65 72 2d 61 67 65 6e 74 3a 20 63 |2..user-agent: c|
|000000c0| 6f 75 63 68 62 61 73 65 2d 6a 61 76 61 2f 33 2e |ouchbase-java/3.|
|000000d0| 30 2e 36 20 28 4d 61 63 20 4f 53 20 58 20 31 30 |0.6 (Mac OS X 10|
|000000e0| 2e 31 35 2e 36 20 78 38 36 5f 36 34 3b 20 4f 70 |.15.6 x86_64; Op|
|000000f0| 65 6e 4a 44 4b 20 36 34 2d 42 69 74 20 53 65 72 |enJDK 64-Bit Ser|
|00000100| 76 65 72 20 56 4d 20 31 34 2e 30 2e 31 2b 31 34 |ver VM 14.0.1+14|
|00000110| 29 0d 0a 0d 0a |).... |
+--------+-------------------------------------------------+----------------+
{"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent]
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d |HTTP/1.1 200 OK.|
|00000010| 0a 58 2d 58 53 53 2d 50 72 6f 74 65 63 74 69 6f |.X-XSS-Protectio|
|00000020| 6e 3a 20 31 3b 20 6d 6f 64 65 3d 62 6c 6f 63 6b |n: 1; mode=block|
|00000030| 0d 0a 58 2d 50 65 72 6d 69 74 74 65 64 2d 43 72 |..X-Permitted-Cr|
|00000040| 6f 73 73 2d 44 6f 6d 61 69 6e 2d 50 6f 6c 69 63 |oss-Domain-Polic|
|00000050| 69 65 73 3a 20 6e 6f 6e 65 0d 0a 58 2d 46 72 61 |ies: none..X-Fra|
|00000060| 6d 65 2d 4f 70 74 69 6f 6e 73 3a 20 44 45 4e 59 |me-Options: DENY|
|00000070| 0d 0a 58 2d 43 6f 6e 74 65 6e 74 2d 54 79 70 65 |..X-Content-Type|
|00000080| 2d 4f 70 74 69 6f 6e 73 3a 20 6e 6f 73 6e 69 66 |-Options: nosnif|
|00000090| 66 0d 0a 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f |f..Transfer-Enco|
|000000a0| 64 69 6e 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 53 |ding: chunked..S|
|000000b0| 65 72 76 65 72 3a 20 4d 6f 63 68 69 57 65 62 2f |erver: MochiWeb/|
|000000c0| 31 2e 30 20 28 41 6e 79 20 6f 66 20 79 6f 75 20 |1.0 (Any of you |
|000000d0| 71 75 61 69 64 73 20 67 6f 74 20 61 20 73 6d 69 |quaids got a smi|
|000000e0| 6e 74 3f 29 0d 0a 44 61 74 65 3a 20 54 68 75 2c |nt?)..Date: Thu,|
|000000f0| 20 33 30 20 4a 75 6c 20 32 30 32 30 20 31 30 3a | 30 Jul 2020 10:|
|00000100| 33 33 3a 33 35 20 47 4d 54 0d 0a 43 6f 6e 74 65 |33:35 GMT..Conte|
|00000110| 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 6c |nt-Type: text/pl|
|00000120| 61 69 6e 3b 63 68 61 72 73 65 74 3d 75 74 66 2d |ain;charset=utf-|
|00000130| 38 0d 0a 43 61 63 68 65 2d 43 6f 6e 74 72 6f 6c |8..Cache-Control|
|00000140| 3a 20 6d 75 73 74 2d 72 65 76 61 6c 69 64 61 74 |: must-revalidat|
|00000150| 65 0d 0a 0d 0a |e.... |
+--------+-------------------------------------------------+----------------+
{"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent]
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 37 0d 0a 7b 22 72 6f 77 73 22 3a 5b 0d 0a 7b |27..{"rows":[..{|
|00000010| 22 6b 65 79 22 3a 6e 75 6c 6c 2c 22 76 61 6c 75 |"key":null,"valu|
|00000020| 65 22 3a 31 7d 0d 0a 5d 0d 0a 7d 0d 0a |e":1}..]..}.. |
+--------+-------------------------------------------------+----------------+
{"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent]
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 31 0d 0a 0a 0d 0a 30 0d 0a 0d 0a |1.....0.... |
+--------+-------------------------------------------------+----------------+
{"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
...
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTED to IDLE {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTED to DISCONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTING to DISCONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointDisconnectedEvent][1014us] Endpoint disconnected successfully {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][IdleEndpointRemovedEvent] Endpoint removed from pool because it reached the idle http connection timeout. {"actualIdleTimeMillis":8420,"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","service":{"remainingEndpoints":0,"state":"IDLE"},"type":"VIEWS"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
...
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
Exception in thread "main" com.couchbase.client.core.error.UnambiguousTimeoutException: ViewRequest, Reason: TIMEOUT {"cancelled":true,"completed":true,"coreId":"0x8fc1ec9400000001","idempotent":true,"lastDispatchedFrom":"127.0.0.1:60581","lastDispatchedTo":"127.0.0.1:8092","reason":"TIMEOUT","requestId":3,"requestType":"ViewRequest","retried":12,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE","NODE_NOT_AVAILABLE","BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000,"timings":{"dispatchMicros":22346,"totalMicros":75009575}}
at com.couchbase.client.java.AsyncUtils.block(AsyncUtils.java:51)
at com.couchbase.client.java.Bucket.viewQuery(Bucket.java:193)
at com.couchbase.client.java.Bucket.viewQuery(Bucket.java:178)
at TestCouchbase.main(TestCouchbase.java:21)
Suppressed: java.lang.Exception: The above exception was originally thrown by another thread at the following location.
at com.couchbase.client.core.msg.BaseRequest.cancel(BaseRequest.java:163)
at com.couchbase.client.core.Timer.lambda$register$2(Timer.java:157)
at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at com.couchbase.client.core.deps.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:832)
Process finished with exit code 1