<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed May 22 08:31:48 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/JCBC-151/JCBC-151.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[JCBC-151] Client does timeout on connect in specific java environments (was believed to be java7 related).</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-151</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>People report that the Client does not work with 1.7. Here is a sample stack trace:&lt;br/&gt;
&lt;br/&gt;
2012-11-20 00:29:11.228 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/127.0.0.1:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-11-20 00:29:11.240 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@3f757322&apos;&gt;sun.nio.ch.SelectionKeyImpl@3f757322&lt;/a&gt;&lt;br/&gt;
2012-11-20 00:29:11.502 INFO com.couchbase.client.ViewConnection:  Added localhost/127.0.0.1:8092 to connect queue&lt;br/&gt;
2012-11-20 00:29:11.505 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2012-11-20 00:29:11.647 INFO net.spy.memcached.auth.AuthThread:  Authenticated to localhost/127.0.0.1:11210&lt;br/&gt;
2012-11-20 00:29:12.051 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2012-11-20 00:29:12.060 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  localhost/127.0.0.1:8092 - Session request successful&lt;br/&gt;
2012-11-20 00:29:17.111 ERROR com.couchbase.client.ViewNode$EventLogger:  Connection timed out: [localhost/127.0.0.1:8092(closed)]&lt;br/&gt;
java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:68)&lt;br/&gt;
at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:428)&lt;br/&gt;
at Example1.main(Example1.java:43)&lt;br/&gt;
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for operation&lt;br/&gt;
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:80)&lt;br/&gt;
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:65)&lt;br/&gt;
... 2 more&lt;br/&gt;
2012-11-20 00:30:12.168 INFO com.couchbase.client.CouchbaseConnection:  Shut down Couchbase client&lt;br/&gt;
2012-11-20 00:30:12.177 INFO com.couchbase.client.ViewNode:  Couchbase I/O reactor terminated&lt;br/&gt;
Disconnected from the target VM, address: &amp;#39;127.0.0.1:65280&amp;#39;, transport: &amp;#39;socket&amp;#39;&lt;br/&gt;
&lt;br/&gt;
Process finished with exit code 0&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Also See &lt;a href=&quot;http://www.couchbase.com/forums/thread/java-asyncconnectionmanager-timed-out-waiting-operation-please-help-console-log-included&quot;&gt;http://www.couchbase.com/forums/thread/java-asyncconnectionmanager-timed-out-waiting-operation-please-help-console-log-included&lt;/a&gt;&lt;br/&gt;
And &lt;a href=&quot;http://stackoverflow.com/questions/13466010/using-java-api-in-scala-to-query-views-in-couchbase-throws-timeout-exception?utm_source=twitterfeed&amp;utm_medium=twitter&quot;&gt;http://stackoverflow.com/questions/13466010/using-java-api-in-scala-to-query-views-in-couchbase-throws-timeout-exception?utm_source=twitterfeed&amp;amp;utm_medium=twitter&lt;/a&gt;</description>
                <environment></environment>
            <key id="20877">JCBC-151</key>
            <summary>Client does timeout on connect in specific java environments (was believed to be java7 related).</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Nov 2012 04:01:02 -0600</created>
                <updated>Mon, 20 May 2013 14:30:47 -0500</updated>
                                    <version>1.1-dp4</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>2</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="44834" author="sqs" created="Tue, 27 Nov 2012 03:40:26 -0600"  >This doesn&amp;#39;t appear to be strictly related to Java7. I was able to get similar code to work on Java7. I even simulated loading a Play2 environment with other JARs that could potentially cause conflicts. It&amp;#39;s possible that my simulation of the Play2 environment was insufficient and that Play2 does other stuff...&lt;br/&gt;
&lt;br/&gt;
Code at &lt;a href=&quot;https://github.com/sqs/couchbase-scala-example&quot;&gt;https://github.com/sqs/couchbase-scala-example&lt;/a&gt;. Run with:&lt;br/&gt;
&lt;br/&gt;
CBURL=&lt;a href=&quot;http://localhost:8091/pools&quot;&gt;http://localhost:8091/pools&lt;/a&gt; CBPASSWORD=mypassword sbt -Dconfig.file=conf/application.conf &amp;#39;~run&amp;#39;&lt;br/&gt;
&lt;br/&gt;
Here is the output on my system that shows it&amp;#39;s on Java7 (openjdk) and that shows the expected output from the views:&lt;br/&gt;
&lt;br/&gt;
on java version 1.7.0_09&lt;br/&gt;
[info] play - Application started (Prod)&lt;br/&gt;
2012-11-27 01:34:27.115 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/127.0.0.1:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-11-27 01:34:27.120 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@6267e5a2&apos;&gt;sun.nio.ch.SelectionKeyImpl@6267e5a2&lt;/a&gt;&lt;br/&gt;
2012-11-27 01:34:27.147 INFO com.couchbase.client.ViewConnection:  Added localhost/127.0.0.1:8092 to connect queue&lt;br/&gt;
2012-11-27 01:34:27.149 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2012-11-27 01:34:27.176 INFO net.spy.memcached.auth.AuthThread:  Authenticated to localhost/127.0.0.1:11210&lt;br/&gt;
2012-11-27 01:34:27.282 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2012-11-27 01:34:27.288 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  localhost/127.0.0.1:8092 - Session request successful&lt;br/&gt;
Res = List(&lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@4667820f&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@4667820f&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@358bcae5&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@358bcae5&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@6cb59bd9&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@6cb59bd9&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@70afb51&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@70afb51&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@61f98673&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@61f98673&lt;/a&gt;)&lt;br/&gt;
2012-11-27 01:34:27.396 INFO com.couchbase.client.CouchbaseConnection:  Shut down Couchbase client&lt;br/&gt;
2012-11-27 01:34:27.403 INFO com.couchbase.client.ViewNode:  Couchbase I/O reactor terminated&lt;br/&gt;
</comment>
                    <comment id="44844" author="daschl" created="Tue, 27 Nov 2012 09:27:32 -0600"  >Are you running on jdk7 on mac? Also, when you use play 2.1 it should work. Play2-related issues more were because of netty version incompatibilities.</comment>
                    <comment id="44865" author="sqs" created="Tue, 27 Nov 2012 14:24:50 -0600"  >This is jdk7 on Arch Linux and Play 2.1-RC1.&lt;br/&gt;
&lt;br/&gt;
I tried using a different netty, but no luck. What worked for me was moving calls to &amp;quot;new CouchbaseClient&amp;quot; out of static &amp;quot;object&amp;quot; initializers, since they appeared to be getting called in the Netty I/O thread (I got this exception in new CouchbaseClient: java.lang.IllegalStateException: await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread).</comment>
                    <comment id="44914" author="daschl" created="Wed, 28 Nov 2012 02:45:32 -0600"  >Hi Quinn, this issue is a different one! The issue described here is that people seem to find connection timeouts with java 7.</comment>
                    <comment id="44974" author="sqs" created="Wed, 28 Nov 2012 18:30:53 -0600"  >They may be related--or may just have similar symptoms. I was not getting timeout exceptions, but I was seeing view requests hang indefinitely until I made the fix described above.</comment>
                    <comment id="52650" author="dragos" created="Wed, 13 Mar 2013 06:49:42 -0500"  >Hi Michael, can you help with this error ? I am trying to find a workaround or something to work. This is the only thing which is keeping us from using Couchbase. I also posted here : &lt;a href=&quot;http://www.couchbase.com/forums/thread/couchbase-connectivity-problem-aws-vpc&quot;&gt;http://www.couchbase.com/forums/thread/couchbase-connectivity-problem-aws-vpc&lt;/a&gt; . As you can see in the times the timeout is received really fast.&lt;br/&gt;
&lt;br/&gt;
2013-03-13 11:40:47.702 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/10.0.X.XXX:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2013-03-13 11:40:52.712 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@5cbfe9d&apos;&gt;sun.nio.ch.SelectionKeyImpl@5cbfe9d&lt;/a&gt;&lt;br/&gt;
2013-03-13 11:40:52.840 INFO net.spy.memcached.auth.AuthThread:  Authenticated to 10.0.X.XXX/10.0.X.XXX:11210&lt;br/&gt;
2013-03-13 11:40:57.860 INFO com.couchbase.client.ViewConnection:  Added 10.0.X.XXX to connect queue&lt;br/&gt;
2013-03-13 11:40:57.863 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2013-03-13 11:40:58.070 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2013-03-13 11:40:58.077 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  /10.0.X.XXX:8092 - Session request successful&lt;br/&gt;
2013-03-13 11:41:03.113 ERROR com.couchbase.client.ViewNode$EventLogger:  Connection timed out: [10.0.X.XXX/10.0.X.XXX:8092]&lt;br/&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:475)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at couchbase.training.view.poc.CouchbasePOC.main(CouchbasePOC.java:63)&lt;br/&gt;
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:85)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:74)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:64)&lt;br/&gt;
</comment>
                    <comment id="52651" author="daschl" created="Wed, 13 Mar 2013 07:35:43 -0500"  >Hi dragos,&lt;br/&gt;
&lt;br/&gt;
can you please post the full code where you connect to couchbase? (including factories and such)&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="52652" author="dragos" created="Wed, 13 Mar 2013 07:38:51 -0500"  >Hi Mike, this is the POC client for Couchbase:&lt;br/&gt;
package couchbase.training.view.poc;&lt;br/&gt;
&lt;br/&gt;
import java.io.FileInputStream;&lt;br/&gt;
import java.io.FileNotFoundException;&lt;br/&gt;
import java.io.IOException;&lt;br/&gt;
import java.net.URI;&lt;br/&gt;
import java.util.LinkedList;&lt;br/&gt;
import java.util.List;&lt;br/&gt;
import java.util.concurrent.TimeUnit;&lt;br/&gt;
&lt;br/&gt;
import org.apache.commons.io.IOUtils;&lt;br/&gt;
import org.json.JSONException;&lt;br/&gt;
import org.json.XML;&lt;br/&gt;
&lt;br/&gt;
import com.couchbase.client.CouchbaseClient;&lt;br/&gt;
import com.couchbase.client.CouchbaseConnectionFactory;&lt;br/&gt;
import com.couchbase.client.CouchbaseConnectionFactoryBuilder;&lt;br/&gt;
import com.couchbase.client.protocol.views.ComplexKey;&lt;br/&gt;
import com.couchbase.client.protocol.views.Query;&lt;br/&gt;
import com.couchbase.client.protocol.views.Stale;&lt;br/&gt;
import com.couchbase.client.protocol.views.View;&lt;br/&gt;
import com.couchbase.client.protocol.views.ViewResponse;&lt;br/&gt;
import com.couchbase.client.protocol.views.ViewRow;&lt;br/&gt;
&lt;br/&gt;
public class CouchbasePOC&lt;br/&gt;
{&lt;br/&gt;
	public static void main(String[] args) throws FileNotFoundException, JSONException, IOException&lt;br/&gt;
	{&lt;br/&gt;
		System.out.println(&amp;quot;Hello from CouchBase&amp;quot;);&lt;br/&gt;
		&lt;br/&gt;
		// Set the URIs and get a client&lt;br/&gt;
	    final List&amp;lt;URI&amp;gt; uris = new LinkedList&amp;lt;URI&amp;gt;();&lt;br/&gt;
	    &lt;br/&gt;
	    // Connect to localhost or to the appropriate URI(s)&lt;br/&gt;
	    uris.add(URI.create(&amp;quot;&lt;a href=&quot;http://10.0.7.164:8091/pools&quot;&gt;http://10.0.7.164:8091/pools&lt;/a&gt;&amp;quot;));	    &lt;br/&gt;
	    	    	    &lt;br/&gt;
	    final String mappedName=&amp;quot;problems&amp;quot;;&lt;br/&gt;
	    long start = System.currentTimeMillis();&lt;br/&gt;
&lt;br/&gt;
	    CouchbaseConnectionFactoryBuilder m_couchbaseConnectionFactoryBuilder = new CouchbaseConnectionFactoryBuilder();&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setMaxReconnectDelay(10000);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setOpQueueMaxBlockTime(100);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setOpTimeout(20000);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setShouldOptimize(true);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setViewTimeout(300000);&lt;br/&gt;
	    &lt;br/&gt;
		CouchbaseConnectionFactory connFactory = m_couchbaseConnectionFactoryBuilder.buildCouchbaseConnection(uris, mappedName, &amp;quot;&amp;quot;);&lt;br/&gt;
		&lt;br/&gt;
	    CouchbaseClient client = null;	    &lt;br/&gt;
		try&lt;br/&gt;
		{&lt;br/&gt;
			client = new CouchbaseClient(connFactory);			&lt;br/&gt;
		}&lt;br/&gt;
		catch (IOException e)&lt;br/&gt;
		{&lt;br/&gt;
			System.err.println(&amp;quot;IOException connecting to Couchbase: &amp;quot; + e.getMessage());&lt;br/&gt;
			System.exit(1);&lt;br/&gt;
		} &lt;br/&gt;
		&lt;br/&gt;
		final View view = client.getView(mappedName, mappedName);		&lt;br/&gt;
		final Query query = new Query();	&lt;br/&gt;
&lt;br/&gt;
		final ComplexKey key = ComplexKey.of(&amp;quot;problem&amp;quot;,null,null,null,null);&lt;br/&gt;
		query.setKey(key);		&lt;br/&gt;
		query.setStale( Stale.UPDATE_AFTER );&lt;br/&gt;
		int counter=0;&lt;br/&gt;
		try&lt;br/&gt;
		{&lt;br/&gt;
			final ViewResponse result = client.query(view, query);			&lt;br/&gt;
			for(ViewRow row : result) &lt;br/&gt;
			{&lt;br/&gt;
				counter++;&lt;br/&gt;
				System.out.println(row.getId());&lt;br/&gt;
			}&lt;br/&gt;
		}&lt;br/&gt;
		catch(java.lang.VerifyError e)&lt;br/&gt;
		{&lt;br/&gt;
			System.out.println(&amp;quot;Error: &amp;quot; + e.getMessage());&lt;br/&gt;
		} 			&lt;br/&gt;
		 &lt;br/&gt;
		System.out.println(&amp;quot;time: &amp;quot; + (System.currentTimeMillis()-start) );&lt;br/&gt;
		System.out.println(&amp;quot;documents: &amp;quot; + counter );&lt;br/&gt;
		&lt;br/&gt;
		client.shutdown(3, TimeUnit.SECONDS);&lt;br/&gt;
		System.exit(0);&lt;br/&gt;
	}&lt;br/&gt;
}&lt;br/&gt;
</comment>
                    <comment id="52653" author="dragos" created="Wed, 13 Mar 2013 07:40:24 -0500"  >I hope you would not mind that i called you Mike and not Michael. </comment>
                    <comment id="52654" author="daschl" created="Wed, 13 Mar 2013 07:46:17 -0500"  >Hehe no worries.&lt;br/&gt;
&lt;br/&gt;
Can you do me a favor and remove the factory for a second and just use CouchbaseClient() without anything else? Let me know if the problem still persists or not! Thanks</comment>
                    <comment id="52656" author="dragos" created="Wed, 13 Mar 2013 07:53:50 -0500"  >Hi Michael, &lt;br/&gt;
First i want to thank you for the quick feed-back. Your owesome !!!&lt;br/&gt;
&lt;br/&gt;
Before using the factory i used the CouchbaseClient(uris, bucketName, &amp;quot;&amp;quot;)  which is also timing out. I added the factory to be able increase the timeout times for the connection but still the same problem.</comment>
                    <comment id="52658" author="daschl" created="Wed, 13 Mar 2013 08:01:12 -0500"  >Hmm okay, so its not the factory (we had some issues with default values in the past, thats why I&amp;#39;m asking).&lt;br/&gt;
&lt;br/&gt;
Can you pin me down your operating system and exact java version you&amp;#39;re using?Thanks for your help!</comment>
                    <comment id="52659" author="daschl" created="Wed, 13 Mar 2013 08:06:02 -0500"  >Also, since you&amp;#39;re so responsive (I hope we can pin this down finally!).. Can you run the same code with DEBUG log enabled (see &lt;a href=&quot;https://code.google.com/p/spymemcached/wiki/Logging)&quot;&gt;https://code.google.com/p/spymemcached/wiki/Logging)&lt;/a&gt;.. just use Logger.getLogger(&amp;quot;com.couchbase.client&amp;quot;).setLevel(Level.FINEST); instead of Logger.getLogger(&amp;quot;net.spy.memcached&amp;quot;).setLevel(Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="52661" author="dragos" created="Wed, 13 Mar 2013 08:11:13 -0500"  >This is my test environment for the client which will be similar for production.&lt;br/&gt;
OS Ubuntu Server 11.10 x64&lt;br/&gt;
java -version result:&lt;br/&gt;
java version &amp;quot;1.6.0_26&amp;quot;&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)&lt;br/&gt;
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)&lt;br/&gt;
&lt;br/&gt;
My network infrastructure is like this:&lt;br/&gt;
In an AWS virtual private center (VPC) i have a subnet and in this subnet there are 2 machines. The client machine and the Couchbase server. The machines have identical OS and java version as mentioned above. I have open the ports and also checked the network ACL. The traffic is free to go,no restriction. If i am using a rest query with curl for the view i receive the result, the problem is only in the java SDK.&lt;br/&gt;
If needed more information please ask. I will gladly offer it.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="52662" author="daschl" created="Wed, 13 Mar 2013 08:15:18 -0500"  >Hi Dragos,&lt;br/&gt;
&lt;br/&gt;
yes, if you can please rerun the script with DEBUG logging enabled (see last comment).. Thanks very much in advance!</comment>
                    <comment id="52663" author="dragos" created="Wed, 13 Mar 2013 08:38:03 -0500"  >I&amp;#39;ve setted the logger to finest and this is the error log obtained. Also i tested again the connection with curl and no problemes.&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:30:14 PM com.couchbase.client.CouchbaseProperties setPropertyFile&lt;br/&gt;
INFO: Could not load properties file &amp;quot;cbclient.properties&amp;quot; because: File not found with system classloader.&lt;br/&gt;
2013-03-13 13:30:14.679 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2013-03-13 13:30:19.689 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@4e99353f&apos;&gt;sun.nio.ch.SelectionKeyImpl@4e99353f&lt;/a&gt;&lt;br/&gt;
2013-03-13 13:30:19.810 INFO net.spy.memcached.auth.AuthThread:  Authenticated to 10.0.7.164/10.0.7.164:11210&lt;br/&gt;
2013-03-13 13:30:24.828 INFO com.couchbase.client.ViewConnection:  Added 10.0.7.164 to connect queue&lt;br/&gt;
2013-03-13 13:30:24.830 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2013-03-13 13:30:25.025 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2013-03-13 13:30:25.033 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  /10.0.7.164:8092 - Session request successful&lt;br/&gt;
2013-03-13 13:30:30.083 ERROR com.couchbase.client.ViewNode$EventLogger:  Connection timed out: [10.0.7.164/10.0.7.164:8092]&lt;br/&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:475)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at couchbase.training.view.poc.CouchbasePOC.main(CouchbasePOC.java:68)&lt;br/&gt;
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:85)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:74)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:64)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;... 2 more&lt;br/&gt;
&lt;br/&gt;
curl result&lt;br/&gt;
&lt;br/&gt;
curl &lt;a href=&quot;http://10.0.7.164:8092/problems/_design/dev_problems/_view/problems?stale=false&quot;&gt;http://10.0.7.164:8092/problems/_design/dev_problems/_view/problems?stale=false&lt;/a&gt;\&amp;amp;connection_timeout=60000\&amp;amp;limit=10\&amp;amp;skip=0&lt;br/&gt;
{&amp;quot;total_rows&amp;quot;:0,&amp;quot;rows&amp;quot;:[&lt;br/&gt;
]&lt;br/&gt;
}&lt;br/&gt;
[4]+  Done&lt;br/&gt;
</comment>
                    <comment id="52664" author="dragos" created="Wed, 13 Mar 2013 08:39:38 -0500"  >I am available for next steps in debuging. With what can i help next ? </comment>
                    <comment id="52666" author="daschl" created="Wed, 13 Mar 2013 08:49:10 -0500"  >Hi, hmm no there should be more output (DEBUG), not just info... you need to copy this whole snippet before your code actually executes:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Tell spy to use the SunLogger&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Properties systemProperties = System.getProperties();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;systemProperties.put(&amp;quot;net.spy.log.LoggerImpl&amp;quot;, &amp;quot;net.spy.memcached.compat.log.SunLogger&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.setProperties(systemProperties);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger.getLogger(&amp;quot;com.couchbase.client&amp;quot;).setLevel(Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//get the top Logger&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger topLogger = java.util.logging.Logger.getLogger(&amp;quot;&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Handler for console (reuse it if it already exists)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Handler consoleHandler = null;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//see if there is already a console handler&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (Handler handler : topLogger.getHandlers()) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (handler instanceof ConsoleHandler) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//found the console handler&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;consoleHandler = handler;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (consoleHandler == null) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//there was no console handler found, create a new one&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;consoleHandler = new ConsoleHandler();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;topLogger.addHandler(consoleHandler);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//set the console handler to fine:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;consoleHandler.setLevel(java.util.logging.Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I guess you&amp;#39;re running it from your IDE?</comment>
                    <comment id="52667" author="dragos" created="Wed, 13 Mar 2013 09:00:01 -0500"  >I am building the client on local IDE then uploading it to EC2 test machine. The snipped of code word and now i have a full log.&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:10 PM com.couchbase.client.CouchbaseProperties setPropertyFile&lt;br/&gt;
INFO: Could not load properties file &amp;quot;cbclient.properties&amp;quot; because: File not found with system classloader.&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString&lt;br/&gt;
FINE: Attempting to read configuration from URI: &lt;a href=&quot;http://10.0.7.164:8091/pools&quot;&gt;http://10.0.7.164:8091/pools&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString&lt;br/&gt;
FINE: Attempting to read configuration from URI: &lt;a href=&quot;http://10.0.7.164:8091/pools/default?uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&quot;&gt;http://10.0.7.164:8091/pools/default?uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString&lt;br/&gt;
FINE: Attempting to read configuration from URI: &lt;a href=&quot;http://10.0.7.164:8091/pools/default/buckets?v=120523822&amp;uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&quot;&gt;http://10.0.7.164:8091/pools/default/buckets?v=120523822&amp;amp;uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:11 PM net.spy.memcached.MemcachedConnection createConnections&lt;br/&gt;
INFO: Added {QA sa=/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.VBucketNodeLocator fillNodesEntries&lt;br/&gt;
FINE: Updating nodesMap in VBucketNodeLocator.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM com.couchbase.client.vbucket.VBucketNodeLocator fillNodesEntries&lt;br/&gt;
FINE: Adding node with address 10.0.7.164:11210.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM com.couchbase.client.vbucket.VBucketNodeLocator fillNodesEntries&lt;br/&gt;
FINE: Node added is {QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=8}.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selected 1, selected 1 keys&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Handling IO for:  &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt; (r=false, w=false, c=true, op={QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=8})&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
INFO: Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection insertOperation&lt;br/&gt;
FINE: Added Cmd: 10 Opaque: 1 to {QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=1, topRop=null, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Read 24 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Completed read op: Cmd: 10 Opaque: 1 and giving the next 0 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleInputQueue&lt;br/&gt;
FINE: Handling queue&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: No selectors ready, interrupted: false&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: No selectors ready, interrupted: false&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleInputQueue&lt;br/&gt;
FINE: Handling queue&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selected 1, selected 1 keys&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection insertOperation&lt;br/&gt;
FINE: Added SASL auth operation to {QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=SASL auth operation, toWrite=0, interested=4}&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Handling IO for:  &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt; (r=false, w=true, c=false, op={QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=SASL auth operation, toWrite=0, interested=4})&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selected 1, selected 1 keys&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Handling IO for:  &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt; (r=true, w=false, c=false, op={QA sa=10.0.7.164/10.0.7.164:11210, #Rops=1, #Wops=0, #iq=0, topRop=SASL auth operation, topWop=null, toWrite=0, interested=1})&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Read 37 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.auth.AuthThread$1 receivedStatus&lt;br/&gt;
INFO: Authenticated to 10.0.7.164/10.0.7.164:11210&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Completed read op: SASL auth operation and giving the next 0 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.ViewConnection createConnections&lt;br/&gt;
INFO: Added 10.0.7.164 to connect queue&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.CouchbaseClient &amp;lt;init&amp;gt;&lt;br/&gt;
INFO: viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP subscribe&lt;br/&gt;
FINE: Subscribing an object for reconfiguration updates com.couchbase.client.CouchbaseClient&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINEST: Channel state changed: [id: 0x2e273686] OPEN&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINER: Channel state change is not a disconnect. Event value is true and Channel State is OPEN.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINEST: Channel state changed: [id: 0x2e273686, /10.0.7.213:55729 =&amp;gt; /10.0.7.164:8091] BOUND: /10.0.7.213:55729&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINER: Channel state change is not a disconnect. Event value is /10.0.7.213:55729 and Channel State is BOUND.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINEST: Channel state changed: [id: 0x2e273686, /10.0.7.213:55729 =&amp;gt; /10.0.7.164:8091] CONNECTED: /10.0.7.164:8091&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINER: Channel state change is not a disconnect. Event value is /10.0.7.164:8091 and Channel State is CONNECTED.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: STATUS: 200 OK&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: VERSION: HTTP/1.1&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Cache-Control = no-cache&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Content-Type = application/json; charset=utf-8&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Date = Wed, 13 Mar 2013 13:55:42 GMT&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Pragma = no-cache&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Server = Couchbase Server 2.0.0-1976-rel-enterprise&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Transfer-Encoding = chunked&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER:&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: CHUNKED CONTENT {&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: {&amp;quot;name&amp;quot;:&amp;quot;problems&amp;quot;,&amp;quot;bucketType&amp;quot;:&amp;quot;membase&amp;quot;,&amp;quot;authType&amp;quot;:&amp;quot;sasl&amp;quot;,&amp;quot;saslPassword&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;proxyPort&amp;quot;:0,&amp;quot;replicaIndex&amp;quot;:false,&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;streamingUri&amp;quot;:&amp;quot;/pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;localRandomKeyUri&amp;quot;:&amp;quot;/pools/default/buckets/problems/localRandomKey&amp;quot;,&amp;quot;controllers&amp;quot;:{&amp;quot;compactAll&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactBucket&amp;quot;,&amp;quot;compactDB&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactDatabases&amp;quot;},&amp;quot;nodes&amp;quot;:[{&amp;quot;couchApiBase&amp;quot;:&amp;quot;&lt;a href=&quot;http://10.0.7.164:8092/problems&quot;&gt;http://10.0.7.164:8092/problems&lt;/a&gt;&amp;quot;,&amp;quot;replication&amp;quot;:0.0,&amp;quot;clusterMembership&amp;quot;:&amp;quot;active&amp;quot;,&amp;quot;status&amp;quot;:&amp;quot;healthy&amp;quot;,&amp;quot;thisNode&amp;quot;:true,&amp;quot;hostname&amp;quot;:&amp;quot;10.0.7.164:8091&amp;quot;,&amp;quot;clusterCompatibility&amp;quot;:131072,&amp;quot;version&amp;quot;:&amp;quot;2.0.0-1976-rel-enterprise&amp;quot;,&amp;quot;os&amp;quot;:&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,&amp;quot;ports&amp;quot;:{&amp;quot;proxy&amp;quot;:11211,&amp;quot;direct&amp;quot;:11210}}],&amp;quot;stats&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/stats&amp;quot;,&amp;quot;directoryURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/statsDirectory&amp;quot;,&amp;quot;nodeStatsListURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/nodes&amp;quot;},&amp;quot;ddocs&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/ddocs&amp;quot;},&amp;quot;nodeLocator&amp;quot;:&amp;quot;vbucket&amp;quot;,&amp;quot;autoCompactionSettings&amp;quot;:false,&amp;quot;fastWarmupSettings&amp;quot;:false,&amp;quot;uuid&amp;quot;:&amp;quot;7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;vBucketServerMap&amp;quot;:{&amp;quot;hashAlgorithm&amp;quot;:&amp;quot;CRC&amp;quot;,&amp;quot;numReplicas&amp;quot;:1,&amp;quot;serverList&amp;quot;:[&amp;quot;10.0.7.164:11210&amp;quot;],&amp;quot;vBucketMap&amp;quot;:[[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,-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,-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],[&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 3066&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: 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,-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,-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,-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&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 2048&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: ],[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,-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,-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,-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,-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,-&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 3072&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: 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]]},&amp;quot;bucketCapabilitiesVer&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;bucketCapabilities&amp;quot;:[&amp;quot;touch&amp;quot;,&amp;quot;couchapi&amp;quot;]}&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 361&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketMonitor logFiner&lt;br/&gt;
FINER: Getting server list returns this last chunked response:&lt;br/&gt;
{&amp;quot;name&amp;quot;:&amp;quot;problems&amp;quot;,&amp;quot;bucketType&amp;quot;:&amp;quot;membase&amp;quot;,&amp;quot;authType&amp;quot;:&amp;quot;sasl&amp;quot;,&amp;quot;saslPassword&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;proxyPort&amp;quot;:0,&amp;quot;replicaIndex&amp;quot;:false,&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;streamingUri&amp;quot;:&amp;quot;/pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;localRandomKeyUri&amp;quot;:&amp;quot;/pools/default/buckets/problems/localRandomKey&amp;quot;,&amp;quot;controllers&amp;quot;:{&amp;quot;compactAll&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactBucket&amp;quot;,&amp;quot;compactDB&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactDatabases&amp;quot;},&amp;quot;nodes&amp;quot;:[{&amp;quot;couchApiBase&amp;quot;:&amp;quot;&lt;a href=&quot;http://10.0.7.164:8092/problems&quot;&gt;http://10.0.7.164:8092/problems&lt;/a&gt;&amp;quot;,&amp;quot;replication&amp;quot;:0.0,&amp;quot;clusterMembership&amp;quot;:&amp;quot;active&amp;quot;,&amp;quot;status&amp;quot;:&amp;quot;healthy&amp;quot;,&amp;quot;thisNode&amp;quot;:true,&amp;quot;hostname&amp;quot;:&amp;quot;10.0.7.164:8091&amp;quot;,&amp;quot;clusterCompatibility&amp;quot;:131072,&amp;quot;version&amp;quot;:&amp;quot;2.0.0-1976-rel-enterprise&amp;quot;,&amp;quot;os&amp;quot;:&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,&amp;quot;ports&amp;quot;:{&amp;quot;proxy&amp;quot;:11211,&amp;quot;direct&amp;quot;:11210}}],&amp;quot;stats&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/stats&amp;quot;,&amp;quot;directoryURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/statsDirectory&amp;quot;,&amp;quot;nodeStatsListURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/nodes&amp;quot;},&amp;quot;ddocs&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/ddocs&amp;quot;},&amp;quot;nodeLocator&amp;quot;:&amp;quot;vbucket&amp;quot;,&amp;quot;autoCompactionSettings&amp;quot;:false,&amp;quot;fastWarmupSettings&amp;quot;:false,&amp;quot;uuid&amp;quot;:&amp;quot;7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;vBucketServerMap&amp;quot;:{&amp;quot;hashAlgorithm&amp;quot;:&amp;quot;CRC&amp;quot;,&amp;quot;numReplicas&amp;quot;:1,&amp;quot;serverList&amp;quot;:[&amp;quot;10.0.7.164:11210&amp;quot;],&amp;quot;vBucketMap&amp;quot;:[[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,-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,-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,-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,-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,-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,-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,-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,-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,-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,-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,-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]]},&amp;quot;bucketCapabilitiesVer&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;bucketCapabilities&amp;quot;:[&amp;quot;touch&amp;quot;,&amp;quot;couchapi&amp;quot;]}&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: Received an update, notifying reconfigurables about a &lt;a href=&apos;mailto:com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@4cf3fdc4&apos;&gt;com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@4cf3fdc4&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: It says it is problems and it&amp;#39;s talking to /pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.CouchbaseConnection reconfigure&lt;br/&gt;
FINE: Node 10.0.7.164/10.0.7.164:11210 will stay in cluster config after reconfiguration.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.VBucketNodeLocator updateLocator&lt;br/&gt;
FINE: Received updated configuration with insignificant changes.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: Received an update, notifying reconfigurables about a &lt;a href=&apos;mailto:com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@fadb83cf&apos;&gt;com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@fadb83cf&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: It says it is problems and it&amp;#39;s talking to /pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.CouchbaseConnection reconfigure&lt;br/&gt;
FINE: Node 10.0.7.164/10.0.7.164:11210 will stay in cluster config after reconfiguration.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.VBucketNodeLocator updateLocator&lt;br/&gt;
FINE: Received updated configuration with insignificant changes.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.http.AsyncConnectionManager processConnectionRequests&lt;br/&gt;
INFO: Opening new Couchbase HTTP connection&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback completed&lt;br/&gt;
INFO: /10.0.7.164:8092 - Session request successful&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.ViewNode$EventLogger connectionOpen&lt;br/&gt;
FINE: Connection open: [/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionTimeout&lt;br/&gt;
SEVERE: Connection timed out: [10.0.7.164/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionClosed&lt;br/&gt;
FINE: Connection closed: [10.0.7.164/10.0.7.164:8092(closed)]&lt;br/&gt;
</comment>
                    <comment id="52669" author="daschl" created="Wed, 13 Mar 2013 09:05:01 -0500"  >Hi, thanks for the log..&lt;br/&gt;
&lt;br/&gt;
interestingly, there is nothing unusual in this.. I&amp;#39;ll investigate further and come back to you if I need more info..&lt;br/&gt;
&lt;br/&gt;
thanks so far!</comment>
                    <comment id="52670" author="dragos" created="Wed, 13 Mar 2013 09:08:40 -0500"  >Thank you for spending time on this. Looking forward for a fix :) .</comment>
                    <comment id="52671" author="daschl" created="Wed, 13 Mar 2013 09:10:16 -0500"  >interestingly, the connection is open and then times out...&lt;br/&gt;
&lt;br/&gt;
INFO: /10.0.7.164:8092 - Session request successful&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.ViewNode$EventLogger connectionOpen&lt;br/&gt;
FINE: Connection open: [/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionTimeout&lt;br/&gt;
SEVERE: Connection timed out: [10.0.7.164/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionClosed&lt;br/&gt;
FINE: Connection closed: [10.0.7.164/10.0.7.164:8092(closed)]&lt;br/&gt;
&lt;br/&gt;
this sounds highly suspicious to me, maybe this is a bug in apache httpcore-nio...</comment>
                    <comment id="52672" author="dragos" created="Wed, 13 Mar 2013 09:17:06 -0500"  >The time out is displayed after 5 seconds. As you suggested i removed the factory and the detailed logged above i obtained with using CouchbaseClient(uris, mappedName, &amp;quot;&amp;quot;). Do you have some way of testing the httpCore-nio ? Should i try to look for latest version of httpCore-nio.. ?</comment>
                    <comment id="52673" author="daschl" created="Wed, 13 Mar 2013 09:58:59 -0500"  >Hi,&lt;br/&gt;
&lt;br/&gt;
yes you could try that.. I ran the test suite with 4.2.3 which is the latest one and there were no errors, so our code should work with it. You need to exchange the httpcore and httpcore-nio with the latest 4.2.3 jars&lt;br/&gt;
&lt;br/&gt;
I don&amp;#39;t think this is 100% the issue, but it helps us get rid of one more factor!&lt;br/&gt;
&lt;br/&gt;
Thanks!&lt;br/&gt;
Michael</comment>
                    <comment id="52676" author="daschl" created="Wed, 13 Mar 2013 10:21:30 -0500"  >Okay, the 5 second period can come from this: &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;HttpParams params = new SyncBasicHttpParams();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT, 5000)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.setIntParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 5000)&lt;br/&gt;
....&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
SO_TIMEOUT is: Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets).&lt;br/&gt;
&lt;br/&gt;
and CONNECTION_TIMEOUT is: Determines the timeout in milliseconds until a connection is established.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Dragos, can it be the case that it takes more than 5 seconds to return a result when using curl or so? That would explain the &amp;quot;fail fast&amp;quot; timeout here.. not saying that these times are okay this way, just to find the root cause..&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="52679" author="dragos" created="Wed, 13 Mar 2013 11:01:10 -0500"  >Hi Michael,&lt;br/&gt;
I&amp;#39;ve made a test with httpcore-nio-4.2.jar and with httpcore-4.2.1.jar and your intuition is good. The httpcore is not the problem because the timeout is still there. With curl the results is back fast, in less then half a second. So the problem must be somewhere in the java SDK in the way the view is retrieved. </comment>
                    <comment id="52682" author="dragos" created="Wed, 13 Mar 2013 11:23:26 -0500"  >I&amp;#39;ve moved the Couchbase server to the same machine as the client to have all in same environment for testing. Now all is working fine but it is not possible for our product to stay on the same machine as Couchbase server for obvious reasons. In production we will have more then one app machine which we will try to access the Couchbase cluster. </comment>
                    <comment id="52688" author="daschl" created="Wed, 13 Mar 2013 11:56:22 -0500"  >Hi Dragos,&lt;br/&gt;
&lt;br/&gt;
okay so its definitely something with those timeouts.. The thing is we can increase them for sure, but the question is if it would work for your application given the long network latency - and if your application stays performant that way.&lt;br/&gt;
&lt;br/&gt;
When you&amp;#39;re running curl on a request, how long does it take?</comment>
                    <comment id="52779" author="dragos" created="Thu, 14 Mar 2013 04:05:56 -0500"  >The curl request is very fast (a few milliseconds, and less then 0.5 seconds i am sure) and the network latency it is not a problem. Some how the couchbase client is taking to much time connecting. When it need to connect to a network machine in the same lan it takes more then 10 seconds. I experimented this in EC2 environment and on my local machine with a VM. If couchbase is local with the test app, the couchbase client is connecting fast.&lt;br/&gt;
Do you have any points on how a connection should be setup for couchbase client ? I am trying to use the factory builder and the connection factory from java sdk but still with no success.</comment>
                    <comment id="52801" author="TimSmith" created="Thu, 14 Mar 2013 11:00:05 -0500"  >Dragos,&lt;br/&gt;
&lt;br/&gt;
I can think of two separate things to try. One is to increase the SO_TIMEOUT to 8000, CONNECTION_TIMEOUT to 12000. Identify what&amp;#39;s being hit.&lt;br/&gt;
&lt;br/&gt;
Probably more effective would be to use Wireshark to capture all traffic on the client machine, and see what is really happening. Start the capture (with tshark command-line tool, for example), then run the test client, let it time out, then run the curl command, let it succeed, then stop the capture. Gzip the capture data and attach it to this issue.&lt;br/&gt;
&lt;br/&gt;
Tim</comment>
                    <comment id="52804" author="dragos" created="Thu, 14 Mar 2013 11:52:44 -0500"  >Hi Tim, &lt;br/&gt;
I&amp;#39;ve started some load tests to be able to evaluate Couchbase, so this means i moved Couchbase server on the same machine as the load test client. I tried to use a pool of couchbase clients always connected to the server, and after a while the test failed because couldn&amp;#39;t create more connections. From my initial research i seen that couchbase client is managing his own connection can you tell me how this is done or what are the policies of shutting down connections ? Can you point me to some best practices for couchbase client connectivity ?</comment>
                    <comment id="52823" author="TimSmith" created="Thu, 14 Mar 2013 13:19:03 -0500"  >I will handle that question about connection pooling, etc., separately, since it is unrelated to this bug about timeouts.&lt;br/&gt;
&lt;br/&gt;
On this specific bug report, the current state as I understand it is that:  curl returns very quickly with the correct results. The Java client times out after 5 seconds without returning the results.&lt;br/&gt;
&lt;br/&gt;
My suggestion is to set up a very simple Java client that performs a single view query, and to get a packet capture of both curl and the Java client, to identify what the two are doing differently and why the curl succeeds but the Java client fails.</comment>
                    <comment id="53564" author="jzinedine" created="Wed, 27 Mar 2013 01:01:03 -0500"  >Hi Michael,&lt;br/&gt;
&lt;br/&gt;
Any update on this issue?&lt;br/&gt;
I faced the same issue and here is my environment:&lt;br/&gt;
JRuby 1.7.3&lt;br/&gt;
Oracle JDK 1.7(with 1.6 the same thing happened)&lt;br/&gt;
Couchbase 2.0.1&lt;br/&gt;
Java SDK 1.1.3(with 1.1.4 the same thing happened)&lt;br/&gt;
And latest netty and http-core and other jar files.&lt;br/&gt;
&lt;br/&gt;
Appreciate your help.&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Jani</comment>
                    <comment id="53855" author="dragos" created="Mon, 1 Apr 2013 01:04:37 -0500"  >Hi All,&lt;br/&gt;
Finally after a long time i found the workaround needed for the java client to not timeout. As has been suggested by the Couchbase team to use a host name for the Couchabase server i applied the same fix but to the client machine. Meaning on the client machine were the java Couchbase client was timing out ( in Amazon VPC ) we added a hostname for the Couchbase server. Our test URI from &lt;a href=&quot;http://10.0.7.164:8091/pools&quot;&gt;http://10.0.7.164:8091/pools&lt;/a&gt; has become &lt;a href=&quot;http://couchbase:8091/pools&quot;&gt;http://couchbase:8091/pools&lt;/a&gt;. This workaround is also fixing a 10 seconds connectivity for the client.&lt;br/&gt;
&lt;br/&gt;
On Ubuntu the hostname file is at: /etc/hosts&lt;br/&gt;
On Windows 7 the hostname file is at: C:\Windows\system32\drivers\etc\hosts &lt;br/&gt;
&lt;br/&gt;
Example of host name entry in client machine:&lt;br/&gt;
10.0.7.146     couchbase&lt;br/&gt;
</comment>
                    <comment id="53980" author="daschl" created="Tue, 2 Apr 2013 00:38:48 -0500"  >Thanks very much dragos for tracking this down!&lt;br/&gt;
&lt;br/&gt;
Does this mean that in your environment after the change, you&amp;#39;re not seeing any performance impact anymore? Everything works as expected and performant?&lt;br/&gt;
&lt;br/&gt;
Thanks!&lt;br/&gt;
</comment>
                    <comment id="53983" author="dragos" created="Tue, 2 Apr 2013 00:59:14 -0500"  >Hi Michael,&lt;br/&gt;
In this moment the client does not time out and the time taken by java couchbase client to connect takes around 1.5 seconds from 10 seconds which we can consider a normal behavior. As for performance with this workaround we can continue the POC and evaluate the performance. As a first impression i can say that we see a good speed but i will keep my reservation until final POC is tested and we can achieve a full load test.&lt;br/&gt;
&lt;br/&gt;
What i want to emphasize that this is a welcomed workaround but it is not a solution on a longer term for our cloud production site. In a scenario where we need to create new machines and maybe new couchbase clusters it involves manual or specific automatic changes to the hosts file and of course extra managing of this. Bottom line is that we are waiting the fix on the couchbase java sdk 1.1.5 which will make this workaround obsolete.&lt;br/&gt;
&lt;br/&gt;
Also i feel the need to mention that this workaround was found in collaboration with the Couchbase team which provided the basic information for the workaround to be found, so thank you guys.</comment>
                    <comment id="53985" author="daschl" created="Tue, 2 Apr 2013 01:21:57 -0500"  >Hi Dragos,&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m not sure if there is a thing that we can fix inside the client when this is a DNS/hostname resolution issue with the OS and amazon?&lt;br/&gt;
&lt;br/&gt;
We would definitely need to investigate further, but all that the client does is try to use the hostname/IP provided during bootstrap. If nothing comes back or the host can&amp;#39;t be found, we can&amp;#39;t do much about it. Anyway, I think we need to do some more investigation here to really see whats the problem.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8591</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>