Error during init sync of Bahmni Connect

After following all the steps mentioned in the Bahmni Wiki for connect,I am getting the above error.What am I doing wrong?

My Login Location

My Vist Types

Person Attributes

Patient Identifier Sources

Bahmni Offline Sync Strategy



Edit:Apparently I am getting a 500 HTML Error at

@krishnanspace Do you mind giving the full log at ?