com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.

Couchbase JIRA | tal.maayani | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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

    Couchbase JIRA | 2 years ago | tal.maayani
    com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.
  2. 0

    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

    Couchbase JIRA | 2 years ago | tal.maayani
    com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.
  3. 0

    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)

    Couchbase JIRA | 4 months ago | Abdullah Alamoudi
    java.lang.RuntimeException: java.lang.RuntimeException: com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight - Java SDK - Couchbase Forums

    couchbase.com | 1 month ago
    com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.
  6. 0

    RequestCancelledInFlight exceptions periodically on view queries - Java SDK - Couchbase Forums

    couchbase.com | 1 month ago
    com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.couchbase.client.core.RequestCancelledException

      Request cancelled in-flight.

      at com.couchbase.client.core.endpoint.AbstractGenericHandler.handleOutstandingOperations()
    2. com.couchbase.client
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. com.couchbase.client.core.endpoint.AbstractGenericHandler.handleOutstandingOperations(AbstractGenericHandler.java:281)[core-io-1.1.3.jar:1.1.3]
      2. com.couchbase.client.core.endpoint.AbstractGenericHandler.handlerRemoved(AbstractGenericHandler.java:262)[core-io-1.1.3.jar:1.1.3]
      3. com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:527)[core-io-1.1.3.jar:1.1.3]
      4. com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:521)[core-io-1.1.3.jar:1.1.3]
      5. com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:351)[core-io-1.1.3.jar:1.1.3]
      6. com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyDown(DefaultChannelPipeline.java:798)[core-io-1.1.3.jar:1.1.3]
      7. com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroyUp(DefaultChannelPipeline.java:767)[core-io-1.1.3.jar:1.1.3]
      8. com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.destroy(DefaultChannelPipeline.java:759)[core-io-1.1.3.jar:1.1.3]
      9. com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:743)[core-io-1.1.3.jar:1.1.3]
      10. com.couchbase.client.deps.io.netty.channel.AbstractChannel$AbstractUnsafe$6.run(AbstractChannel.java:615)[core-io-1.1.3.jar:1.1.3]
      11. com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)[core-io-1.1.3.jar:1.1.3]
      12. com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)[core-io-1.1.3.jar:1.1.3]
      13. com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[core-io-1.1.3.jar:1.1.3]
      14. com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[core-io-1.1.3.jar:1.1.3]
      14 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]
      1 frame