Needed to make it https connection 

HTTPConnection did not work for production environment