Skip to content

'SessionThread' object has no attribute '_responses' #381

@clyfish

Description

@clyfish

When remote servers are very fast, we often encounter this exception.

Exception in thread f71e3b91-ad4d-4e0a-aa72-1eca9e66e53c:
Traceback (most recent call last):
  File "/usr/local/python39/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/local/python39/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/home/gitlab-runner/.local/lib/python3.9/site-packages/requests_toolbelt/threaded/thread.py", line 45, in _make_request
    self._handle_request(kwargs)
  File "/home/gitlab-runner/.local/lib/python3.9/site-packages/requests_toolbelt/threaded/thread.py", line 34, in _handle_request
    self._responses.put((kwargs, response))
AttributeError: 'SessionThread' object has no attribute '_responses'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions