====== Troubleshooting MongoDB connection refused error in N4V FOR WEBI extensions ====== //Anonymised summary of support ticket #295033 (2024-08-14)// ===== Symptom ===== %%Error 'MongooseServerSelectionError: connect ECONNREFUSED' occurs when N4V FOR WEBI extensions (Node.js components) attempt to connect to a MongoDB instance on port 27017.%% ===== Environment ===== N4V FOR WEBI extensions running on Node.js, SAP BusinessObjects Web Intelligence 4.x, MongoDB instance (default port 27017). ===== Resolution ===== - Verify MongoDB service is running and accessible from the server hosting N4V FOR WEBI extensions. - Check network connectivity between the Node.js server and MongoDB server (firewall, routing, etc.). - Ensure MongoDB is configured to accept connections on port 27017 (default configuration). - %%Review MongoDB authentication settings if applicable (username/password, roles).%% - %%For SAP BusinessObjects 4.3 SP03 with BI LaunchPad integration, enable high trace logging in CMC -> Applications -> BI Launch pad -> Trace log settings and restart Tomcat to generate detailed logs.%% - %%For direct /biprws access (RESTful API/SDK programs), set Log_Level=High in biprws.properties (located in INSTALLDIR/tomcat/webapps/biprws/WEB-INF/config/custom) and restart Tomcat. Logs will be generated in INSTALLDIR/tomcat with format TraceLog__.glf.%% - %%For older versions (4.2, 4.3 SP00-SP02), check alternative log locations: $HOME/SBOP* or /sap_bobj/tomcat/bin/SBOPWebapp_BIlaunchpad* (Windows) / SBOP_biprws* (Windows) / $HOME/SBOP* (UNIX).%% ===== Other resolution ===== If the issue persists, collect MongoDB server logs and N4V FOR WEBI extension logs for further analysis.