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

client does not handle hostnames in config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0
    • None
    • library
    • None

    Description

      If the servers are adjusted to use hostnames instead of IP addresses, the client will receive a hostname and will need to configure itself from that.

      Bug reporter (on enyim, not on couchbase client) says there is an issue doing so however:

      I'm running membase server on windows 2008 r2 on ec2. I've setup a cluster using the hostname's by updating the service_register bat file as
      specified here:
      http://www.couchbase.org/wiki/display/membase/Using+Membase+in+the+Cloud#UsingMembaseintheCloud-IPaddresses

      The cluster has recognised the servers, i'm getting a response back from the endpoints (in json) etc, but i seem to keep getting this error when i'm trying to
      access the cluster from my web app.

      2011-10-16 16:25:26,845 [12] INFO Membase.MembasePool [(null)] - Received new configuration.
      2011-10-16 16:25:26,845 [12] INFO Membase.MembasePool [(null)] - Received new configuration.
      2011-10-16 16:25:26,845 [12] INFO Membase.MembasePool [(null)] - Has vbucket. Server count: 2
      2011-10-16 16:25:26,845 [12] INFO Membase.MembasePool [(null)] - Has vbucket. Server count: 2
      2011-10-16 16:25:26,846 [12] ERROR Membase.MembasePool [(null)] - Failed to initialize the pool.
      System.FormatException: An invalid IP address was specified.
      at System.Net.IPAddress.InternalParse(String ipString, Boolean tryParse)
      at Membase.MembasePool.InitVBucket(ClusterConfig config, ISaslAuthenticationProvider auth) in d:\d\repo\EnyimMemcached\Membase\MembasePool.cs:line 207
      at Membase.MembasePool.ReconfigurePool(ClusterConfig config) in d:\d\repo\EnyimMemcached\Membase\MembasePool.cs:line 139

      Attachments

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

        Activity

          People

            john John Zablocki (Inactive)
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty