You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have been working on development on NodeBB for a while. It works fine with both local db and non-cluster Mongodb instances. However with a cluster on Atlas I am getting the following error:
not authorized on admin to execute command { create: "socket.io", capped: true, size: 5242880 } {"name":"MongoError","ok":0,"errmsg":"not authorized on admin to execute command { create: \"socket.io\", capped: true, size: 5242880 }","code":8000,"codeName":"AtlasError"}
Have been experimenting with set of different roles. Here, the user is assigned the following roles:
Have been working on development on NodeBB for a while. It works fine with both local db and non-cluster Mongodb instances. However with a cluster on Atlas I am getting the following error:
Have been experimenting with set of different roles. Here, the user is assigned the following roles:
The database is hosted on Mongodb Atlas cluster.
The error occurs when running the code in VSCode locally on dev machine with db connection string pointing at MongoDb Atlas.
I can successfully connect and work with a local instance of mongodb.
The issue occurs only when connecting to Mongodb on Atlas.
Have also requested support directly from NodeBB community but did not get much from them.
Official Mongodb docs on what a connection to replicaset should look like.
The text was updated successfully, but these errors were encountered: