Identify the domain with the error: Did not get object insecurely either (-2147016661 : )
DEBUG: 3: Domain: domain.com
DEBUG: 6: QueryAD GetObjectTrySecure: Initiating insecure connection to LDAP://domain.com/RootDSE
DEBUG: 6: QueryAD GetObjectTrySecure: Got object insecurely. Terminated connection to LDAP://domain.com/RootDSE
DEBUG: 6: QueryAD GetObjectTrySecure: Initiating insecure connection to LDAP://domain.com/CN=Enterprise Configuration,CN=Partitions,CN=Configuration,DC=DOMAIN,DC=COM
DEBUG: 6: QueryAD GetObjectTrySecure: Got object insecurely. Terminated connection to LDAP://domain.com/CN=Enterprise Configuration,CN=Partitions,CN=Configuration,DC=DOMAIN,DC=COM
DEBUG: 3: Domain: domain.com Context: CN=Configuration,DC=DOMAIN,DC=COM Root: DOMAIN.COM
DEBUG: 3: Partition: CN=DOMAIN,CN=Partitions,CN=Configuration,DC=DOMAIN,DC=COM
DEBUG: 6: QueryAD GetObjectTrySecure: Initiating insecure connection to LDAP://CN=DOMAIN,CN=Partitions,CN=Configuration,DC=DOMAIN,DC=COM
DEBUG: 6: QueryAD GetObjectTrySecure: Did not get object insecurely either (-2147016661 : ). Terminated connection to LDAP://CN=DOMAIN,CN=Partitions,CN=Configuration,DC=DOMAIN,DC=COM
Remove the domain in question and test again
Additional Information
If removing the domain is not an option, replace the domain affected by Root Domain, before implementing this action, it's recommended to discuss with a dedicated team or AD team and consider the solution