Node.js SDK 'Operation timed out' error

Hello,

I get 'Operation timed out' error when running the following function:

db.get(key, value, function (err, result) {
console.log(err);
});
db.set(key, value, function (err, result) {
console.log(err);
});

I can save and read documents from the buckets in the 'locahost:8091', but I get the 'operation timed out' error from the aws-ec2 server. There is no error from the couchbase.Connection() function.

Any suggestions? Thanks!

1 Answer

« Back to question.

Hello,

Probably a network issue between your application and Couchbase cluster. Have you checked that all necessary ports are opened between these 2 components, see:
- http://docs.couchbase.com/couchbase-manual-2.2/#network-ports

Check your firewall and EC2 Security constraints.

Regards
Tug
@tgrall