Getting Timeout error

Pyhon 3.6
Flexget 3.1.85

I am getting the following bug reports and can’t seem to figure this out.


2020-11-07 11:28:08 CRITICAL task          YIFY task       BUG: Unhandled error in plugin transmission: timed out
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/threading.py", line 884, in _bootstrap
    self._bootstrap_inner()
    |    -> <function Thread._bootstrap_inner at 0x7f65228e7e18>
    -> <Thread(task_queue, started daemon 140072175621888)>
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
    |    -> <function Thread.run at 0x7f65228e7bf8>
    -> <Thread(task_queue, started daemon 140072175621888)>
  File "/usr/local/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
    |    |        |    |        |    -> {}
    |    |        |    |        -> <Thread(task_queue, started daemon 140072175621888)>
    |    |        |    -> ()
    |    |        -> <Thread(task_queue, started daemon 140072175621888)>
    |    -> <bound method TaskQueue.run of <flexget.task_queue.TaskQueue object at 0x7f6518edcdd8>>
    -> <Thread(task_queue, started daemon 140072175621888)>
  File "/usr/local/lib/python3.6/site-packages/flexget/task_queue.py", line 46, in run
    self.current_task.execute()
    |    |            -> <function Task.execute at 0x7f651bfb4d90>
    |    -> <flexget.task.Task object at 0x7f651c97e5c0>
    -> <flexget.task_queue.TaskQueue object at 0x7f6518edcdd8>
  File "/usr/local/lib/python3.6/site-packages/flexget/task.py", line 87, in wrapper
    return func(self, *args, **kw)
           |    |      |       -> {}
           |    |      -> ()
           |    -> <flexget.task.Task object at 0x7f651c97e5c0>
           -> <function Task.execute at 0x7f651bfb4d08>
  File "/usr/local/lib/python3.6/site-packages/flexget/task.py", line 722, in execute
    self._execute()
    |    -> <function Task._execute at 0x7f651bfb4c80>
    -> <flexget.task.Task object at 0x7f651c97e5c0>
  File "/usr/local/lib/python3.6/site-packages/flexget/task.py", line 688, in _execute
    self.__run_task_phase(phase)
    |                     -> 'output'
    -> <flexget.task.Task object at 0x7f651c97e5c0>
  File "/usr/local/lib/python3.6/site-packages/flexget/task.py", line 514, in __run_task_phase
    response = self.__run_plugin(plugin, phase, args)
               |                 |       |      -> (<flexget.task.Task object at 0x7f651c97e5c0>, {'host': '127.0.0.1', 'port': 8181, 'username': 'admin', 'password': 'admin', ...
               |                 |       -> 'output'
               |                 -> <PluginInfo(name=transmission)>
               -> <flexget.task.Task object at 0x7f651c97e5c0>
> File "/usr/local/lib/python3.6/site-packages/flexget/task.py", line 547, in __run_plugin
    result = method(*args, **kwargs)
             |       |       -> {}
             |       -> (<flexget.task.Task object at 0x7f651c97e5c0>, {'host': '127.0.0.1', 'port': 8181, 'username': 'admin', 'password': 'admin', ...
             -> <Event(name=plugin.transmission.output,func=on_task_output,priority=135)>
  File "/usr/local/lib/python3.6/site-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
           |    |     |       -> {}
           |    |     -> (<flexget.task.Task object at 0x7f651c97e5c0>, {'host': '127.0.0.1', 'port': 8181, 'username': 'admin', 'password': 'admin', ...
           |    -> <bound method PluginTransmission.on_task_output of <flexget.plugins.clients.transmission.PluginTransmission object at 0x7f651...
           -> <Event(name=plugin.transmission.output,func=on_task_output,priority=135)>
  File "/usr/local/lib/python3.6/site-packages/flexget/plugins/clients/transmission.py", line 369, in on_task_output
    session_torrents = self.client.get_torrents()
                       |    |      -> <function Client.get_torrents at 0x7f651ad62840>
                       |    -> <transmissionrpc.client.Client object at 0x7f651bfbe0f0>
                       -> <flexget.plugins.clients.transmission.PluginTransmission object at 0x7f651a291f98>
  File "/usr/local/lib/python3.6/site-packages/transmissionrpc/client.py", line 583, in get_torrents
    return list(self._request('torrent-get', {'fields': arguments}, ids, timeout=timeout).values())
                |    |                                  |           |            -> None
                |    |                                  |           -> None
                |    |                                  -> ['activityDate', 'addedDate', 'bandwidthPriority', 'comment', 'corruptEver', 'creator', 'dateCreated', 'desiredAvailable', 'd...
                |    -> <function Client._request at 0x7f651ad51d08>
                -> <transmissionrpc.client.Client object at 0x7f651bfbe0f0>
  File "/usr/local/lib/python3.6/site-packages/transmissionrpc/client.py", line 247, in _request
    http_data = self._http_query(query, timeout)
                |    |           |      -> None
                |    |           -> '{"tag": 1, "method": "torrent-get", "arguments": {"fields": ["activityDate", "addedDate", "bandwidthPriority", "comment", "c...
                |    -> <function Client._http_query at 0x7f651ad51c80>
                -> <transmissionrpc.client.Client object at 0x7f651bfbe0f0>
  File "/usr/local/lib/python3.6/site-packages/transmissionrpc/client.py", line 205, in _http_query
    result = self.http_handler.request(self.url, query, headers, timeout)
             |    |            |       |    |    |      |        -> 30.0
             |    |            |       |    |    |      -> {'x-transmission-session-id': 'mx4FH5Ulgbhkr9G0rgvXyzgzaePnQUrRa3RxZpgVifpH9mH7'}
             |    |            |       |    |    -> '{"tag": 1, "method": "torrent-get", "arguments": {"fields": ["activityDate", "addedDate", "bandwidthPriority", "comment", "c...
             |    |            |       |    -> 'http://127.0.0.1:8181/transmission/rpc'
             |    |            |       -> <transmissionrpc.client.Client object at 0x7f651bfbe0f0>
             |    |            -> <function DefaultHTTPHandler.request at 0x7f651ada9ea0>
             |    -> <transmissionrpc.httphandler.DefaultHTTPHandler object at 0x7f651bfbe278>
             -> <transmissionrpc.client.Client object at 0x7f651bfbe0f0>
  File "/usr/local/lib/python3.6/site-packages/transmissionrpc/httphandler.py", line 65, in request
    response = self.http_opener.open(request, timeout=timeout)
               |    |           |    |                -> 30.0
               |    |           |    -> <urllib.request.Request object at 0x7f651c99d780>
               |    |           -> <function OpenerDirector.open at 0x7f651db84ea0>
               |    -> <urllib.request.OpenerDirector object at 0x7f65186db048>
               -> <transmissionrpc.httphandler.DefaultHTTPHandler object at 0x7f651bfbe278>
  File "/usr/local/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
               |    |    -> <http.client.HTTPResponse object at 0x7f651c99d940>
               |    -> <urllib.request.Request object at 0x7f651c99d780>
               -> <bound method HTTPErrorProcessor.http_response of <urllib.request.HTTPErrorProcessor object at 0x7f651c997fd0>>
  File "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
            |        |         |     |    -> <http.client.HTTPMessage object at 0x7f651c97e898>
            |        |         |     -> 'Unauthorized'
            |        |         -> 401
            |        -> <http.client.HTTPResponse object at 0x7f651c99d940>
            -> <urllib.request.Request object at 0x7f651c99d780>
  File "/usr/local/lib/python3.6/urllib/request.py", line 564, in error
    result = self._call_chain(*args)
             |    |            -> ({'default': [<urllib.request.HTTPDefaultErrorHandler object at 0x7f65186db550>], 301: [<urllib.request.HTTPRedirectHandler o...
             |    -> <function OpenerDirector._call_chain at 0x7f651db84e18>
             -> <urllib.request.OpenerDirector object at 0x7f65186db048>
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
             |     -> (<urllib.request.Request object at 0x7f651c99d780>, <http.client.HTTPResponse object at 0x7f651c99d940>, 401, 'Unauthorized',...
             -> <bound method HTTPBasicAuthHandler.http_error_401 of <urllib.request.HTTPBasicAuthHandler object at 0x7f651ca9c5c0>>
  File "/usr/local/lib/python3.6/urllib/request.py", line 1028, in http_error_401
    url, req, headers)
    |    |    -> <http.client.HTTPMessage object at 0x7f651c97e898>
    |    -> <urllib.request.Request object at 0x7f651c99d780>
    -> 'http://127.0.0.1:8181/transmission/rpc'
  File "/usr/local/lib/python3.6/urllib/request.py", line 981, in http_error_auth_reqed
    return self.retry_http_basic_auth(host, req, realm)
           |    |                     |     |    -> 'Transmission'
           |    |                     |     -> <urllib.request.Request object at 0x7f651c99d780>
           |    |                     -> 'http://127.0.0.1:8181/transmission/rpc'
           |    -> <function AbstractBasicAuthHandler.retry_http_basic_auth at 0x7f651db83d08>
           -> <urllib.request.HTTPBasicAuthHandler object at 0x7f651ca9c5c0>
  File "/usr/local/lib/python3.6/urllib/request.py", line 991, in retry_http_basic_auth
    return self.parent.open(req, timeout=req.timeout)
           |    |      |    |            |   -> 30.0
           |    |      |    |            -> <urllib.request.Request object at 0x7f651c99d780>
           |    |      |    -> <urllib.request.Request object at 0x7f651c99d780>
           |    |      -> <function OpenerDirector.open at 0x7f651db84ea0>
           |    -> <urllib.request.OpenerDirector object at 0x7f65186db048>
           -> <urllib.request.HTTPBasicAuthHandler object at 0x7f651ca9c5c0>
  File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
               |    |     |    -> None
               |    |     -> <urllib.request.Request object at 0x7f651c99d780>
               |    -> <function OpenerDirector._open at 0x7f651db84f28>
               -> <urllib.request.OpenerDirector object at 0x7f65186db048>
  File "/usr/local/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
             -> <urllib.request.Request object at 0x7f651c99d780>
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
             |     -> (<urllib.request.Request object at 0x7f651c99d780>,)
             -> <bound method HTTPHandler.http_open of <urllib.request.HTTPHandler object at 0x7f65186dbf28>>
  File "/usr/local/lib/python3.6/urllib/request.py", line 1346, in http_open
    return self.do_open(http.client.HTTPConnection, req)
           |    |       |    |      |               -> <urllib.request.Request object at 0x7f651c99d780>
           |    |       |    |      -> <class 'http.client.HTTPConnection'>
           |    |       |    -> <module 'http.client' from '/usr/local/lib/python3.6/http/client.py'>
           |    |       -> <module 'http' from '/usr/local/lib/python3.6/http/__init__.py'>
           |    -> <function AbstractHTTPHandler.do_open at 0x7f651db877b8>
           -> <urllib.request.HTTPHandler object at 0x7f65186dbf28>
  File "/usr/local/lib/python3.6/urllib/request.py", line 1321, in do_open
    r = h.getresponse()
        | -> <function HTTPConnection.getresponse at 0x7f651e7b6488>
        -> <http.client.HTTPConnection object at 0x7f651c99d860>
  File "/usr/local/lib/python3.6/http/client.py", line 1346, in getresponse
    response.begin()
    |        -> <function HTTPResponse.begin at 0x7f651e7b4730>
    -> <http.client.HTTPResponse object at 0x7f651c97ea20>
  File "/usr/local/lib/python3.6/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
                              |    -> <function HTTPResponse._read_status at 0x7f651e7b47b8>
                              -> <http.client.HTTPResponse object at 0x7f651c97ea20>
  File "/usr/local/lib/python3.6/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               |    |           -> 65536
               |    -> None
               -> <http.client.HTTPResponse object at 0x7f651c97ea20>
  File "/usr/local/lib/python3.6/socket.py", line 586, in readinto
    return self._sock.recv_into(b)
           |    |               -> <memory at 0x7f6519095c48>
           |    -> None
           -> <socket.SocketIO object at 0x7f651c97ed30>

socket.timeout: timed out

There’s a new bug filed on github which seems to be the same as your error: https://github.com/Flexget/Flexget/issues/2777