Ldap Error for Auth Proxy

HI Getting error while installing Win Client .

Error : Server returend a invalid or unrecognized response .

Auth Log :

Traceback (most recent call last):
  File "twisted\python\log.pyc", line 103, in callWithLogger
    
  File "twisted\python\log.pyc", line 86, in callWithContext
    
  File "twisted\python\context.pyc", line 122, in callWithContext
    
  File "twisted\python\context.pyc", line 85, in callWithContext
    
--- <exception caught here> ---
  File "twisted\internet\selectreactor.pyc", line 149, in _doReadOrWrite
    
  File "twisted\internet\tcp.pyc", line 243, in doRead
    
  File "twisted\internet\tcp.pyc", line 249, in _dataReceived
    
  File "ldaptor\protocols\ldap\ldapserver.pyc", line 52, in dataReceived
    
  File "ldaptor\protocols\pureber.pyc", line 396, in berDecodeObject
    
exceptions.IOError: [Errno 9] Bad file descriptor

2020-05-06T16:01:07+0530 [duoauthproxy.modules.ad_client._ADServiceClientFactory#info] Stopping factory <duoauthproxy.modules.ad_client._ADServiceClientFactory object at 0x033F86B0>
2020-05-06T16:02:33+0530 [duoauthproxy.modules.ad_client._ADServiceClientFactory#info] Starting factory <duoauthproxy.modules.ad_client._ADServiceClientFactory object at 0x033F8A70>
2020-05-06T16:05:07+0530 [_ADServiceClientProtocol,client] The upstream LDAP server (10.0.6.4:389) has closed its connection to the proxy. Now closing our connection to the downstream c

my Conf :

[ad_client]
host=10.x.x.4
service_account_username=xxxx3
service_account_password=xxxxx999
search_dn=DC=xxxx,DC=com
security_group_dn=CN=DuoUsers,OU=Groups,DC=xxxx,DC=com

[ldap_server_auto]
client=ad_client
port=300
ikey=xxxxxxxxxxxx
skey=xxxxxxxxxxxxxxxx
api_host=xxxxxxxxxxxxxxxxxxxxxxxx
failmode=safe

please help