meta data for this page
Troubleshooting visuals failure in N4V for Webi with remote MongoDB
Anonymised summary of support ticket #471298 (2024-10-16)
Symptom
Visuals in Web Intelligence fail to load with an error, even after MongoDB is disabled in the configuration.
Environment
N4V for Webi installed with Webi and Tomcat on one server, MongoDB installed on a dedicated server. N4V version 4.3SP4.
Resolution
- Ensure MongoDB is configured to allow remote connections (bindIp in mongod.conf) and that the port (default 27017) is open between servers.
- Verify MongoDB connectivity from the N4V server using 'telnet <mongo_server> 27017'.
- If MongoDB is not required, disable its use in the N4V configuration file (config.js located in \Need4Viz\nodejs\node_modules\custom_element\ce_libs) by setting 'useMongoDB: false'.
- Restart N4V services using 'pm2 start all' in a PowerShell window.
- If the issue persists, whitelist all 13 custom element service ports in the Central Management Console (CMC) of SAP BusinessObjects.
- Ensure the N4V services are correctly declared with the appropriate URL in the CMC, especially if multiple network interfaces are present.
- Clear the Web Intelligence cache and reconnect to apply changes.
Other resolution
Check for typos in configuration files, such as incorrect URL schemes (e.g., 'https://' with double quotes).