NodeBB - Azure Cosmos DB (Mongo) error

Technical Support
  • #1

    Hi all,

    I'm trying to run a version of NodeBB (1.12.0) to Azure Cosmos DB, but am receiving the error:

    error: No more documents in tailed cursor {"name":"MongoError","tailable":true,"awaitData":true}
    
    --
    
    error: uncaughtException: No more documents in tailed cursor
    MongoError: No more documents in tailed cursor
        at Function.MongoError.create (/nodebb_dir/node_modules/mongodb-core/lib/error.js:31:11)
    

    I can run ./nodebb setup with the Azure Cosmos DB connection uri, and that works fine. Once the setup is complete and I run ./nodebb start I get the above error.

    Connection string is as follows:

    mongodb://<db_username>:<db_password>@<db_host>:<db_port>/<db_name>?ssl=true&replicaSet=globaldb
    

    (I've tried with and without replicaSet but doesn't seem to make a difference)

    I have been able to setup & run a local version of NodeBB connected to a free mlab.com Mongo DB and a local Mongo DB.

    Has anyone seen experienced this problem with Azure Cosmos DB and been able to fix it?


Suggested Topics


  • 2 Votes
    1 Posts
    145 Views

  • 0 Votes
    2 Posts
    654 Views

  • 0 Votes
    3 Posts
    976 Views

  • 1 Votes
    14 Posts
    10023 Views

  • 0 Votes
    7 Posts
    2884 Views

| | | |