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

Unable to Authenticate when doing failover and Clients never seem to recover

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0.1
    • 2.0.0
    • library
    • None
    • Windows Server 2012 R2
      CLR: v4.0.30319

    Description

      For the couchbase forum message that initiated this potentiel bug report

      https://forums.couchbase.com/t/unable-to-authenticate-when-doing-failover-and-clients-never-seem-to-recover/2266

      I have attached log files.
      There happens an error to start with, even though i have cleared servers in config(see forum post for setup).

      Trying to bootstrap with CarrierPublicationProvider { Converter: AutoByteConverter { }, Transcoder: DefaultTranscoder { } }.
      12/09/2014 08:40:55 +01:00 [Debug] Getting config for bucket "notification"
      12/09/2014 08:40:55 +01:00 [Debug] Bootstrapping with IPEndPoint { AddressFamily: InterNetwork, Address: IPAddress

      { Address: 16777343, AddressFamily: InterNetwork, ScopeId: "The property accessor threw an exception: SocketException", IsIPv6Multicast: False, IsIPv6LinkLocal: False, IsIPv6SiteLocal: False, IsIPv6Teredo: False, IsIPv4MappedToIPv6: False }

      , Port: 11210 }
      12/09/2014 08:40:56 +01:00 [Debug] Bootstrapping with IPEndPoint { AddressFamily: InterNetwork, Address: IPAddress

      { Address: 16777343, AddressFamily: InterNetwork, ScopeId: "The property accessor threw an exception: SocketException", IsIPv6Multicast: False, IsIPv6LinkLocal: False, IsIPv6SiteLocal: False, IsIPv6Teredo: False, IsIPv4MappedToIPv6: False }

      , Port: 11210 } failed.
      12/09/2014 08:40:56 +01:00 [Warning] SocketException

      { ErrorCode: 10061, Message: "No connection could be made because the target machine actively refused it 127.0.0.1:11210", SocketErrorCode: ConnectionRefused, NativeErrorCode: 10061, Data: [], InnerException: null, TargetSite: Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress), StackTrace: " at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at Couchbase.IO.DefaultConnectionFactory.<GetGeneric>b__2[T](IConnectionPool`1 p, IByteConverter c) at Couchbase.IO.ConnectionPool`1.Initialize() at Couchbase.Core.ClusterController.<.ctor>b__2(PoolConfiguration config, IPEndPoint endpoint) at Couchbase.Configuration.Server.Providers.CarrierPublication.CarrierPublicationProvider.GetConfig(String bucketName, String password)", HelpLink: null, Source: "System", HResult: -2147467259 }

      12/09/2014 08:40:56 +01:00 [Warning] AggregateException

      { InnerExceptions: [], Message: "One or more errors occurred.", Data: [], InnerException: null, TargetSite: Couchbase.Configuration.IConfigInfo GetConfig(System.String, System.String), StackTrace: " at Couchbase.Configuration.Server.Providers.CarrierPublication.CarrierPublicationProvider.GetConfig(String bucketName, String password) at Couchbase.Core.ClusterController.CreateBucket(String bucketName, String password)", HelpLink: null, Source: "Couchbase.NetClient", HResult: -2146233088 }

      12/09/2014 08:40:56 +01:00 [Debug] Trying to bootstrap with HttpStreamingProvider { Converter: AutoByteConverter { }, Transcoder: DefaultTranscoder { } }.
      12/09/2014 08:40:56 +01:00 [Information] Bootstrapping from http://10.40.29.23:8091/pools
      12/09/2014 08:40:56 +01:00 [Information] Bootstrapped from http://10.40.29.23:8091/pools

      So it fails CarrierPublicationProvider but succeeds with HttpStreamingProvider .
      Everything works fine, until i do a failover.

      It detects changes in the cluster, but is unable to authenticate after that

      Attachments

        For Gerrit Dashboard: NCBC-734
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty