N4V charts not displaying in Web Intelligence reports behind a reverse proxy

Anonymised summary of support ticket #455334 (2024-11-25)

Symptom

In SAP BusinessObjects Web Intelligence reports, N4V charts appear as blank white areas instead of rendering the expected visualizations. The issue occurs when the environment uses a reverse proxy configuration.

Environment

SAP BusinessObjects Web Intelligence 4.3 SP4 with N4V FOR WEBI extension. Need4Viz components installed on the same Tomcat server as SAP BusinessObjects. Reverse proxy is used for external access.

Resolution

  1. Verify and adjust the reverse proxy configuration to ensure proper forwarding of WebSocket and HTTP requests related to N4V components.
  2. Modify the `config.js` file located in the `Need4Viz odejs ode_modules eed4viz eed4viz_libs` directory to include proxy-compatible settings (e.g., WebSocket path adjustments, base URL configurations).
  3. Ensure that the reverse proxy allows and forwards WebSocket connections (typically on ports 80/443) required by N4V components.
  4. Test the changes by accessing Web Intelligence reports through the reverse proxy URL and verifying that N4V charts render correctly.

Other resolution

If the issue persists, check browser console logs (F12) for errors related to WebSocket connections or resource loading. Ensure that the `server.xml` configuration for Tomcat includes the necessary proxy settings (e.g., `proxyName`, `proxyPort`, and AJP connector adjustments).