I love this project. Using it a few days, so far without any problems till I tried to integrate MongoDB. I'm using Docker but I am totally lost by the lack of proper documentation. All docs seem outdated and the package names confusing. From my Docker host IP I can access everything, NodeRED and MongoDB but the only errors I get in NodeRED are MongoNetworkError: failed to connect to server [XX:27017] on first connect [MongoError: Authentication failed.]"
. A network error seems logical but I highly doubt that is the issue here.
I suspect that the packages are outdated. I also pulled the latest image from MongoDB which is MongoDB 4.2.6. But its totally unclear if this could ever work with NodeRED. As I find packages:
node-red-contrib-mongodb
node-red-contrib-mongodb2
node-red-contrib-mongodb3
node-red-contrib-mongodb-variable
node-red-contrib-mongo-client
node-red-node-mongodb
node-red-mongodb
All with their own (outdated) documentation. This starts to get quite annoying now, I almost wasted one day of figuring out simply how to get NodeRED to communicate with MongoDB. What am I doing wrong? What package or configuration do I need? I almost tried all above packages in different configurations. I simply want to read and write stuff from/to MongoDB from NodeRED.