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

When custom ports are used CCCP still uses the default 11210

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.0.1
    • 2.0 Beta
    • library
    • None

    Description

      If custom ports are specified for the cluster, the client will attempt to use the default port 11210 and the CCCP provider will fail. After it fails the HttpStreaming provider will try again and succeed.

      -------------------------------------------------------------------------------------------------------------------------------------------

      2014-10-21 18:49:38,633 [4] DEBUG Couchbase.Core.ClusterController - Trying to boostrap with Couchbase.Configuration.Server.Providers.CarrierPublication.CarrierPublicationProvider.
      2014-10-21 18:49:38,641 [4] DEBUG Couchbase.Configuration.Server.Providers.ConfigProviderBase - Getting config for bucket default
      2014-10-21 18:49:38,650 [4] DEBUG Couchbase.Core.ClusterController - Creating DefaultIOStrategy
      2014-10-21 18:49:38,650 [4] DEBUG Couchbase.IO.Strategies.DefaultIOStrategy - Creating DefaultIOStrategy 4dbb4098-e061-44d3-bf87-f1ad3fba091c
      2014-10-21 18:49:39,792 [4] WARN Couchbase.Configuration.Server.Providers.ConfigProviderBase - System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.3:11210
      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) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\IO\DefaultConnectionFactory.cs:line 48
      at Couchbase.IO.ConnectionPool`1.Acquire() in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\IO\ConnectionPool.cs:line 124
      at Couchbase.IO.ConnectionPool`1.Couchbase.IO.IConnectionPool.Acquire() in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\IO\ConnectionPool.cs:line 200
      at Couchbase.Authentication.SASL.SaslFactory.<GetFactory3>b__0(String username, String password, IOStrategy strategy, IByteConverter converter) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Authentication\SASL\SaslFactory.cs:line 21
      at Couchbase.Configuration.Server.Providers.CarrierPublication.CarrierPublicationProvider.GetConfig(String bucketName, String password) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Configuration\Server\Providers\CarrierPublication\CarrierPublicationProvider.cs:line 75
      2014-10-21 18:49:39,797 [4] WARN Couchbase.Core.ClusterController - System.AggregateException: One or more errors occurred.
      at Couchbase.Configuration.Server.Providers.CarrierPublication.CarrierPublicationProvider.GetConfig(String bucketName, String password) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Configuration\Server\Providers\CarrierPublication\CarrierPublicationProvider.cs:line 130
      at Couchbase.Core.ClusterController.CreateBucket(String bucketName, String password) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Core\ClusterController.cs:line 156

      ...

      2014-10-21 18:49:39,797 [4] DEBUG Couchbase.Core.ClusterController - Trying to boostrap with Couchbase.Configuration.Server.Providers.Streaming.HttpStreamingProvider.

      ...

      2014-10-21 18:49:43,933 [10] INFO Couchbase.Configuration.Server.Providers.Streaming.ConfigThreadState - Listening to http://192.168.1.3:9000/pools/default/bs/default

      Attachments

        Issue Links

          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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty