Quantcast
Channel: uncategorized - Forum - FlexGet
Viewing all articles
Browse latest Browse all 376

BUG: Unhandled error in plugin transmission: (104, 'Connection reset by peer')

$
0
0

@swmiller6 wrote:

Problem with new configuration file, From log file

2016-06-16 20:36 INFO     download      get shows       Downloading: awesome_show S03E03 720p HDTV x264-BATV[rarbg]
2016-06-16 20:36 CRITICAL task          get shows       BUG: Unhandled error in plugin transmission: (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 443, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/plugin_transmission.py", line 280, in on_task_download
    download.instance.get_temp_files(task, handle_magnets=True, fail_html=True)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/download.py", line 179, in get_temp_files
    self.get_temp_file(task, entry, require_path, handle_magnets, fail_html, tmp_path)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/download.py", line 132, in get_temp_file
    error = self.process_entry(task, entry, url, tmp_path)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/download.py", line 199, in process_entry
    self.download_entry(task, entry, url, tmp_path)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/download.py", line 275, in download_entry
    for chunk in response.iter_content(chunk_size=150 * 1024, decode_unicode=False):
  File "/usr/lib/python2.7/dist-packages/requests/models.py", line 616, in generate
    decode_content=True):
  File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 225, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 174, in read
    data = self._fp.read(amt)
  File "/usr/lib/python2.7/httplib.py", line 573, in read
    s = self.fp.read(amt)
  File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 152, in read
    data = self._sock.recv(left)
SysCallError: (104, 'Connection reset by peer')

Configuration file I am using.

secrets: secrets.yml
templates:
  # This is just in a template so that it can easily be re-used in multiple tasks (for example in an rss based and discover based task)
  # If you only have one task using your series config, you can place the configure_series plugin directly in that task rather than in a template
  # repetitive anchor items
  anchors:
    _transmission: &transmission
      host: '{{ secrets.transmission.host }}'
      port: 9091
      username: '{{ secrets.transmission.username }}'
      password: '{{ secrets.transmission.password }}'
      path: '{{ secrets.transmission.download_path_shows }}'
      ratio: .01
    _email: &email
      active: True
      from: '{{ secrets.email.from }}'
      to: swmiller6@gmail.com
      smtp_host: '{{ secrets.email.host }}'
      smtp_port: 587
      smtp_login: true
      smtp_username: '{{ secrets.email.username }}'
      smtp_password: '{{ secrets.email.password }}'
      smtp_tls: true
    _trakt_credentials: &trakt_credentials
      username: '{{ secrets.trakt.username }}'
      account: '{{ secrets.trakt.account }}' 
  # transmission connection for downloading shows      
  transmit-series:
    transmission:
      <<: *transmission
    email:
      <<: *email
  global:
    retry_failed:
      retry_time: 5 minutes # Base time in between retries
      retry_time_multiplier: 1 # Amount retry time will be multiplied by after each successive failure
      max_retries: 25 # Number of times the entry will be retried
    exists_series:
      path: '/media/storage/Tv/{{series_name}}'
    # some filtering to keep out the junk
    regexp:
      reject:
        - (s|d)ub(s|bed)?\b: {from: title}
        - 300mb
        - Español
        - spanish
        - temporada
        - subtitulado
        - french
        - DailyFliX
        - DUBLADO
        - x265
        - h265
        - xvid
    content_filter:
      require:
        - '*.avi'
        - '*.mkv'
        - '*.mp4'
      reject:
        - '*.wmv'
        - '*.zip'
        - 'password*'
  # template for shows to download        
  download-show:
    discover:
      what:
        - emit_series: yes
      from:
        - search_rss: http://showrss.info/user/64956.rss?magnets=true&namespaces=true&name=null&quality=hd&re=null
        - kat:
            category: tv
            verified: yes  
    thetvdb_lookup: yes
    set:
      content_filename: "{{ tvdb_series_name }} - {{ series_id }} ({{ quality|upper }})"
# list of tasks to run
tasks:
  # This task will look for episodes you have added to your `My TV Shows` list at trakt.
  # It will set the `begin` series option for that show, then remove the episode and re-add it to your `My TV Shows` list as a show.
  follow show from ep:
    priority: 1
    seen: local
    trakt_list:
      <<: *trakt_credentials
      list: watchlist
      type: episodes
    accept_all: yes
    #set_series_begin: yes
    list_remove:
      - trakt_list:
          <<: *trakt_credentials
          list: '{{ secrets.trakt_lists.shows_follow }}'
    list_add:
      - trakt_list:
          <<: *trakt_credentials
          list: '{{ secrets.trakt_lists.shows_follow }}'
          type: shows
  get shows begin:
    priority: 2
    disable: seen
    trakt_emit:
      <<: *trakt_credentials
      list: '{{ secrets.trakt_lists.shows_follow }}'
      context: collected
      position: next
    accept_all: yes
    set_series_begin: yes
  get shows:
    priority: 3
    #magnets: no
    configure_series:
      settings:
        # Configure all the series options to your taste
        quality: 720p+ hdtv+
        timeframe: 1 hours
        target: 720p+ hdtv+
        identified_by: ep
        exact: yes
      from:
        trakt_list:
          <<: *trakt_credentials
          list: '{{ secrets.trakt_lists.shows_follow }}'
          type: shows
    template: [ download-show, transmit-series ]

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 376

Trending Articles