Reputation: 145
I'm new with Couchbase and trying to use the couchbase module 1.2.1, the connection to the DB seems to work fine, but the get and getMulti operations are failing and the error I'm getting is "Operation timed out". I tried to increase the timeout, but it didn't help.
var db = new couchbase.Connection({ host:'localhost:8091', bucket:'beer-sample'},
function(err){
if (err){
throw err; // not getting here
}
});
db.get("id", function(err, result) {
if (!err && result){ // getting error
req.id = result;
}
});
What can be the problem?
Upvotes: 2
Views: 542
Reputation: 124
You should try to reinstall Couchbase Server and try again using a host of 127.0.0.1:8091
.
What version of Couchbase Server, and what platform/architecture you are using would also be helpful to know.
Upvotes: 1