Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Heroku Mongo Authentication #21

Open
bbrock25 opened this issue Nov 25, 2015 · 1 comment
Open

Heroku Mongo Authentication #21

bbrock25 opened this issue Nov 25, 2015 · 1 comment

Comments

@bbrock25
Copy link

When using the Heroku and MongoLabs for running this application, we're getting failure when trying to authenticate the user.

2015-11-22T20:41:58.936994+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.1.0/gems/mongo-1.11.1/lib/mongo/connection/pool.rb:320:in `block in check_auths'
2015-11-22T20:41:58.936996+00:00 app[web.1]:    from /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/set.rb:263:in `each'
2015-11-22T20:41:58.936931+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/mongo-1.11.1/lib/mongo/functional/authentication.rb:205:in `issue_authentication': Failed to authenticate user

This doesn't reproduce locally, most likely due to differences in the mongo versions. I'm running mongo v3.0.6 locally.

Has anyone else been experiencing this issue?

@mikenikles
Copy link

I just ran into the same issue. It looks like mongo-mapper hasn't been well maintained with the latest release in November 2014. The mongo dependency mongo-mapper uses (https://github.com/mongomapper/mongomapper/blob/master/gemfiles/Gemfile.common.rb#L10) is most likely not compatible with MongoLabs 3.x DBs

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

2 participants