Stops connecting after a while
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> 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.
Greg, just making sure I read this correctly...
Following those instructions solved your issue?
Perry
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
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!