SSL/TLS errors in Shana YaRSS.

Create issue
Issue #120 new
Tom Kane created an issue

I've been getting this error on a few releases, but most others still seem to be fine. This is with Deluge 1.3.13 (1.3.14 was crashing almost constantly with this YaRSS version. Perhaps it needs updating as well, especially with Deluge 2.0 coming). One release is Granblue Fantasy Ep. 6 from BudLight, and the other is Ep. 4 from the "Uncensored" and untagged Sin - Nanatsu no Taizai

[ERROR   ] 22:19:48 logger:71 YaRSS2.torrent_handling:67: Failed to download torrent url: 'http://www.shanaproject.com/download/149532/?uid=34740&key=xxxxxxxxxx'. Exception: [SSL:TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:590)
[ERROR   ] 22:19:48 rpcserver:304 Exception calling RPC request: 'folder'
Traceback (most recent call last):
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-1.3.13-py2.7.egg/deluge/core/rpcserver.py", line 299, in dispatch
  File "/Users/[username]/.config/deluge/plugins/YaRSS2-1.3.3.sp3-py2.7.egg/yarss2/core.py", line 170, in add_torrent
    torrent_download = self.torrent_handler.add_torrent(torrent_info)
  File "/Users/[username]/.config/deluge/plugins/YaRSS2-1.3.3.sp3-py2.7.egg/yarss2/torrent_handling.py", line 120, in add_torrent
    if torrent_info["folder"]:
KeyError: 'folder'
[ERROR   ] 22:19:55 logger:71 YaRSS2.torrent_handling:67: Failed to download torrent url: 'http://www.shanaproject.com/download/149447/?uid=34740&key=xxxxxxxxxx'. Exception: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:590)
[ERROR   ] 22:19:55 rpcserver:304 Exception calling RPC request: 'folder'
Traceback (most recent call last):
  File "/Users/cas/gtk/inst/lib/python2.7/site-packages/deluge-1.3.13-py2.7.egg/deluge/core/rpcserver.py", line 299, in dispatch
  File "/Users/[username]/.config/deluge/plugins/YaRSS2-1.3.3.sp3-py2.7.egg/yarss2/core.py", line 170, in add_torrent
    torrent_download = self.torrent_handler.add_torrent(torrent_info)
  File "/Users/[username]/.config/deluge/plugins/YaRSS2-1.3.3.sp3-py2.7.egg/yarss2/torrent_handling.py", line 120, in add_torrent
    if torrent_info["folder"]:
KeyError: 'folder'

Those are from trying the "Add torrent with current subscription options" context menu item within the subscription edit window. The "Add torrent" option and the regular scheduled downloads result in just the first line about the SSL error.

Comments (1)

  1. Tom Kane reporter

    Whatever was causing this seems to have stopped. I haven't had this happen in over a month.

  2. Log in to comment