qBittorrent with https

Get help with Couchpotato
Junior Member
Posts: 1
Joined: 11 Apr 2018 23:08
Status: Offline

qBittorrent with https

Postby pax0707 » 11 Apr 2018 23:26

It works fine with http but when I enable https in qBittorrent it gives error.

Code: Select all

### Steps to reproduce:
1. setup qbittorrent
2. press test

### Information:
Movie(s) I have this with: ...
Quality of the movie being searched: ...
Providers I use: ...
Version of CouchPotato: git:(CouchPotato:CouchPotatoServer master) 12ca4c22 (2018-03-31 23:29:42)
Running on: Windows 10

### Logs:
04-11 23:34:19 ERROR [          couchpotato.api] Failed doing api request "download.qbittorrent.test": Traceback (most recent call last):
  File "D:\Plex\CouchPotatoServer\couchpotato\api.py", line 36, in run_handler
    res = api[route](**kwargs)
  File "D:\Plex\CouchPotatoServer\couchpotato\core\_base\downloader\main.py", line 179, in _test
    t = self.test()
  File "D:\Plex\CouchPotatoServer\couchpotato\core\downloaders\qbittorrent_.py", line 46, in test
    return self.connect()
  File "D:\Plex\CouchPotatoServer\couchpotato\core\downloaders\qbittorrent_.py", line 35, in connect
    self.qb = QBittorrentClient(url)
  File "D:\Plex\CouchPotatoServer\libs\qbittorrent\client.py", line 17, in __init__
    check_prefs = session.get(url+'query/preferences')
  File "D:\Plex\CouchPotatoServer\libs\requests\sessions.py", line 481, in get
    return self.request('GET', url, **kwargs)
  File "D:\Plex\CouchPotatoServer\libs\requests\sessions.py", line 469, in request
    resp = self.send(prep, **send_kwargs)
  File "D:\Plex\CouchPotatoServer\libs\requests\sessions.py", line 577, in send
    r = adapter.send(request, **kwargs)
  File "D:\Plex\CouchPotatoServer\libs\requests\adapters.py", line 371, in send
  File "D:\Plex\CouchPotatoServer\libs\requests\packages\urllib3\connectionpool.py", line 544, in urlopen
    body=body, headers=headers)
  File "D:\Plex\CouchPotatoServer\libs\requests\packages\urllib3\connectionpool.py", line 344, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  File "D:\Plex\CouchPotatoServer\libs\requests\packages\urllib3\connectionpool.py", line 314, in _raise_timeout
    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6
TypeError: __str__ returned non-string (type Error)

Return to “Support”