Closed ORESoftware closed 9 years ago
I got this error for the first time today in an attempt to connect to a MongoDB cluster on a Compose deployment:
the original code looking like:
var url = 'mongodb://abc:xyz@candidate.54.mongolayer.com:10050/app42153482'; console.log('about to tail...'); var oplog = new MongoOplog(url).tail(function (err, oplogStream) { if (err) { console.error(err); } else { console.log('tail event:', oplogStream); } });
I did a Google but nothing obvious appears to me, know about this one?
Error message is clearly saying that you lack access to oplog. Check out how to do this: https://docs.compose.io/common-questions/getting-oplog-access.html
I got this error for the first time today in an attempt to connect to a MongoDB cluster on a Compose deployment:
the original code looking like:
I did a Google but nothing obvious appears to me, know about this one?