NetApp Storage Discovery Can't connect to device with credentials using HTTPS. Connection refused due to user name and password default rulesIssue Issue: NetApp Storage Cluster Pattern fails with "No Attributes Defined" due to failed Basic auth credentials during Identification/Exploration phases with no data collected to set attributes. MID Logs show Basic auth credentials were tried and failed with "Connection Refused" A. Network Connectivity tests find that both ports are HTTP(80) and HTTPS(443) are open and are not being blocked. B. User name and password have both been confirmed to be correct and have all appropriate permissions. Yet authentication still fails. C. NetApp Storage Server logs show/confirm failed credentials attempted and failed. D. With MID Logs set to mid.logging.level = debug you'll find the following messages indicating that Basic Auth credentials are being attempted and failing on both HTTP(80) and HTTPS(443). 2020-09-22 14:43:48 (258) Worker-Interactive:HorizontalDiscoveryProbe-485054a7db5bd810afe6af6d13961906 DEBUG: NetAppConnectionFactory: Can't connect to the device with the following credentials: <user_name_here>, using HTTP.2020-09-22 14:43:47 (226) Worker-Interactive:HorizontalDiscoveryProbe-485054a7db5bd810afe6af6d13961906 DEBUG: NetAppConnectionFactory: Can't connect to the device with the following credentials: <user_name_here>, using HTTPS.Reason: Connection refused: connect ReleaseAnyCauseThe NetApp default rules for user names and passwords have been broken. Case study found that although user name and password were both entered correctly on the ServiceNow instance the user name character length exceeded the default maximum length of 16 characters for a user name that is configured with the "password" authentication method. ServiceNow allows a 40 character max length for the user_name field and a 255 character max length for the password field on a Basic Auth Credential record. ResolutionPlease verify the rule settings for user names and passwords on the NetApp Storage Server being targeted for Discovery. Per NetApp's Documentation on Managing rule settings for user names and passwords in an access-control role The default rules for user names and passwords apply to users of all access-control roles. You can modify the rule settings of user names and passwords for a specific role to enhance user account security. Following are the default rules for user names: A user name must be at least three characters long.A user name can contain letters, numbers, special characters, or a combination of them. For a local user name (that is, a user name that is configured with the password or publickey authentication method), the following additional rules about special characters apply: Only the following characters are supported: _ . - The user names cannot begin with a hyphen (-). A user name that is configured with the password authentication method cannot be longer than 16 characters.A user name that is configured with the snmp application type cannot be longer than 32 characters. Following are the default rules for passwords: A password cannot contain the user name.A password must be at least eight characters long.A password must contain at least one letter and one number.A password cannot be the same as the last six passwords. Full Documentation can be found in the below link: https://library.netapp.com/ecmdocs/ECMP1636037/html/GUID-C8800B62-8EDE-4FE1-A003-3CA4526C8611.html