Skip to content

Error connecting to Remote MongoDB #42

Description

@agneye

The Grasshopper Admin & API works fine when I configure with Localhost MongoDB, but I configure remote MongoDB I get following error

The User is admin, and has DB Admin Access on all databases

Unhandled rejection MongoError: not authorized on sandbox-db to execute command { listIndexes: "sessions", cursor: {} }
at Function.MongoError.create (/Users/nikhil/grass/node_modules/mongodb-core/lib/error.js:30:11)
at queryCallback (/Users/nikhil/grass/node_modules/mongodb-core/lib/cursor.js:213:36)
at /Users/nikhil/grass/node_modules/mongodb-core/lib/connection/pool.js:456:18
at nextTickCallbackWith0Args (node.js:433:9)
at process._tickCallback (node.js:362:13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions