diff --git a/utils.py b/utils.py index 0d0301e2..e75c75f3 100644 --- a/utils.py +++ b/utils.py @@ -162,6 +162,7 @@ def __init__(self, url, auth, verify): # when they're coming from a non-leader. So we follow redirects. self.curl.setopt(pycurl.FOLLOWLOCATION, True) self.curl.setopt(pycurl.MAXREDIRS, 1) + self.curl.setopt(pycurl.UNRESTRICTED_AUTH, True) # The below settings are to prevent the connection from hanging if the # connection breaks silently. Since marathon-lb only listens, silent