-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hello,
I keep getting this error, it seems like the script is failing to connect to radarr for some reason. radarr is wokring fine from the local host. Here is the full log:
Attempt 2 encountered an error: HTTPConnectionPool(host='127.0.0.1', port=7878): Max retries exceeded with url: /api/v3/history?pageSize=500&includeMovie=true&apiKey=REDACTED (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffff80725a00>: Failed to establish a new connection: [Errno 111] Connection refused')) [2025-03-19 01:30:48.652326] [Hitlers Hollywood 2017 1080p BluRay REMUX AVC LPCM 2 0 FGT ORARBG] Error processing Hitlers Hollywood 2017 1080p BluRay REMUX AVC LPCM 2 0 FGT ORARBG [2025-03-19 01:30:48.652354] [Hitlers Hollywood 2017 1080p BluRay REMUX AVC LPCM 2 0 FGT ORARBG] Traceback (most recent call last): File "/app/blackhole.py", line 328, in processFile await fail(torrent, arr, isRadarr) File "/app/blackhole.py", line 348, in fail history = await asyncio.to_thread(arr.getHistory, blackhole['historyPageSize'], includeGrandchildDetails=True) File "/usr/local/lib/python3.9/asyncio/threads.py", line 25, in to_thread return await loop.run_in_executor(None, func_call) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/app/shared/arr.py", line 314, in getHistory history = response.json() AttributeError: 'NoneType' object has no attribute 'json' [2025-03-19 01:30:49.653394] Exit 'on_created'
Any ideas?
Radarr is running on the host while the script is on docker with 7878:7878
Thanks!