Help me on connect to Azure mongoDB
-
Now I am try to build my forum with NodeBB, try to connect to Azure mongoDB
when setup it's ok .. create NodeBB(DB with add ssl = true) into my Azure mongoDB.
But in socket hand socketAdapter() it's can't connection(time out)then I add ssl= true like this in mongo.js
mongoModule.socketAdapter = function () { var mongoAdapter = require('socket.io-adapter-mongo'); return mongoAdapter(mongoModule.getConnectionString(),{ssl:true}); };
It's ok connect successfully... But then give me another error:
error: No more documents in tailed cursor {"name":"MongoError","tailable":true,"awaitData":true}Please help me....
Thanks
-
You should be able to specify SSL without modifying the code by adding
?ssl=true
to the end of the connection URI
Copyright © 2024 NodeBB | Contributors