Zero nodes detected in cluster or Loading OpsCenter screen hanging

Workaround for browser environments where the OpsCenter UI is unable to establish a persistent streaming connection to opscenterd. Another symptom includes the perpetual Loading OpsCenter screen.

Some environments might experience connectivity issues with the persistent connection between the browser and opscenterd. Symptoms of this issue include a blinking icon near the top right of the OpsCenter UI, and "0 nodes" appears as well. Another symptom is the Loading OpsCenter screen seems stuck and does not load OpsCenter.

Follow the workaround steps to resolve the issue:

opscenterd.conf 

The location of the opscenterd.conf file depends on the type of installation:

  • Installer-Services or package installations: /etc/opscenter/opscenterd.conf
  • Installer-No Services or tarball installations: install_location/conf/opscenterd.conf
  • Windows installations: Program Files (x86)\DataStax Community\opscenter\conf\opscenterd.conf

Procedure

  1. Open opscenterd.conf and add the following:
    [labs]
    orbited_longpoll = true
  2. Restart opscenterd.
  3. Refresh the browser.