Aria Operations for Networks Collector VM is not listening on TCP port 443
search cancel

Aria Operations for Networks Collector VM is not listening on TCP port 443

book

Article ID: 459579

calendar_today

Updated On:

Products

VCF Operations for Networks

Issue/Introduction

  • Executing commands such as ss -natl | grep 443 on the Collector VM shows that port 443 is not in a listening state.

  • Running openssl s_client -connect <collector_Ip>:443 | egrep -i "before|after" fails and returns a "Connection refused" error.

  • The file /var/log/arkin/collector/latest.log on the collector VM contains a message indicating NSXT_NOTIFICATION_WEBHOOK_DISABLED, as shown below.
    YYYY-MM-DDTHH:MM:SS.NNNZ INFO vmware.nsxt.NSXTDPOperationsManager_NSXTHealthStatusConverter DataProviderManager::healthCheck convertDPStatusToUnhealthyIfAnyTaskHasError:866 Task error code: NSXT_NOTIFICATION_WEBHOOK_DISABLED
    YYYY-MM-DDTHH:MM:SS.NNNZ INFO vmware.nsxt.NSXTDPOperationsManager_NSXTHealthStatusConverter DataProviderManager::healthCheck convertDPStatusToUnhealthyIfAnyTaskHasError:892 Set health status as unhealthy for nsx: NSXT_{{NSXT_Manager_Name}}
    YYYY-MM-DDTHH:MM:SS.NNNZ INFO vmware.policymanager.PolicyManagerDPOperationsWorker DataProviderManager::healthCheck getHealthStatus:427 Final Health status: dpId {
      dataProviderIdentifier: "NSXT_{{NSXT_Manager_Name}}"
      customerId: {{customerId}}
    }
    healthReport {
      health: UNHEALTHY
      healthMessage: "NSXT_NOTIFICATION_WEBHOOK_DISABLED"
      healthErrorCode: "NSXT_NOTIFICATION_WEBHOOK_DISABLED"
      healthPayload: "{_"NSXT_NOTIFICATION_WEBHOOK_STATUS_":_"_",_"NSX_LATENCY_STATUS_":_"_"}"
    }
    lastCollectionTime: {{timestamp}}
    dpStats {
    }
    lastConfigCollectionTime: {{timestamp}}
    lastScheduledConfigTaskRunTime: -1
    ::
    YYYY-MM-DDTHH:MM:SS.NNNZ WARN common.utils.CommonUtils NSXT_{{NSXT_Manager_Name}}_Config_OpMgr-4 logException:2675 Notification watcher webhook not registered in NSX-T.
    com.vnera.dataproviders.core.impl.vmware.nsx.utils.StateWatcherException: Notification watcher webhook not registered in NSX-T.
            at com.vnera.dataproviders.core.impl.vmware.nsxt.tasks.NSXTNotificationStateWatcherTask.checkIfWebhookRegistered(NSXTNotificationStateWatcherTask.java:66) _[dataproviders-0.001-SNAPSHOT.jar:_]
            at com.vnera.dataproviders.core.impl.vmware.nsxt.tasks.NSXTNotificationStateWatcherTask.doRun(NSXTNotificationStateWatcherTask.java:53) _[dataproviders-0.001-SNAPSHOT.jar:_]
            at com.vnera.dataproviders.core.common.impl.dataprovider.tasks.AbstractTask.run(AbstractTask.java:165) _[dataproviders-0.001-SNAPSHOT.jar:_]
            at com.vnera.dataproviders.tasker.Tasker_ScheduledTaskWrapper.run(Tasker.java:486) [dataproviders-0.001-SNAPSHOT.jar:_]
            at com.google.common.util.concurrent.MoreExecutors_ScheduledListeningDecorator_NeverSuccessfulListenableFutureTask.run(MoreExecutors.java:678) [guava-23.5-jre.jar:_]
            at java.util.concurrent.Executors_RunnableAdapter.call(Executors.java:539) [_:_]
            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [_:_]
            at java.util.concurrent.ScheduledThreadPoolExecutor_ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [_:_]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [_:_]
            at java.util.concurrent.ThreadPoolExecutor_Worker.run(ThreadPoolExecutor.java:635) [_:_]
            at java.lang.Thread.run(Thread.java:840) [_:_]
    YYYY-MM-DDTHH:MM:SS.NNNZ WARN common.utils.CommonUtils NSXT_{{NSXT_Manager_Name}}_Config_OpMgr-4 logException:2675 OnFailure 134: TaskContext{taskType=SCHEDULED, taskIdentifier=com.vnera.dataproviders.core.impl.vmware.nsxt.tasks.NSXTNotificationStateWatcherTask_SystemEvent_CONFIG}
    com.vnera.dataproviders.core.impl.vmware.nsx.utils.StateWatcherException: Notification watcher webhook not registered in NSX-T.
            at com.vnera.dataproviders.core.impl.vmware.nsxt.tasks.NSXTNotificationStateWatcherTask.checkIfWebhookRegistered(NSXTNotificationStateWatcherTask.java:66) _[dataproviders-0.001-SNAPSHOT.jar:_]
            at com.vnera.dataproviders.core.impl.vmware.nsxt.tasks.NSXTNotificationStateWatcherTask.doRun(NSXTNotificationStateWatcherTask.java:53) _[dataproviders-0.001-SNAPSHOT.jar:_]
            at com.vnera.dataproviders.core.common.impl.dataprovider.tasks.AbstractTask.run(AbstractTask.java:165) _[dataproviders-0.001-SNAPSHOT.jar:_]
            at com.vnera.dataproviders.tasker.Tasker_ScheduledTaskWrapper.run(Tasker.java:486) [dataproviders-0.001-SNAPSHOT.jar:_]
            at com.google.common.util.concurrent.MoreExecutors_ScheduledListeningDecorator_NeverSuccessfulListenableFutureTask.run(MoreExecutors.java:678) [guava-23.5-jre.jar:_]
            at java.util.concurrent.Executors_RunnableAdapter.call(Executors.java:539) [_:_]
            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [_:_]
            at java.util.concurrent.ScheduledThreadPoolExecutor_ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [_:_]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [_:_]
            at java.util.concurrent.ThreadPoolExecutor_Worker.run(ThreadPoolExecutor.java:635) [_:_]
            at java.lang.Thread.run(Thread.java:840) [_:_]

Environment

Aria Operations for Networks

Cause

By default, port 443 is not enabled or listening on the Collector VM.
On the collector VM, the listener on port 443 is activated only when the Webhook feature is enabled.
Additionally, if an NSX-T data source is disabled, or if the Webhook itself is disabled due to an error, the listener on port 443 may also stop automatically.

Resolution

To refresh the webhook configuration and re-enable the listener on port 443, perform the following steps:

  1. Navigate to the [Settings] > [Accounts and Data Sources] in the UI.
  2. Verify if any errors are displayed for the NSX-T data source.
  3. Turn the data collection for the NSX-T data source OFF.
  4. Wait for 5 minutes, and then turn the data collection back ON.
  5. Verify the listener by checking if port 443 on the Collector begins listening after the toggle.