Script location: /tmp/user.scripts/tmpScripts/qBittorrent Mover/script Note that closing this window will abort the execution of this script executing script to pause torrents and run mover. Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/urllib3/connection.py", line 200, in _new_conn sock = connection.create_connection( File "/usr/lib64/python3.9/site-packages/urllib3/util/connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib64/python3.9/socket.py", line 954, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen response = self._make_request( File "/usr/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 496, in _make_request conn.request( File "/usr/lib64/python3.9/site-packages/urllib3/connection.py", line 388, in request self.endheaders() File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib64/python3.9/http/client.py", line 980, in send self.connect() File "/usr/lib64/python3.9/site-packages/urllib3/connection.py", line 236, in connect self.sock = self._new_conn() File "/usr/lib64/python3.9/site-packages/urllib3/connection.py", line 207, in _new_conn raise NameResolutionError(self.host, self, e) from e urllib3.exceptions.NameResolutionError: : Failed to resolve 'qbittorrent' ([Errno -2] Name or service not known) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/usr/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 874, in urlopen return self.urlopen( File "/usr/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 844, in urlopen retries = retries.increment( File "/usr/lib64/python3.9/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='qbittorrent', port=8080): Max retries exceeded with url: /api/v2/torrents/info (Caused by NameResolutionError(": Failed to resolve 'qbittorrent' ([Errno -2] Name or service not known)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/qbittorrentapi/request.py", line 466, in _request_manager return self._request( File "/usr/lib64/python3.9/site-packages/qbittorrentapi/request.py", line 532, in _request response = self._session.request( File "/usr/lib64/python3.9/site-packages/qbittorrentapi/request.py", line 680, in request return super(QbittorrentSession, self).request(method, url, **kwargs) File "/usr/lib64/python3.9/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/lib64/python3.9/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/lib64/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='qbittorrent', port=8080): Max retries exceeded with url: /api/v2/torrents/info (Caused by NameResolutionError(": Failed to resolve 'qbittorrent' ([Errno -2] Name or service not known)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mnt/user/appdata/qbittorrent/scripts/mover.py", line 60, in torrent_list = client.torrents.info(sort="added_on", reverse=True) File "/usr/lib64/python3.9/site-packages/qbittorrentapi/torrents.py", line 678, in __call__ return self._client.torrents_info( File "/usr/lib64/python3.9/site-packages/qbittorrentapi/decorators.py", line 119, in wrapper return func(client, *args, **kwargs) File "/usr/lib64/python3.9/site-packages/qbittorrentapi/decorators.py", line 92, in wrapper return func(client, *args, **kwargs) File "/usr/lib64/python3.9/site-packages/qbittorrentapi/torrents.py", line 1812, in torrents_info return self._post( File "/usr/lib64/python3.9/site-packages/qbittorrentapi/request.py", line 390, in _post return self._request_manager( File "/usr/lib64/python3.9/site-packages/qbittorrentapi/request.py", line 490, in _request_manager raise APIConnectionError(error_message, response=response) qbittorrentapi.exceptions.APIConnectionError: Failed to connect to qBittorrent. Connection Error: ConnectionError(MaxRetryError('HTTPConnectionPool(host=\'qbittorrent\', port=8080): Max retries exceeded with url: /api/v2/torrents/info (Caused by NameResolutionError(": Failed to resolve \'qbittorrent\' ([Errno -2] Name or service not known)"))')) qbittorrent-mover completed and resumed all paused torrents.