Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: library
    • Labels:
      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

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

        Activity

        Hide
        ingenthr Matt Ingenthron added a comment -

        This issue is also tracked upstream as https://github.com/enyim/EnyimMemcached/issues/83

        Show
        ingenthr Matt Ingenthron added a comment - This issue is also tracked upstream as https://github.com/enyim/EnyimMemcached/issues/83
        Hide
        john John Zablocki (Inactive) added a comment -

        This issue was resolved in https://github.com/enyim/EnyimMemcached/commit/3cf70e1c981e70d14d111509fa8975d2dcb54fd3.

        .NET Client Library 1.0+ incorporates this Enyim fix.

        Show
        john John Zablocki (Inactive) added a comment - This issue was resolved in https://github.com/enyim/EnyimMemcached/commit/3cf70e1c981e70d14d111509fa8975d2dcb54fd3 . .NET Client Library 1.0+ incorporates this Enyim fix.

          People

          • Assignee:
            john John Zablocki (Inactive)
            Reporter:
            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