Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-340

System.InvalidOperationException an asynchronous module or handler completed while an asynchronous operation was still pending

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Fix
    • Blocker
    • backlog-1.0
    • None
    • library
    • None
    • ASP.NET Session Provider
    • Sprint 2 - Feb 5-26 2014, Sprint 4

    Description

      I get the following error randomly on my production Couchbase server:

      "System.InvalidOperationException
      an asynchronous module or handler completed while an asynchronous operation was still pending"

      I am using the latest Couchbase server and the latest version of the .Net SDK. When I run locally I do not see this error at all.

      On production I have a two node Couchbase client. The config section is the following:

      <couchbase>
      <servers bucket="Staging" bucketPassword="">
      <add uri="http://COUCH01.mobitorhost00.local:8091/pools" />
      </servers>
      </couchbase>
      <enyim.com>
      <memcached protocol="Binary">
      <servers>
      <add address="COUCH01.mobitorhost00.local" port="11211" />
      </servers>
      <socketPool minPoolSize="10" maxPoolSize="100" connectionTimeout="00:01:00" deadTimeout="00:01:00"/>
      </memcached>
      </enyim.com>

      When I switch to the Memcache provider instead the error does not appear.

      Thanks for your help. This is really a show-stopper for us.

      Here is a stack trace:

      Storex.Site.dll!Storex.Site.MvcApplication.Application_Error() Line 53 C#
      [Native to Managed Transition]
      System.Web.dll!System.Web.Util.ArglessEventHandlerProxy.Callback(object sender, System.EventArgs e) Unknown
      System.Web.dll!System.Web.HttpApplication.RaiseOnError() Unknown
      System.Web.dll!System.Web.HttpApplication.PipelineStepManager.ResumeSteps(System.Exception error) Unknown
      System.Web.dll!System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext context, System.AsyncCallback cb) Unknown
      System.Web.dll!System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest wr, System.Web.HttpContext context) Unknown
      System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Unknown
      System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Unknown
      [Native to Managed Transition]
      [Managed to Native Transition]
      System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Unknown
      System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Unknown
      [AppDomain Transition]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty