How to prevent Need4Viz services from stopping due to API vulnerability scans

Anonymised summary of support ticket #283139 (2025-09-01)

Symptom

Need4Viz services stop unexpectedly, often on a recurring schedule (e.g., weekly), with error messages indicating child process termination (exit code 1). Logs show API calls to endpoints like start.js, loginMsg.js, or ayefeaturesconvert.js being received just before the stoppage.

Environment

SAP BusinessObjects Web Intelligence environment with Need4Viz extensions (N4V FOR WEBI) running on Windows servers. Services are exposed on ports 8101 to 8113. The issue occurs when external API vulnerability scanners or security tools attempt to access these endpoints.

Resolution

  1. Identify the ports used by Need4Viz services (typically 8101 to 8113) by checking the configuration files (e.g., config.js in custom_element).
  2. Restrict access to these ports to internal traffic only (e.g., from SAP BO Webi or Tomcat services on the same server). This can be done via firewall rules (Windows Firewall or enterprise firewall) to block external access to ports 8101-8113.
  3. If external scans cannot be blocked, upgrade to the latest version of Need4Viz, as newer releases disable vulnerable endpoints (e.g., /*.js) by default.
  4. Alternatively, configure the security tool to exclude the Need4Viz servers or ports from vulnerability scans.
  5. Implement an automated restart mechanism for Need4Viz services in case of failure to mitigate downtime.

Other resolution

If the issue persists, review logs for API calls during the stoppage time and consult with the security team to confirm whether their scanning tools are the root cause. Ensure MongoDB (if used) is updated to a supported version.