enyim/EnyimMemcached — Issue #83: Membase configuration of hostname and IP address are both valid
Author: ingenthr
Created: 2011-10-18 02:16:45+00:00
State: open

When setting up Membase, it's optional to use a hostname instead of an IP address. If this is done, the configuration needs to honor a hostname when building the connection. Currently, it expects the REST response to have only an IP address.

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

The issue seems to be here:
https://github.com/enyim/EnyimMemcached/blob/master/Membase/MembasePool.cs#L207