TimeoutException on java client 2.1.1 and dp4

I keep getting the timeout exception when executing a n1ql query.
The exception is usually thrown if I have 7 or more documents returned in the response.
If I restart the n1ql service on each node, the problem is solved, but after a few more queries, the exception is thrown again.
I am using dp4 and java client 2.1.1.

This is my environment configuration:

            couchbaseEnvironment = DefaultCouchbaseEnvironment.builder()

            cluster = CouchbaseCluster.create(couchbaseEnvironment, cbNodesNames);
            bucket = cluster.openBucket(bucketName, bucketPwd, 5000, TimeUnit.MILLISECONDS);

Any ideas?


Would you mind trying out 2.1.2-dp and see if things change?


        <name>couchbase repo</name>

If not, can you please post TRACE level logs along with some code to reproduce? Thank you!