Error when switching from LDAP to LDAPS - TLS or SSL already in effect

When following these steps to enable LDAPS with Arcadia Visualization Server, you may run into this error after restarting and attempting to login:

Caught LDAPError while authenticating <user>: 
OPERATIONS_ERROR({'desc': 'Operations error', 
'info': '00000000: LdapErr: DSID-0C090FF6, 
comment: TLS or SSL already in effect, data 0, v2580'},)

This error indicates that TLS is already running on the Arcadia Visualization Server. To resolve this error, comment out this setting in the Arcadia LDAP config in the Arcadia Visualization Server Safety Valve (settings_cm.py) in Cloudera Manager (CDH), or in the Arcviz Settings in Ambari (HDP), and restart the Arcadia Visualization Server:

#AUTH_LDAP_START_TLS = True

1 Like