com.couchbase.client.core.RequestCancelledException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We executed DHC client over the weekend and got some issues. Bottom line is that the DHC client disconnected and was not recovered after the weekend. See the errors below: [2015-05-15 00:06:54,012][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Error while refreshing bucket config, ignoring. com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight. at com.couchbase.client.core.endpoint.AbstractGenericHandler.handleOutstandingOperations(AbstractGenericHandler.java:281) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.core.endpoint.AbstractGenericHandler.handlerRemoved(AbstractGenericHandler.java:262) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:527) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:521) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:351) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyDown(DefaultChannelPipeline.java:798) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyUp(DefaultChannelPipeline.java:767) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroy(DefaultChannelPipeline.java:759) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:743) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.AbstractChannel$AbstractUnsafe$6.run(AbstractChannel.java:615) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [core-io-1.1.3.jar:1.1.3] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40] [2015-05-15 00:14:25,846][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Completed refreshing config for bucket "default" [2015-05-15 00:14:41,239][DEBUG][org.eclipse.jetty.server.session] Scavenging sessions at 1431648881239 [2015-05-15 00:14:45,042][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:8092][ViewEndpoint]: KeepAlive fired [2015-05-15 00:14:55,846][DEBUG][com.couchbase.client.core.endpoint.kv.KeyValueHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: Identified Idle State, signalling config reload. [2015-05-15 00:14:55,847][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: KeepAlive fired [2015-05-15 00:14:55,847][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] Received signal for outdated configuration. [2015-05-15 00:14:55,848][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] New Bucket default config proposed. [2015-05-15 00:14:55,854][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Completed refreshing config for bucket "default" [2015-05-15 00:15:11,240][DEBUG][org.eclipse.jetty.server.session] Scavenging sessions at 1431648911240 [2015-05-15 00:15:15,043][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:8092][ViewEndpoint]: KeepAlive fired [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.endpoint.kv.KeyValueHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: Identified Idle State, signalling config reload. [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: KeepAlive fired [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] Received signal for outdated configuration. [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] New Bucket default config proposed. [2015-05-15 00:15:25,850][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Completed refreshing config for bucket "default" [2015-05-15 00:15:41,240][DEBUG][org.eclipse.jetty.server.session] Scavenging sessions at 1431648941240
    via by tal.maayani,
  • We executed DHC client over the weekend and got some issues. Bottom line is that the DHC client disconnected and was not recovered after the weekend. See the errors below: [2015-05-15 00:06:54,012][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Error while refreshing bucket config, ignoring. com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight. at com.couchbase.client.core.endpoint.AbstractGenericHandler.handleOutstandingOperations(AbstractGenericHandler.java:281) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.core.endpoint.AbstractGenericHandler.handlerRemoved(AbstractGenericHandler.java:262) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:527) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:521) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:351) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyDown(DefaultChannelPipeline.java:798) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyUp(DefaultChannelPipeline.java:767) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroy(DefaultChannelPipeline.java:759) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:743) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.AbstractChannel$AbstractUnsafe$6.run(AbstractChannel.java:615) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [core-io-1.1.3.jar:1.1.3] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40] [2015-05-15 00:14:25,846][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Completed refreshing config for bucket "default" [2015-05-15 00:14:41,239][DEBUG][org.eclipse.jetty.server.session] Scavenging sessions at 1431648881239 [2015-05-15 00:14:45,042][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:8092][ViewEndpoint]: KeepAlive fired [2015-05-15 00:14:55,846][DEBUG][com.couchbase.client.core.endpoint.kv.KeyValueHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: Identified Idle State, signalling config reload. [2015-05-15 00:14:55,847][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: KeepAlive fired [2015-05-15 00:14:55,847][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] Received signal for outdated configuration. [2015-05-15 00:14:55,848][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] New Bucket default config proposed. [2015-05-15 00:14:55,854][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Completed refreshing config for bucket "default" [2015-05-15 00:15:11,240][DEBUG][org.eclipse.jetty.server.session] Scavenging sessions at 1431648911240 [2015-05-15 00:15:15,043][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:8092][ViewEndpoint]: KeepAlive fired [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.endpoint.kv.KeyValueHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: Identified Idle State, signalling config reload. [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.endpoint.AbstractGenericHandler] [ip-172-31-27-164.ec2.internal/172.31.27.164:11210][KeyValueEndpoint]: KeepAlive fired [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] Received signal for outdated configuration. [2015-05-15 00:15:25,849][DEBUG][com.couchbase.client.core.config.ConfigurationProvider] New Bucket default config proposed. [2015-05-15 00:15:25,850][DEBUG][com.couchbase.client.core.config.refresher.CarrierRefresher] Completed refreshing config for bucket "default" [2015-05-15 00:15:41,240][DEBUG][org.eclipse.jetty.server.session] Scavenging sessions at 1431648941240
    via by tal.maayani,
  • We use core io in our CBAS integration tests and frequently, we get failures due to request cancelled while on flight. The stack trace doesn't show any useful hint as to the cause behind that: java.lang.RuntimeException: java.lang.RuntimeException: com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight. at com.couchbase.analytics.test.dcp.CouchbaseConnectorStressTest.lambda$setUp$1(CouchbaseConnectorStressTest.java:97) Caused by: com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight. at com.couchbase.client.core.endpoint.AbstractGenericHandler.handleOutstandingOperations(AbstractGenericHandler.java:487) at com.couchbase.client.core.endpoint.AbstractGenericHandler.handlerRemoved(AbstractGenericHandler.java:468) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:616) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyDown(DefaultChannelPipeline.java:868) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyUp(DefaultChannelPipeline.java:834) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroy(DefaultChannelPipeline.java:826) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.access$700(DefaultChannelPipeline.java:43) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline$HeadContext.channelUnregistered(DefaultChannelPipeline.java:1276) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelUnregistered(AbstractChannelHandlerContext.java:185) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelUnregistered(AbstractChannelHandlerContext.java:171) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:811) at com.couchbase.client.deps.io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:699) at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:408) at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:402) at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) at com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) at java.lang.Thread.run(Thread.java:745)
    via by Abdullah Alamoudi,
    • com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight. at com.couchbase.client.core.endpoint.AbstractGenericHandler.handleOutstandingOperations(AbstractGenericHandler.java:281)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.core.endpoint.AbstractGenericHandler.handlerRemoved(AbstractGenericHandler.java:262)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:527)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:521)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:351)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyDown(DefaultChannelPipeline.java:798)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyUp(DefaultChannelPipeline.java:767)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroy(DefaultChannelPipeline.java:759)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:743)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.AbstractChannel$AbstractUnsafe$6.run(AbstractChannel.java:615)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[core-io-1.1.3.jar:1.1.3] at com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[core-io-1.1.3.jar:1.1.3] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,