Description:
NPC fails to sync with NetVoyant: Request timed out.
The following error is displayed in the NetVoyant datasource log in NPC:
Entry for [email protected][IP address]
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
-- <html> <head> <title>Request timed out.</title> <style> body {font-family:"Verdan Source: Device Manager Severity: Error Occurred On: [Date and time of the event]
The following message is also seen in the PollerWebServiceLog in the NetVoyant Console:
WebService: [0.65625] NetVoyantService - GetDeviceList(): nqPoller
PullDeviceItems - back from GetDeviceList
Caught exception in NPC Sync PullSystem.Threading.ThreadAbortException: Thread was being aborted.
at nqpoller.PullSyncRequest.AddDeviceItem(DataTable items, DataRow src)
at nqpoller.PullSyncRequest.PullDeviceItems(SyncTime syncTime, SyncUpdateState& syncUpdateState)
at nqpoller.PullSyncRequest.Pull(SyncTime syncTime, SyncUpdateState syncUpdateState)
Solution:
Timeout is caused by a large number of DNS lookups being performed by NPC during NV device sync.
As long as they're at NV 7.1.25 patched, you can adjust the DeviceBatchSize in the PollerWebService Web.config to reduce the batch size of the devices being synched and consequently limit the number of DNS lookups being performed.
Editing the web.config file