-
Bug
-
Resolution: Fixed
-
High
-
3.1.9
-
None
-
5
-
Severity 2 - Major
-
Issue Summary
Discovery tool v3.1.9 returns error when scanning a IP address range. For example, in the Scan Settings, if a single IP, or multiple IPs separated by the semi colon, then the scan is fine. But if the Scan Settings is configured with an IP range (192.168.0.0-20) or with a CIRD notation range, the scan will return error.
This is reproducible on Data Center: (yes)
Steps to Reproduce
1. Install the Discovery tool version 3.1.9
2. Configure the "Scan Settings" with an IP range
Expected Results
The expected result is that the scan would be performed correctly
Actual Results
The actual result is that the scan would fail and return the error below.
The below exception is thrown in the discovery log:
6/27/2023 5:22:18 PM: [Normal] Start Scan: 192.168.0.20 6/27/2023 5:22:18 PM: [Normal] Ping 192.168.0.20 --> Success ResponseTime=0ms TTL=128 6/27/2023 5:22:18 PM: [Error] Error scanning host 6/27/2023 5:22:18 PM: [Normal] Exceptions: 6/27/2023 5:22:18 PM: [Normal] Object reference not set to an instance of an object. at Insight.Discovery.ProviderClasses.AssetProvider.GetHostInfoResultByKnownCredentials(List`1 knownCredentials, Int32 ttl, HostInfoDto additionalData, String ip) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE127-BUILD\ProviderClasses\AssetProvider.cs:line 221 at Insight.Discovery.ProviderClasses.AssetProvider.GetHostInfo(String ip, Int32 port, Boolean usePowerShell, Int32 ttl, Boolean autoAddSudo, List`1 enabledPatternFiles, List`1 disabledPatternFiles, String scanSettingsEntryId, Boolean basicHostInfo) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE127-BUILD\ProviderClasses\AssetProvider.cs:line 136
Workaround
The work-around at the moment is to downgrade to previous version of the Discovery tool or not to use an IP range.
- is duplicated by
-
JSDSERVER-13651 IP range and IP subnet scan fails on Assets Discovery 3.1.9
-
- Closed
-
- is resolved by
-
JSMDC-17581 You do not have permission to view this issue
Form Name |
---|
[JSDSERVER-13621] Discovery tool v3.1.9 return error when scanning IP address range
Remote Link | New: This issue links to "Page (Confluence)" [ 788969 ] |
Status | Original: Closed [ 6 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Last Update On | New: 12/Jul/2023 [ 2023-07-12 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Waiting for Release [ 12075 ] |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Support reference count | Original: 3 | New: 5 |
Remote Link | New: This issue links to "Page (Confluence)" [ 784082 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 783897 ] |
Remote Link | Original: This issue links to "JSMDC-17581 (Bulldog)" [ 784081 ] | New: This issue links to "JSMDC-17581 (JIRA Server (Bulldog))" [ 784081 ] |
Remote Link | New: This issue links to "JSMDC-17581 (Bulldog)" [ 784081 ] |