Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Urgent Help - Error when accessing Couchbase using Client Api - Pending a Demo :-(

1 reply [Last post]
  • Login or register to post comments
Wed, 01/16/2013 - 07:35
sabithvm
Offline
Joined: 11/27/2012
Groups: None

i keep getting "Could not init pool." in the logs. what could be wrong ? i tried re-installing the CB to an enterprise edition and it still has this issue ? the workstation has a dynamic ip address. does it have anything to do with this ?

PS : i tried all the items at http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractic... (it helped solve an issue CB server startup)

2013-01-16 22:23:33,619 [10] DEBUG Couchbase.MessageStreamListener [(null)] <(null)> - Starting the listener. Queue=True
2013-01-16 22:23:33,619 [3] DEBUG Couchbase.MessageStreamListener [(null)] <(null)> - Started working.
2013-01-16 22:23:33,661 [3] DEBUG Couchbase.MessageStreamListener [(null)] <(null)> - Looking for the first working node.
2013-01-16 22:23:34,805 [3] DEBUG Couchbase.ConfigHelper [(null)] <(null)> - Found config for bucket beer-sample.
2013-01-16 22:23:34,808 [3] DEBUG Couchbase.MessageStreamListener [(null)] <(null)> - Resolved pool url http://localhost:8091/pools to http://localhost:8091/pools/default/bucketsStreaming/beer-sample?bucket_...
2013-01-16 22:23:34,808 [3] DEBUG Couchbase.MessageStreamListener [(null)] <(null)> - Start receiving messages.
2013-01-16 22:23:34,836 [3] INFO Couchbase.CouchbasePool [(null)] <(null)> - Received new configuration.
2013-01-16 22:23:34,842 [3] INFO Couchbase.CouchbasePool [(null)] <(null)> - Has vbucket. Server count: 1
2013-01-16 22:23:34,859 [3] DEBUG Couchbase.CouchbasePool [(null)] <(null)> - Found address ::1 for localhost
2013-01-16 22:23:34,860 [3] DEBUG Couchbase.CouchbasePool [(null)] <(null)> - Found address 127.0.0.1 for localhost
2013-01-16 22:23:34,860 [3] DEBUG Couchbase.CouchbasePool [(null)] <(null)> - Using address ::1 for localhost
2013-01-16 22:23:35,919 [3] DEBUG Couchbase.MessageStreamListener [(null)] <(null)> - Processing message: {"name":"beer-sample","bucketType":"membase","authType":"sasl","saslPassword":"","proxyPort":0,"replicaIndex":true,"uri":"/pools/default/buckets/beer-sample?bucket_uuid=3e920b811945d4d388e0169c7d7cdb3b","streamingUri":"/pools/default/bucketsStreaming/beer-sample?bucket_uuid=3e920b811945d4d388e0169c7d7cdb3b","localRandomKeyUri":"/pools/default/buckets/beer-sample/localRandomKey","controllers":{"compactAll":"/pools/default/buckets/beer-sample/controller/compactBucket","compactDB":"/pools/default/buckets/beer-sample/controller/compactDatabases"},"nodes":[{"couchApiBase":"http://localhost:8092/beer-sample","replication":0.0,"clusterMembership":"active","status":"healthy","thisNode":true,"hostname":"localhost:8091","clusterCompatibility":131072,"version":"2.0.0-1976-rel-enterprise","os":"windows","ports":{"proxy":11211,"direct":11210}}],"stats":{"uri":"/pools/default/buckets/beer-sample/stats","directoryURI":"/pools/default/buckets/beer-sample/statsDirectory","nodeStatsListURI":"/pools/default/buckets/beer-sample/nodes"},"ddocs":{"uri":"/pools/default/buckets/beer-sample/ddocs"},"nodeLocator":"vbucket","autoCompactionSettings":false,"fastWarmupSettings":false,"uuid":"3e920b811945d4d388e0169c7d7cdb3b","vBucketServerMap":{"hashAlgorithm":"CRC","numReplicas":1,"serverList":["localhost:11210"],"vBucketMap":[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-12013-01-16 22:23:38,575 [10] ERROR Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl [(null)] <(null)> - Could not init pool.
System.TimeoutException: Could not connect to [::1]:11210
at Enyim.Caching.Memcached.PooledSocket.ConnectWithTimeout(Socket socket, IPEndPoint endpoint, Int32 timeout)
at Enyim.Caching.Memcached.PooledSocket..ctor(IPEndPoint endpoint, TimeSpan connectionTimeout, TimeSpan receiveTimeout)
at Enyim.Caching.Memcached.MemcachedNode.CreateSocket()
at Enyim.Caching.Memcached.Protocol.Binary.BinaryNode.CreateSocket()
at Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.CreateSocket()
at Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.InitPool()
2013-01-16 22:23:38,577 [10] DEBUG Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl [(null)] <(null)> - Mark as dead was requested for [::1]:11210
2013-01-16 22:23:38,579 [10] DEBUG Couchbase.CouchbasePool [(null)] <(null)> - Node [::1]:11210 is dead.
2013-01-16 22:23:38,579 [10] DEBUG Couchbase.CouchbasePool [(null)] <(null)> - Starting the recovery timer.
2013-01-16 22:23:38,579 [10] DEBUG Couchbase.CouchbasePool [(null)] <(null)> - Timer started.
2013-01-16 22:23:38,579 [10] DEBUG Couchbase.CouchbasePool [(null)] <(null)> - Fail handler is finished.
2013-01-16 22:23:38,580 [10] WARN Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl [(null)] <(null)> - Marking node [::1]:11210 as dead
2013-01-16 22:23:38,583 [10] DEBUG Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl [(null)] <(null)> - Acquiring stream from pool. [::1]:11210
2013-01-16 22:23:38,583 [10] DEBUG Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl [(null)] <(null)> - Pool is dead or disposed, returning null. [::1]:11210

Top
  • Login or register to post comments
Wed, 01/16/2013 - 12:23
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

Can you connect to the Administration Console?

Is it only an API/Application issue?
Could you confirm that you are using the .net client? (if not which client are you using?)

Also could you do some test to test to the cluster:
- Connect to memcached using telnet:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-sta...

- REST API
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-resta...

This is just to test your environment and get more information to help you to solve your issue.

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker