Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

MongoLab Oplog Tail Issue #126

Closed
shividhar opened this issue Aug 29, 2015 · 3 comments
Closed

MongoLab Oplog Tail Issue #126

shividhar opened this issue Aug 29, 2015 · 3 comments

Comments

@shividhar
Copy link

Hi all. I'm using MongoLab as my data store but I can't enable tailing on my transporter instance. The data gets transferred once before spitting out this error: transporter: CRITICAL: Mongodb error (error reading collection not authorized for query on local.oplog.rs). There was a similar issue #69 but I didn't find it helpful.

I would appreciate any help.

@nstott
Copy link
Contributor

nstott commented Aug 29, 2015

Hi,
the mongo user needs to have access to the local database
getting admin on your mongo database is the easiest way to ensure this.
they seem to offer it on some plans, see: http://docs.mongolab.com/connecting/ and search for 'admin'
if you can't get admin, then it's best to create a user that has full access to the local database

hth

@shividhar
Copy link
Author

Thanks a lot @nstott. Yeah I was using the Shared Cluster which wouldn't work.

@chiefy
Copy link

chiefy commented Dec 21, 2015

👍 thanks, just ran into this using MongoLab shared.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants