Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Membase using Enyim went crazy

6 replies [Last post]
  • Login or register to post comments
Sat, 03/12/2011 - 07:39
rejwan
Offline
Joined: 02/20/2011
Groups: None

Hi guys,

I've started developing a social game using Membase in .NET (using Enyim's .NET API) - now it all worked fine and dandy until suddenly Enyim couldn't communicate with my Membase server anymore - this forced me to uninstall and re-install Membase.

Now it worked fine for about 2 weeks until today it happened again - every time I attempt to read/write to/from Memabse, it waits for 10 seconds (my idle time and then returns null or doesn't write).

Looking in the Membase management console I see 0 activity on it.

Keep in mind that the code is fine and worked 100% yesterday, and today by simply rerunning the code, it's not working.

Nothing had changed.

 

Please help!

Top
  • Login or register to post comments
Sat, 03/12/2011 - 07:41
rejwan
Offline
Joined: 02/20/2011
Groups: None

Oh yea, also when I attempt to connect via telnet directly to Membase (this used to work before - telnet localhost 11211) everything I type in it simply writes "ERROR".

Top
  • Login or register to post comments
Sun, 03/13/2011 - 09:46
perry
Offline
Joined: 10/11/2010
Groups:

 I'd need to look at the logs to know more, but it is possible that the IP address of your server(s) is/are changing because of DHCP?

 

If you log into the Membase console and go to "Servers", does the IP address listed there match the actual IP of the server?

 

http://forums.membase.org/thread/issues-dhcp-development-laptop

 

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Sun, 03/13/2011 - 09:51
rejwan
Offline
Joined: 02/20/2011
Groups: None

Well unfortunately I got sick of waiting for help because I needed to continue developing, but like I said this is the 2nd time this has happened.

The server runs on localhost as this is our development server, and all addresses pointing to it uses localhost and not a static IP.

Top
  • Login or register to post comments
Sun, 03/13/2011 - 10:01
perry
Offline
Joined: 10/11/2010
Groups:

 And have you specifically configued Membase to use localhost?  What does the Membase UI say in the Server list?

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Sun, 03/13/2011 - 10:31
rejwan
Offline
Joined: 02/20/2011
Groups: None

Nice catch, it actually uses the DHCP IP that our office router gives the server, however, won't localhost point to that same IP address if it changes?

Top
  • Login or register to post comments
Mon, 03/14/2011 - 18:28
perry
Offline
Joined: 10/11/2010
Groups:

 If you configure Membase to use localhost (http://techzone.couchbase.com/wiki/display/membase/Using+Membase+in+the+...) then it will actually register the node as "localhost" and any change to the underlying IP will be transparent.

 

However, this only works for a single node and cannot be used to cluster multiple nodes together.  You will either need to use servers with static IP's or provide externally accessible DNS names for all the nodes in the cluster.

 

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

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