Maybe that because hit by too many redirects. You should just implement this workarounds: SSL errors on some websites