[ qBittorrent + CLI ] An open-source software alternative to µTorrent

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
User avatar
jestermgee
Posts: 9
Joined: 08 Jan 2026, 06:35
Australia

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by jestermgee »

Still no luck after several days of trying to get this working again, really wish I just went for a Synology nas as finding any discussions for this thing is limiting

latest log:

Code: Select all

(W) 2026-06-27T15:32:08 - Error occurred when downloading torrent via search engine. Engine: "jackett". URL: "http://10.0.0.110:9117". Error: "Traceback (most recent call last):
  File "/usr/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/usr/lib/python3.10/http/client.py", line 942, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.10/socket.py", line 845, in create_connection
    raise err
  File "/usr/lib/python3.10/socket.py", line 833, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/nova2dl.py", line 64, in <module>
    engine.download_torrent(download_param)
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/engines/jackett.py", line 124, in download_torrent
    print(helpers.download_file(download_url))
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/helpers.py", line 135, in download_file
    response = urllib.request.urlopen(request, context=ssl_context)
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 1377, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>".
(W) 2026-06-27T15:32:08 - Reading downloaded torrent data failed. Data: "". Error: "File open error. File: "". Error: "No file name specified"".
(W) 2026-06-27T15:32:09 - Error occurred when downloading torrent via search engine. Engine: "jackett". URL: "http://10.0.0.110:9117". Error: "Traceback (most recent call last):
  File "/usr/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/usr/lib/python3.10/http/client.py", line 942, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.10/socket.py", line 845, in create_connection
    raise err
  File "/usr/lib/python3.10/socket.py", line 833, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/nova2dl.py", line 64, in <module>
    engine.download_torrent(download_param)
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/engines/jackett.py", line 124, in download_torrent
    print(helpers.download_file(download_url))
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/helpers.py", line 135, in download_file
    response = urllib.request.urlopen(request, context=ssl_context)
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 1377, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>".
(W) 2026-06-27T15:32:09 - Reading downloaded torrent data failed. Data: "". Error: "File open error. File: "". Error: "No file name specified"".
(W) 2026-06-27T15:32:11 - Error occurred when downloading torrent via search engine. Engine: "jackett". URL: "http://10.0.0.110:9117". Error: "Traceback (most recent call last):
  File "/usr/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/usr/lib/python3.10/http/client.py", line 942, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.10/socket.py", line 845, in create_connection
    raise err
  File "/usr/lib/python3.10/socket.py", line 833, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/nova2dl.py", line 64, in <module>
    engine.download_torrent(download_param)
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/engines/jackett.py", line 124, in download_torrent
    print(helpers.download_file(download_url))
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/helpers.py", line 135, in download_file
    response = urllib.request.urlopen(request, context=ssl_context)
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 1377, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>".
(W) 2026-06-27T15:32:11 - Reading downloaded torrent data failed. Data: "". Error: "File open error. File: "". Error: "No file name specified"".
(W) 2026-06-27T15:34:24 - Error occurred in search engine. Search query: "simpsons". Category: "all". Engines: "eztv, limetorrents, kickasstorrents, torrentgalaxy, elitetorrent, jackett, torlock, eztvx, torrentscsv, solidtorrents, onlinefix, torrentproject, piratebay, yourbittorrent". Error: "Traceback (most recent call last):
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/nova2.py", line 187, in run_search
    engine.search(what, cat.name)
  File "/usr/local/@APP_CONFIG/qBittorrent/data/nova3/engines/jackett.py", line 146, in search
    with Pool(min(len(indexers), self.thread_count)) as pool:
  File "/usr/lib/python3.10/multiprocessing/dummy/__init__.py", line 124, in Pool
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by outkastm »

Sometimes is not related to have a TM NAS or any other brand NAS.
Is about the running app capabilities and the configuration done.

Regarding Jacket plugin, have you correctly configured this plugin with the server and api ? The Jackett app is running ?
https://github.com/qbittorrent/search-p ... ett-plugin

You can also try to figure it out yourself or ask some help when you are blocked, wait for someone to step in and provide you some advice.
Keep in mind that the search plugins are not part of qBittorrent and can stop working at any moment.

For the existing plugins installed as default, a search for debian return:

Image
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by Gremlin »

outkastm wrote: 27 Jun 2026, 17:46
I admire your patience. :roll:
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by outkastm »

Only up to a certain point :D
User avatar
m4niekk90
Posts: 6
Joined: 24 Jun 2026, 02:05
Poland

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by m4niekk90 »

@outkastm
Thank you for the quick reaction ! Just a question though. Due to the update I have lost all my list of active torrents that I have downloaded and was seeding. Should it be like this? Can it be retrived somehow ?
:mrgreen: F2-425 Plus :mrgreen:
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by outkastm »

Here the results of search on Debian using jackett plugin when is configured correctly
Image
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by outkastm »

m4niekk90 wrote: 28 Jun 2026, 02:07 @outkastm
Thank you for the quick reaction ! Just a question though. Due to the update I have lost all my list of active torrents that I have downloaded and was seeding. Should it be like this? Can it be retrived somehow ?
What is your TOS version ? And you have 5.2.2.1 installed ?
User avatar
m4niekk90
Posts: 6
Joined: 24 Jun 2026, 02:05
Poland

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by m4niekk90 »

outkastm wrote: 28 Jun 2026, 02:59
m4niekk90 wrote: 28 Jun 2026, 02:07 @outkastm
Thank you for the quick reaction ! Just a question though. Due to the update I have lost all my list of active torrents that I have downloaded and was seeding. Should it be like this? Can it be retrived somehow ?
What is your TOS version ? And you have 5.2.2.1 installed ?
My NAS is F2-425 plus with TOS 7.0.0747
And yes, I have qbittorrent 5.2.2.1. Previously have installed 5.2.2.0 which did not work until 5.2.2.1.
:mrgreen: F2-425 Plus :mrgreen:
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by outkastm »

If i understand correctly, then you were running before the official app installed from the app center ?
User avatar
jestermgee
Posts: 9
Joined: 08 Jan 2026, 06:35
Australia

Re: [ qBittorrent + CLI ] An open-source software alternative to µTorrent

Post by jestermgee »

Regarding Jacket plugin, have you correctly configured this plugin with the server and api ? The Jackett app is running ?
https://github.com/qbittorrent/search-p ... ett-plugin
I have been through that page but there is a lot of general info and unsure what to do with most of it. the few terminal commands I attempted did not work, I am not a Linux user so know only the basics which is admittedly part of my problem but getting help from experienced Linux users seems a comical task as there is an assumption people should be born knowing CLI by default...

I have jackett listed in my plugins folder within the nova3/data path with the other plugins along with the json file which I can open, I ahve added the IP of my server into the file but I cannot access the serverip:9117 for jackett service as I assume it is 'not running' and this is where I am stuck on this, I am unsure how to get it started...
You can also try to figure it out yourself or ask some help when you are blocked, wait for someone to step in and provide you some advice.
That is what I was trying to achieve, asking for help and posting info and logs on what I see. I don't believe I have posted anything to test anyone's patience so unsure what the statement in that regards was all about but it's expected from these kinds of communities I guess where I should be at a stage where I don't need help... The main issue I see in the logs (if someone can confirm) is that Python is throwing large amounts of errors on qbt startup so I am unsure why this is occuring.
Sometimes is not related to have a TM NAS or any other brand NAS.
It's not about things affecting one system more than another, it's about support. Not only is more higher tiered support paywalled for this system but there is simply no discussion groups for it like there are Synology and simple things like this with typical users posting eyeroll comments adds to the negativity. Not everyone is an expert with this kind of stuff and guides, info and knowledgeable (and helpful) people are hard to come by for this system compared to the amount of useful and helpful people I see for Synology, maybe this is why Terramaster is less of a consideration.

I do not recall setting up "jackett" originally, I am certain I simply installed Python and added the plugins and that was it. Many other similar posts just for QBT show just doing these simple steps which I have done but every search term I try shows no results. As far as I understand Jackett is not required but ultimately assists in better searching over multiple plugins? Should I not get some kind of result even if it is disabled?

Do any of the posted errors show any clue? What about the question about python versions?

A search shows no result:

Image

The plugins listed:

Image

I am also aware in the screenshot the Jackett plugin is disabled as I was testing to see if I had better luck with it not active as I never recall having it setup in the past, I had to manually add that as an option which I never did before.
Last edited by jestermgee on 28 Jun 2026, 08:39, edited 4 times in total.
Post Reply

Return to “Developer Discussion Room”