User Sync Plugin not working

Hi,
I have installed User Sync Plugin in two sites:
1. I already did first sync and all worked well.
2. I uninstalled the plugins in both sites for other reasons and then installed them again.
3. I tried to create a new user in master site and it was not created in slave site.
4. I tried to sync users and after a while i get Error 504.