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


  • 0 Votes
    1 Posts
    200 Views

  • 0 Votes
    4 Posts
    473 Views

  • Installation Error

    Technical Support
    0 Votes
    8 Posts
    1704 Views

  • nodebb can not stop

    Solved Technical Support
    0 Votes
    5 Posts
    1842 Views

  • 0 Votes
    11 Posts
    5323 Views

| | | |