The HUB is calling open LDAP API's.
The LDAP server is not connecting at some particular time and due to that request for that particular time is failing with
'Can't contact LDAP server' (81)
It is happening for milliseconds only. Some time we observed that even after successful LDAP login the next step which required LDAP server communication is failing due to server unreachable.
On going through the 3rd party LDAP Code flow we have found that LDAP_SERVER_DOWN(error code : 0x51, error text : 'Can't contact LDAP server') return type is generic for all LDAP API's where request is not reaching to server. In our case, sometimes LDAP API's are not reaching the server even after a successfull login.
This means that for that particular time, something happened into network.
As these are 3rd Party LDAP API's there is nothing in the UIM code at the time of the error
The only option left is to have your networks team identify why some LDAP requests are not reaching the server when others are.