[User Sync] Can't setup user synchronisation

I’m trying to setup user synchronisation on my sites, but I get the message “There was a connection problem. Please check the URL and Key of the Master site.” when I try to run the sync. Can you please help me with this?