Data Insight Times Out While Discovering OneDrive

book

Article ID: 100043825

calendar_today

Updated On:

Description

Issue

When setting up a connection in Data Insight to OneDrive, discovery may time out. An event may be seen in Data Insight console:

Cloud account discovery failed for the cloud source (Details: Share discovery operation timed out)

Details

By default, the discovery timeout is 30 minutes. For discovery taking longer, this timeout can be modified.

The webserve0.0.log shows the details:

2018-06-26 12:42:22 INFO:    #{248} [ConfigUtils.doFilerOp] Performing DISCOVER_SHARES for MATRIX_DEVICE_ONE_DRIVE:12 with ..., opData: #Tue Jun 26 12:42:22 AEST 2018
device_id=#
filer.iscloud=true
...
2018-06-26 13:12:22 WARNING: #{247} [SettingsUtils$2.run] Error adding new shares for filer oneDrive
java.lang.Exception: Share discovery operation for oneDrive timed out.

You may also see the following error in the commd0.0.log:

2021-09-03 14:32:08 WARNING: #{51} [DiscoverSharesJob.execute] Error discovering MSUs for device
java.lang.Exception: Share discovery operation for timed out.

Resolution

You can modify the following properties of the collector node to adjust the timeout values.

In the UI, Settings - Inventory - Data Insight Servers - - Advanced Settings - Set Custom Properties

    Property name: job.DiscoverSharesJob.timeout.minutes
    Property value: 60

    Property name: node.connector.discovery.job.timeout
    Property value: 3600

NOTE: The value for job.DiscoverSharesJob.timeout.minutes is in minutes while the value for node.connector.discovery.job.timeout is in seconds. In the example above, both values have been modified to 1 hour.