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

ConfigHandler has already been started

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.5
    • 3.0.7
    • library
    • Azure Web Service / Local
    • 1
    • SDK 44: Txns, SDK 3.1, Docs

    Description

      Summary: ASP.NET Core app seems to work fine locally, but when deployed to Azure, I'm getting "ConfigHandler has already been started" exception message.

      Repro:

      1. Deploy this project to Azure Web Service - https://github.com/mgroves/MattsTwitchBot
        1. manually is fine
        2. debug mode
        3. I've pasted what I think are the relevant pieces of code below and logs
        4. if nothing jumps out as a problem, let me know and I will create a more minimal example
      2. Open website

      Excepted:

      Website to work without exception

      Actual:

      404 error from website, exception in log (attached)

      Notes:

      This seems to work just fine locally. The problem only seems to happen when deployed to Azure Web Service. Maybe a race condition?

      Code snippets:

      Jira formatting is horrible, so I attached it too.

      Attachments

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

        Activity

          jmorris Jeff Morris added a comment - - edited

          Matthew Groves is this fixed by NCBC-2638? You can validate against 3.0.5 DI in NuGet.

          jmorris Jeff Morris added a comment - - edited Matthew Groves is this fixed by NCBC-2638 ? You can validate against 3.0.5 DI in NuGet.

          I will try to get around and check this week.

          matthew.groves Matthew Groves added a comment - I will try to get around and check this week.

          Jeff Morris it looks like the INamedBucketParameter issue has regressed, so I'm unable to compile with 3.0.5 from nuget

          matthew.groves Matthew Groves added a comment - Jeff Morris  it looks like the INamedBucketParameter issue has regressed, so I'm unable to compile with 3.0.5 from nuget
          jmorris Jeff Morris added a comment -

          I believe this is fixed; need to verify.

          jmorris Jeff Morris added a comment - I believe this is fixed; need to verify.
          jmorris Jeff Morris added a comment -

          Resolving this, please reopen if you feel it is not resolved.

          jmorris Jeff Morris added a comment - Resolving this, please reopen if you feel it is not resolved.

          People

            matthew.groves Matthew Groves
            matthew.groves Matthew Groves
            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