Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for MONGOHQ? #27

Open
cheeyeo opened this issue Jul 15, 2013 · 0 comments
Open

Support for MONGOHQ? #27

cheeyeo opened this issue Jul 15, 2013 · 0 comments

Comments

@cheeyeo
Copy link

cheeyeo commented Jul 15, 2013

Hi

I have been using this plugin to connect to mongohq

While I can establish an initial connection to the databse it throws an error everytime i try to do a query such as find:

=ERROR REPORT==== 15-Jul-2013::12:34:45 ===
      Conn: GET /
    Reason: (MatchError) no match of right hand side value: {:failure, :unauthorized}
Stacktrace:
  lib/dynamodemoapp/models/task.ex:2: Tasks.find_all/2

The custom code above is just a wrapper to :mongo.find

It seems that there is an authorization error failure? and i can't work out why it is causing it as it uses the same connection parameters as if you are connecting to localhost?

any help or pointers will be useful

thanks!

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

No branches or pull requests

1 participant