** Description changed: See: https://opendev.org/jjb/python- jenkins/src/branch/master/jenkins/__init__.py#L69 try: - import requests_kerberos + import requests_kerberos except ImportError: - requests_kerberos = None + requests_kerberos = None This results in an "ERROR", but not really and error... 2019-10-22 09:12:34,983 - ERROR - handle_other(): Mutual authentication unavailable on 403 response As the below code jams in that option to try: - if requests_kerberos is not None: - self._auths.append( - ('kerberos', requests_kerberos.HTTPKerberosAuth()) - ) + if requests_kerberos is not None: + self._auths.append( + ('kerberos', requests_kerberos.HTTPKerberosAuth()) + ) - - Why? + Why? This should absolutely be an argument/toggle or a capture of the + requests 403 message to output it as "Trying kerberos, skipping due to + X" of some sort.
-- You received this bug notification because you are a member of Python Jenkins Developers, which is subscribed to Python Jenkins. https://bugs.launchpad.net/bugs/1849302 Title: Why is this library forcing kerberos attempts? Status in Python Jenkins: New Bug description: See: https://opendev.org/jjb/python- jenkins/src/branch/master/jenkins/__init__.py#L69 try: import requests_kerberos except ImportError: requests_kerberos = None This results in an "ERROR", but not really and error... 2019-10-22 09:12:34,983 - ERROR - handle_other(): Mutual authentication unavailable on 403 response As the below code jams in that option to try: if requests_kerberos is not None: self._auths.append( ('kerberos', requests_kerberos.HTTPKerberosAuth()) ) Why? This should absolutely be an argument/toggle or a capture of the requests 403 message to output it as "Trying kerberos, skipping due to X" of some sort. To manage notifications about this bug go to: https://bugs.launchpad.net/python-jenkins/+bug/1849302/+subscriptions -- Mailing list: https://launchpad.net/~python-jenkins-developers Post to : python-jenkins-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~python-jenkins-developers More help : https://help.launchpad.net/ListHelp