Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/restore cookie auth #1201

Merged
merged 7 commits into from
Nov 6, 2021
Merged

Bugfix/restore cookie auth #1201

merged 7 commits into from
Nov 6, 2021

Conversation

adehad
Copy link
Contributor

@adehad adehad commented Oct 29, 2021

Fixes #1035

As this is technically a regression

@tevert do let me know if you can confirm this works

pip install git+https://github.com/pycontribs/jira.git@bugfix/restore_cookie_auth

@adehad adehad added the bug label Oct 29, 2021
@adehad adehad requested a review from studioj October 29, 2021 18:58
@adehad adehad force-pushed the bugfix/restore_cookie_auth branch from 636dda6 to d0b160f Compare October 29, 2021 19:19
@mruessler
Copy link

mruessler commented Oct 29, 2021

I just installed your patch and tried authenticating with a jira instance. The session could be established. 👍
Although it seems that the auth object has no attributes: object has no attribute 'search_issues'.

@adehad
Copy link
Contributor Author

adehad commented Oct 30, 2021

I just installed your patch and tried authenticating with a jira instance. The session could be established. 👍 Although it seems that the auth object has no attributes: object has no attribute 'search_issues'.

@mruessler sorry don't suppose you could explain what code snippet you used to test this?

It sounds like you may be using the wrong class?

I would expect this snippet to work:

import jira

cookie_auth_jira = jira.client.JIRA(
    server="your_url",
    auth=("your user", "your_pass"),
)
cookie_auth_jira.myself()
cookie_auth_jira.search_issues(...) # this should work fine with the right arguments

studioj
studioj previously approved these changes Oct 30, 2021
Copy link
Collaborator

@studioj studioj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the above API breaking change is known and intentionally then its good to go

"""

def __init__(
self, session: ResilientSession, _get_session: Callable, auth: Tuple[str, str]
self, session: ResilientSession, session_api_url: str, auth: Tuple[str, str]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not aware why this got broken but just a reminder that this breaks the API as probably mentioned here #1201 (comment) by @mruessler .

maybe this should become a private class if we dont want people to interact with it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll wait for @mruessler to respond to my earlier comment. I agree this is private. I can't imagine why a user would directly interact with this class, all these 'AuthBase' subclasses need to be in a separate module file with a module docstring describing them as an implementation detail for the main client.

@mruessler
Copy link

mruessler commented Oct 31, 2021

I just installed your patch and tried authenticating with a jira instance. The session could be established. 👍 Although it seems that the auth object has no attributes: object has no attribute 'search_issues'.

@mruessler sorry don't suppose you could explain what code snippet you used to test this?

It sounds like you may be using the wrong class?

I would expect this snippet to work:

import jira

cookie_auth_jira = jira.client.JIRA(
    server="your_url",
    auth=("your user", "your_pass"),
)
cookie_auth_jira.myself()
cookie_auth_jira.search_issues(...) # this should work fine with the right arguments

Hi @adehad You’re right. I assumed that you’d have the same experience than me but that is obviously not the case. So here is my extended comment. I used your branch for my project to test.

λ python surveillance.py                                                       
Enter User: user                                                                  
Enter password:                                                                      
2021-10-31 22:37:02: Jira session established.                                       
                                                                                     
2021-10-31 22:37:03: Starting surveillance                                
                                                                                     
2021-10-31 22:37:03: Attribute error                                                 
Traceback (most recent call last):                                                   
  File "D:\src\surveillance.py", line 34, in <module>                
    src.jira_helper.notify_on_new_issues(instance, 30)                                 
  File "D:\src\jira_helper.py", line 224, in notify_on_new_issues      
    issues = get_unassigned_issues(instance)                                          
  File "D:\src\jira_helper.py", line 147, in get_unassigned_issues      
    issues = instance.search_issues(query, maxResults=200)                           
AttributeError: 'RecursionError' object has no attribute 'search_issues'             
                                                                                     
During handling of the above exception, another exception occurred:                  
                                                                                     
Traceback (most recent call last):                                                   
  File "D:\src\surveillance.py", line 37, in <module>                
    logger.error(e.text)                                                             
AttributeError: 'AttributeError' object has no attribute 'text'                      

In order to have a minimal and better comparable example I used your code snippet afterwards. This is the backtrace:

Click to expand
Traceback (most recent call last):
  File "D:\src\test.py", line 5, in <module>
    cookie_auth_jira = jira.client.JIRA(
  File "C:\Python39\Lib\site-packages\jira\client.py", line 520, in __init__
    user = self.session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 3320, in session
    r = self._session.get(url)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 195, in get
    return self.__verb("GET", str(url), **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\client.py", line 252, in handle_401
    self.init_session()
  File "C:\Python39\Lib\site-packages\jira\client.py", line 243, in init_session
    r = self._session.post(
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python39\Lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Python39\Lib\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Python39\Lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\Python39\Lib\site-packages\urllib3\connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "C:\Python39\Lib\site-packages\urllib3\connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "C:\Python310\lib\http\client.py", line 1368, in getresponse
    response.begin()
  File "C:\Python310\lib\http\client.py", line 336, in begin
    self.headers = self.msg = parse_headers(self.fp)
  File "C:\Python310\lib\http\client.py", line 235, in parse_headers
    return email.parser.Parser(_class=_class).parsestr(hstring)
  File "C:\Python310\lib\email\parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)
  File "C:\Python310\lib\email\parser.py", line 56, in parse
    feedparser.feed(data)
  File "C:\Python310\lib\email\feedparser.py", line 176, in feed
    self._call_parse()
  File "C:\Python310\lib\email\feedparser.py", line 180, in _call_parse
    self._parse()
  File "C:\Python310\lib\email\feedparser.py", line 256, in _parsegen
    if self._cur.get_content_type() == 'message/delivery-status':
  File "C:\Python310\lib\email\message.py", line 578, in get_content_type
    value = self.get('content-type', missing)
  File "C:\Python310\lib\email\message.py", line 471, in get
    return self.policy.header_fetch_parse(k, v)
  File "C:\Python310\lib\email\_policybase.py", line 316, in header_fetch_parse
    return self._sanitize_header(name, value)
RecursionError: maximum recursion depth exceeded

I am using Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32.

@adehad
Copy link
Contributor Author

adehad commented Nov 1, 2021

Perfect, thanks. I've seen this reported in #681. There is a genuine 401 error but we just retry this forever...

I've added some logic that aims to prevent this loop.

I couldn't add a test for this, as it triggered the CAPTCHA challenge on the user and then breaks all the tests run afterwards. But if @mruessler you could give this a check and see if you get a HTTP exception raised instead of a recursion error that would be great.

@mruessler
Copy link

mruessler commented Nov 1, 2021

Hi @adehad,

I still get the RecursionError. This is the result of running the MWE, again:

Click to expand
Traceback (most recent call last):
  File "D:\src\test.py", line 5, in <module>
    cookie_auth_jira = jira.client.JIRA(
  File "C:\Python310\lib\site-packages\jira\client.py", line 535, in __init__
    user = self.session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 3345, in session
    r = self._session.get(url)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 195, in get
    return self.__verb("GET", str(url), **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 265, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Python310\lib\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Python310\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\Python310\lib\site-packages\urllib3\connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "C:\Python310\lib\site-packages\urllib3\connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "C:\Python310\lib\http\client.py", line 1368, in getresponse
    response.begin()
  File "C:\Python310\lib\http\client.py", line 336, in begin
    self.headers = self.msg = parse_headers(self.fp)
  File "C:\Python310\lib\http\client.py", line 235, in parse_headers
    return email.parser.Parser(_class=_class).parsestr(hstring)
  File "C:\Python310\lib\email\parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)
  File "C:\Python310\lib\email\parser.py", line 56, in parse
    feedparser.feed(data)
  File "C:\Python310\lib\email\feedparser.py", line 176, in feed
    self._call_parse()
  File "C:\Python310\lib\email\feedparser.py", line 180, in _call_parse
    self._parse()
  File "C:\Python310\lib\email\feedparser.py", line 256, in _parsegen
    if self._cur.get_content_type() == 'message/delivery-status':
  File "C:\Python310\lib\email\message.py", line 578, in get_content_type
    value = self.get('content-type', missing)
  File "C:\Python310\lib\email\message.py", line 471, in get
    return self.policy.header_fetch_parse(k, v)
  File "C:\Python310\lib\email\_policybase.py", line 316, in header_fetch_parse
    return self._sanitize_header(name, value)
RecursionError: maximum recursion depth exceeded

@adehad
Copy link
Contributor Author

adehad commented Nov 1, 2021

damn, that is strange.

I'll try make a test that uses https://httpstat.us/ - and see if I can reproduce this. Thanks.

@adehad
Copy link
Contributor Author

adehad commented Nov 1, 2021

Was able to reproduce the RecursionError, I've addressed this now, and have added a test. Not the greatest test in the world, but better than nothing...

Can you give this another try @mruessler ?
I'm expecting that you will see a JIRAError that can explain why the cookie auth isn't working - rather than a RecursionError.

@mruessler
Copy link

mruessler commented Nov 2, 2021

This looks better. I get the expected error:

λ python test.py
Traceback (most recent call last):
  File "D:\src\test.py", line 5, in <module>
    cookie_auth_jira = jira.client.JIRA(
  File "C:\Python310\lib\site-packages\jira\client.py", line 535, in __init__
    user = self.session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 3345, in session
    r = self._session.get(url)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 195, in get
    return self.__verb("GET", str(url), **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 165, in __verb
    response = method(url, timeout=self.timeout, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python310\lib\site-packages\requests\sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "C:\Python310\lib\site-packages\requests\hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "C:\Python310\lib\site-packages\jira\client.py", line 264, in handle_401
    self.init_session()
  File "C:\Python310\lib\site-packages\jira\client.py", line 251, in init_session
    r = self._session.post(  # this also goes through the handle_401() hook
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 198, in post
    return self.__verb("POST", str(url), data=data, json=json, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 189, in __verb
    raise_on_error(response, verb=verb, **kwargs)
  File "C:\Python310\lib\site-packages\jira\resilientsession.py", line 64, in raise_on_error
    raise JIRAError(
jira.exceptions.JIRAError: JiraError HTTP 401 url: https://jira.corporate.com/rest/auth/1/session
        text: Login failed

        response headers = {…}
        response text = {"errorMessages":["Login failed"],"errors":{}}

@adehad
Copy link
Contributor Author

adehad commented Nov 3, 2021

Great, @mruessler - are you happy with this branch then? (I am assuming the login failure is a genuine failure on your side rather than a problem with the cookie auth implementation ?)

@mruessler
Copy link

Great, @mruessler - are you happy with this branch then? (I am assuming the login failure is a genuine failure on your side rather than a problem with the cookie auth implementation ?)

I would think so. The login failure is independent of the authentication.

@adehad adehad requested a review from studioj November 3, 2021 19:39
@adehad adehad linked an issue Nov 4, 2021 that may be closed by this pull request
@mruessler
Copy link

In addition, I can now confirm that the login works and that I am able to use the Jira object just as before with basic authentication.

@adehad adehad merged commit f4aa2bd into main Nov 6, 2021
@adehad adehad deleted the bugfix/restore_cookie_auth branch November 6, 2021 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants