Unable to perform queries on MongoHQ hosted database. Auth error
I'm unable to do anything on my MongoHQ hosted database in a Rails 3.2 project with mongoid 3 rc. A simple query for login action gives me something like this error message:

    The operation: #<Moped::Protocol::Query
      @length=83
      @request_id=3
      @response_to=0
      @op_code=2004
      @flags=[]
      @full_collection_name="mydb.users"
      @skip=0
      @limit=-1
      @selector={"name"=>"Abbas"}
      @fields=nil>
    failed with error 10057: "unauthorized db:mydb lock type:-1 client [some ip]"

Here's what my `mongoid.yml` looks like:

    development:
      sessions:
        default:
          database: mydb
          user: myuser
          password: mypassword
          hosts:
            - flame.mongohq.com:27068
          options:
            consistency: :strong
      options:
        include_type_for_serialization: true

So I'm doing it the wrong way. The db user is not marked as "Read-only" in MongoHQ panel. And I'm NOT deploying to Heroku; just testing on my localhost.

Any help is appreciated.
Unable to perform queries on MongoHQ hosted database. Auth error
===

I'm unable to do anything on my MongoHQ hosted database in a Rails 3.2 project with mongoid 3 rc. A simple query for login action gives me something like this error message:

    The operation: #<Moped::Protocol::Query
      @length=83
      @request_id=3
      @response_to=0
      @op_code=2004
      @flags=[]
      @full_collection_name="mydb.users"
      @skip=0
      @limit=-1
      @selector={"name"=>"Abbas"}
      @fields=nil>
    failed with error 10057: "unauthorized db:mydb lock type:-1 client [some ip]"

Here's what my `mongoid.yml` looks like:

    development:
      sessions:
        default:
          database: mydb
          user: myuser
          password: mypassword
          hosts:
            - flame.mongohq.com:27068
          options:
            consistency: :strong
      options:
        include_type_for_serialization: true

So I'm doing it the wrong way. The db user is not marked as "Read-only" in MongoHQ panel. And I'm NOT deploying to Heroku; just testing on my localhost.

Any help is appreciated.