Hi guys,
I am trying to play with ColdBox and couchbase. Currently I am using ColdBox 6.9 with couchbase-cachebox-provider module (incl. needed dependencies). As you could see in the logs bellow I am able to connect to couchbase, open bucket even to create view if it does not exist, but after that I am getting OverThresholdRequestsRecordedEvent warning and the connection is closed even before calling insert. I also tried to play with kvTimeout and connectTimeout params.
Could you point me what I am missing, please?
2024-03-19 15:55:02 19-Mar-2024 13:55:02.103 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.core][CoreCreatedEvent] {"clientVersion":"3.1.6","clientGitHash":"11111111","coreVersion":"2.1.6","coreGitHash":"11111111","userAgent":"couchbase-java/3.1.6 (Linux 5.15.146; OpenJDK 64-Bit)","maxNumRequestsInRetry":32768,"ioEnvironment":{"nativeIoEnabled":true,"eventLoopThreadCount":8,"eventLoopGroups":["EpollEventLoopGroup"]},"ioConfig":{"captureTraffic":[],"mutationTokensEnabled":true,"networkResolution":"auto","dnsSrvEnabled":true,"tcpKeepAlivesEnabled":true,"tcpKeepAliveTimeMs":60000,"configPollIntervalMs":2500,"kvCircuitBreakerConfig":"disabled","queryCircuitBreakerConfig":"disabled","viewCircuitBreakerConfig":"disabled","searchCircuitBreakerConfig":"disabled","analyticsCircuitBreakerConfig":"disabled","managerCircuitBreakerConfig":"disabled","eventingCircuitBreakerConfig":"disabled","numKvConnections":1,"maxHttpConnections":12,"idleHttpConnectionTimeoutMs":4500,"configIdleRedialTimeoutMs":300000},"compressionConfig":{"enabled":true,"minRatio":0.83,"minSize":32},"securityConfig":{"tlsEnabled":false,"nativeTlsEnabled":true,"hostnameVerificationEnabled":true,"hasTrustCertificates":false,"trustManagerFactory":null,"ciphers":[]},"timeoutConfig":{"kvMs":2500,"kvDurableMs":10000,"managementMs":75000,"queryMs":75000,"viewMs":75000,"searchMs":75000,"analyticsMs":75000,"connectMs":10000,"disconnectMs":10000,"eventingMs":75000},"loggerConfig":{"customLogger":null,"fallbackToConsole":false,"disableSlf4j":false,"loggerName":"CouchbaseLogger","diagnosticContextEnabled":false},"orphanReporterConfig":{"emitIntervalMs":10000,"sampleSize":10,"queueLength":1024,"enabled":true},"thresholdRequestTracerConfig":{"enabled":true,"emitIntervalMs":10000,"sampleSize":10,"queueLength":1024,"kvThresholdMs":500,"queryThresholdMs":1000,"searchThresholdMs":1000,"analyticsThresholdMs":1000,"viewThresholdMs":1000},"aggregatingMeterConfig":{"enabled":true,"emitIntervalMs":600000},"retryStrategy":"BestEffortRetryStrategy","requestTracer":"ThresholdRequestTracer","meter":"AggregatingMeter","numRequestCallbacks":0} {"coreId":"0x2ad0b6cc00000001","seedNodes":[{"address":"111.00.00.1"}]}
19-Mar-2024 13:55:03.123 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.node][NodeConnectedEvent] Node connected {"coreId":"0x2ad0b6cc00000001","managerPort":"8091","remote":"myhost1.com"}
19-Mar-2024 13:55:03.124 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.node][NodeConnectedEvent] Node connected {"coreId":"0x2ad0b6cc00000001","managerPort":"8091","remote":"myhost2.com"}
19-Mar-2024 13:55:03.125 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.node][NodeConnectedEvent] Node connected {"coreId":"0x2ad0b6cc00000001","managerPort":"8091","remote":"myhost3.com"}
19-Mar-2024 13:55:03.227 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.node][NodeDisconnectedEvent][690us] Node disconnected {"coreId":"0x2ad0b6cc00000001","managerPort":"8091","remote":"111.00.00.1"}
19-Mar-2024 13:55:03.227 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.core][BucketOpenedEvent][1008ms] Opened bucket "myBucket" {"coreId":"0x2ad0b6cc00000001"}
19-Mar-2024 13:55:03.227 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.node][NodeConnectedEvent] Node connected {"coreId":"0x2ad0b6cc00000001","managerPort":"8091","remote":"111.00.00.1"}
19-Mar-2024 13:55:04.536 INFO [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.info [com.couchbase.node][NodeDisconnectedEvent][721us] Node disconnected {"coreId":"0x2ad0b6cc00000001","managerPort":"8091","remote":"111.00.00.1"}
19-Mar-2024 13:55:12.052 WARNING [cb-events] com.couchbase.client.core.cnc.LoggingEventConsumer$JdkLogger.warn [com.couchbase.tracing][OverThresholdRequestsRecordedEvent][10s] Requests over Threshold found: [{"top":[{"operation_name":"CoreHttpRequest","last_local_address":"120.00.0.2:39168","last_remote_address":"myhost1.com:8092","last_dispatch_us":234153,"total_us":1961091}],"service":"views","count":1}]