Fix 400 error by changing repository to use https