I'm trying to use the Java SDK to write a simple query but no matter what I try, it always times out with the following exception
*java.util.concurrent.TimeoutException* *at com.couchbase.client.java.util.Blocking.blockForSingle(Blocking.java:93)* *at com.couchbase.client.java.CouchbaseBucket.query(CouchbaseBucket.java:510)* At this point, I'm just trying to query the sample data to get something working but it still times out. I referenced the code in tutorial at http://docs.couchbase.com/developer/java-2.1/tutorial.html. The code I'm using is *CouchbaseCluster cluster = CouchbaseCluster.create(myServerAddress);* *Bucket bucket = cluster.openBucket("beer-sample", 10, TimeUnit.MINUTES);* *ViewResult result = bucket.query(ViewQuery.from("beer", "by_name").limit(1), 10, TimeUnit.MINUTES);* What am I doing wrong? I feel like I'm missing something simple. I appreciate any help. Bill -- You received this message because you are subscribed to the Google Groups "Couchbase" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
