If BuildMaster is using https and a self-signed certificate then you may need to disable certificate verification to allow the API calls to access BuildMaster.