Permission error to sync Active Directory

I have these problems, has anyone experienced this? I'm using version 8.1.4, sql server 2017 and windows server 2016, I also tried it on another system with version 2019 and got the same problems.

when trying to modify permissions or synchronize one identity with active directory I always get error messages about lost connection to the database.