Closed polu-im closed 1 year ago
Hi polu,
thank you for testing and feedback. I can reproduce your error.
Please check out this fix node-red-contrib-mongodb4@2.2.2-dev
.
Hi Steineey,
I have tested your new version in various scenarios, and it works perfectly! Thank you so much for your efforts. I'm eagerly looking forward to the final version being available on the Node-RED repository (the current available version is v2.0.0) and npm.
Best regards, Polu
Hi Polu,
thank you for testing. I published the final v2.2.2 and updated the Node-RED repository.
npm install --save --omit=dev node-red-contrib-mongodb4@2.2.2
Best regards Steineey
I refer to my old closed issue #20
Hi steineey,
thanks for your replay, i've tested this version (v2.2.1) but unfortunately it doesn't seem to be functioning as expected. I've done some tests and with MongoDB service stopped, it returns an "connect ETIMEDOUT" error (with node status reporting "operation failed") followed by a "Topology is closed" error (if i trigger a new mongodb query), which is the correct behavior when the database is offline. Unfortunately, even after starting the database service, the Topology error persists and the node status still reporting "operation failed".
If i restart Node-Red or re-deploy the flows, the MongoDB node start working as expected.
To reproduce the error I did the following steps:
Here an example flow with the basic config i use for Node-Red:
I appreciate your attention to this matter and would be grateful for any further assistance or suggestions.
Best regards, polu