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

Stops connecting after a while

4 replies [Last post]
  • Login or register to post comments
Wed, 05/04/2011 - 06:13
GregInAZ
Offline
Joined: 05/04/2011
Groups: None

A couple days ago I updated my development machine with the latest DLLs from https://github.com/enyim/EnyimMemcached/downloads and since then I've had connectivity issues. I was using the NorthScale ones before so I removed the old DLLs from the project, added the new ones, updated my web.config and tried to connect. I spent about 2 hours trying to figure out why I couldn't read or write the cache. There was no delay, but nothing was happening. So I uninstalled Membase 1.6.5 and re-installed it. I updated my web.config with the new server address and it worked right away. But then later it stopped working again. All the while I could still connect with the Membase Web Console. Restarting the service didn't help, rebooting the machine didn't help, uninstalling and re-installing Membase did. Once again caching worked from my .NET app. This isn't happening on the live server.

I use WiFi off from my Sprint phone for Internet so maybe since my IP address changes often this might have something to do with it. I've ruled out Windows Firewall by disabling it completely. So I'm just guessing at things now. Membase is installed on the same machine I develop on.

Any idea what the problem is and how I can fix it?

My current DLLs are:

Enyim.Caching.dll version 2.8
Membase.dll version 2.11

Membase 1.6.5.3.

My current web.config looks like:

 <membase>
    <servers bucket="default" userName="myusername" password="mypassword" retryCount="2" retryTimeout="00:00:02" port="Direct">
      <add uri="http://10.0.0.69:8091/pools/default" />
    </servers>
    <socketPool minPoolSize="10" maxPoolSize="20" connectionTimeout="00:00:10" deadTimeout="00:00:10" />
  </membase>  

Top
  • Login or register to post comments
Thu, 05/05/2011 - 21:06
perry
Offline
Joined: 10/11/2010
Groups:

This sounds very similar to the problems we've experienced with changing IP addresses, especially using DHCP:
http://techzone.couchbase.com/forums/thread/issues-dhcp-development-laptop

Can you try the steps outlined above and see if that smooths things out for you?

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
Fri, 05/06/2011 - 04:46
GregInAZ
Offline
Joined: 05/04/2011
Groups: None

Thanks for the reply. I had followed the directions in a different post (http://techzone.couchbase.com/forums/node/195) yesterday and so far it's still working. Same instructions pretty much.

Top
  • Login or register to post comments
Sat, 05/07/2011 - 18:50
perry
Offline
Joined: 10/11/2010
Groups:

Greg, just making sure I read this correctly...

Following those instructions solved your issue?

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, 05/08/2011 - 06:31
GregInAZ
Offline
Joined: 05/04/2011
Groups: None

Yeah, it's still working. It looks like it needed to be 127.0.0.1 to keep it working.

This is the part I followed:

cd "\Program Files\NorthScale\Memcached Server\bin"
service_stop.bat
service_unregister.bat
del ..\config\ns_1\*
cd bin
service_register.bat ns_1@127.0.0.1
service_start.bat

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