Matt,

I'm using the latest couchbase SDK (1.2.4) installed with npm install 
couchbase. Presumably then, libcouchbase is installed bundled as part of 
that installation.

I'm running on OSX, and the server is the latest Couchbase Server release 2.5.1 
running on Amazon Linux AMI.

How do I go about enabling logging on libcouchbase?

Cheers,
Steven



On Wednesday, 28 May 2014 17:13:47 UTC+10, Matt Ingenthron wrote:
>
>  Hi Steven,
>
>  What version of the node client are you running?
>
>  Did you install libcouchbase directly, or is it the embedded one (will 
> depend on OS to some degree)?
>
>  Also, with the latest libcouchbase, you can set an environment variable 
> and get additional logging.
>
>  Thanks!
>
>  Matt
>
>   From: Steven Barlow <[email protected] <javascript:>>
> Reply-To: "[email protected] <javascript:>" <
> [email protected] <javascript:>>
> Date: Wednesday, May 28, 2014 at 1:54 AM
> To: "[email protected] <javascript:>" 
> <[email protected]<javascript:>
> >
> Subject: Client-Side timeout exceeded for operation
>  
>   What would be causing the NodeJS SDK to repeatedly respond 
> with: [Error: Client-Side timeout exceeded for operation. Inspect network 
> conditions or increase the timeout] code: 23 for all view operations? 
>
>  I have a test server at 
> http://ec2-54-83-43-209.compute-1.amazonaws.com:8092/test that 
> demonstrates this behaviour. I'm pretty sure I've opened all the requisite 
> ports. 
>
>  For example
>
>  CURL 
> http://ec2-54-83-43-209.compute-1.amazonaws.com:8092/test/_design/test
>
>  responds fine, but attempting the equivalent operation using the 
> Couchbase SDK fails as described above.
>
>  var connection;
> var config = {
> host: 'http://ec2-54-83-43-209.compute-1.amazonaws.com',
> bucket: 'test'
>  };
>
>  var couchbase = require('couchbase');
> connection = new couchbase.Connection(config);
> connection.getDesignDoc('test', function(err, result){
> if (err) {
> console.log('Error', err);
> } else {
> console.log(result);
> }
> });
>  
>  I can't fathom this at all, it seems to me that the Couchbase SDK simply 
> doesn't work. In fact I've actually managed to bypass the Couchbase SDK 
> altogether (using dscape/nano) and hitting the server on 8092 using regular 
> CouchDB style REST requests, and that works fine.
>
>  Cheers,
> Steven
>
>  
>  
>  
>  
>   -- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>  
>  
>   
>  -- 
>  Matt Ingenthron
> Couchbase, Inc.
>    

-- 
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.

Reply via email to