I get the below output. I ran the first time. copied to new config file and just changed the ip to my ip and the api key to my sonarr api key and get this when running again. I have tried running the docker container with a port mapped so it can reach out of the container, same details. Please help.
2025-09-01 10:58:13 2025-09-01 14:58:13,165 - sonarr_youtubedl - INFO - Initial run
2025-09-01 10:58:13 2025-09-01 14:58:13,171 - sonarr_youtubedl - INFO - Configuration Found. Loading file.
2025-09-01 10:58:13 2025-09-01 14:58:13,184 - sonarr_youtubedl - INFO - Scan interval set to every 1 minutes by config.yml
2025-09-01 10:58:13 Traceback (most recent call last):
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 971, in json
2025-09-01 10:58:13 return complexjson.loads(self.text, **kwargs)
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
2025-09-01 10:58:13 return _default_decoder.decode(s)
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
2025-09-01 10:58:13 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
2025-09-01 10:58:13 raise JSONDecodeError("Expecting value", s, err.value) from None
2025-09-01 10:58:13 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-01 10:58:13
2025-09-01 10:58:13 During handling of the above exception, another exception occurred:
2025-09-01 10:58:13
2025-09-01 10:58:13 Traceback (most recent call last):
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 441, in
2025-09-01 10:58:13 main()
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 433, in main
2025-09-01 10:58:13 series = client.filterseries()
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 183, in filterseries
2025-09-01 10:58:13 series = self.get_series()
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 118, in get_series
2025-09-01 10:58:13 return res.json()
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 975, in json
2025-09-01 10:58:13 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
2025-09-01 10:58:13 requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-01 10:58:14 2025-09-01 14:58:14,549 - sonarr_youtubedl - INFO - Initial run
2025-09-01 10:58:14 2025-09-01 14:58:14,553 - sonarr_youtubedl - INFO - Configuration Found. Loading file.
2025-09-01 10:58:14 2025-09-01 14:58:14,572 - sonarr_youtubedl - INFO - Scan interval set to every 1 minutes by config.yml
2025-09-01 10:58:14 Traceback (most recent call last):
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 971, in json
2025-09-01 10:58:14 return complexjson.loads(self.text, **kwargs)
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
2025-09-01 10:58:14 return _default_decoder.decode(s)
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
2025-09-01 10:58:14 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
2025-09-01 10:58:14 raise JSONDecodeError("Expecting value", s, err.value) from None
2025-09-01 10:58:14 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-01 10:58:14
2025-09-01 10:58:14 During handling of the above exception, another exception occurred:
2025-09-01 10:58:14
2025-09-01 10:58:14 Traceback (most recent call last):
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 441, in
2025-09-01 10:58:14 main()
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 433, in main
2025-09-01 10:58:14 series = client.filterseries()
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 183, in filterseries
2025-09-01 10:58:14 series = self.get_series()
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 118, in get_series
2025-09-01 10:58:14 return res.json()
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 975, in json
2025-09-01 10:58:14 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
2025-09-01 10:58:14 requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I was also getting this sometimes when running.
2025-09-01 10:56:18 requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.123', port=8989): Max retries exceeded with url: /api/series?apikey=12341234 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe0034c6640>: Failed to establish a new connection: [Errno 111] Connection refused'))
But i believe I stopped getting that when I changed my ip, api key, and mapped a port for it to see out of the container.
I get the below output. I ran the first time. copied to new config file and just changed the ip to my ip and the api key to my sonarr api key and get this when running again. I have tried running the docker container with a port mapped so it can reach out of the container, same details. Please help.
2025-09-01 10:58:13 2025-09-01 14:58:13,165 - sonarr_youtubedl - INFO - Initial run
2025-09-01 10:58:13 2025-09-01 14:58:13,171 - sonarr_youtubedl - INFO - Configuration Found. Loading file.
2025-09-01 10:58:13 2025-09-01 14:58:13,184 - sonarr_youtubedl - INFO - Scan interval set to every 1 minutes by config.yml
2025-09-01 10:58:13 Traceback (most recent call last):
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 971, in json
2025-09-01 10:58:13 return complexjson.loads(self.text, **kwargs)
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
2025-09-01 10:58:13 return _default_decoder.decode(s)
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
2025-09-01 10:58:13 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
2025-09-01 10:58:13 raise JSONDecodeError("Expecting value", s, err.value) from None
2025-09-01 10:58:13 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-01 10:58:13
2025-09-01 10:58:13 During handling of the above exception, another exception occurred:
2025-09-01 10:58:13
2025-09-01 10:58:13 Traceback (most recent call last):
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 441, in
2025-09-01 10:58:13 main()
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 433, in main
2025-09-01 10:58:13 series = client.filterseries()
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 183, in filterseries
2025-09-01 10:58:13 series = self.get_series()
2025-09-01 10:58:13 File "/app/sonarr_youtubedl.py", line 118, in get_series
2025-09-01 10:58:13 return res.json()
2025-09-01 10:58:13 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 975, in json
2025-09-01 10:58:13 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
2025-09-01 10:58:13 requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-01 10:58:14 2025-09-01 14:58:14,549 - sonarr_youtubedl - INFO - Initial run
2025-09-01 10:58:14 2025-09-01 14:58:14,553 - sonarr_youtubedl - INFO - Configuration Found. Loading file.
2025-09-01 10:58:14 2025-09-01 14:58:14,572 - sonarr_youtubedl - INFO - Scan interval set to every 1 minutes by config.yml
2025-09-01 10:58:14 Traceback (most recent call last):
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 971, in json
2025-09-01 10:58:14 return complexjson.loads(self.text, **kwargs)
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
2025-09-01 10:58:14 return _default_decoder.decode(s)
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
2025-09-01 10:58:14 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
2025-09-01 10:58:14 raise JSONDecodeError("Expecting value", s, err.value) from None
2025-09-01 10:58:14 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-01 10:58:14
2025-09-01 10:58:14 During handling of the above exception, another exception occurred:
2025-09-01 10:58:14
2025-09-01 10:58:14 Traceback (most recent call last):
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 441, in
2025-09-01 10:58:14 main()
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 433, in main
2025-09-01 10:58:14 series = client.filterseries()
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 183, in filterseries
2025-09-01 10:58:14 series = self.get_series()
2025-09-01 10:58:14 File "/app/sonarr_youtubedl.py", line 118, in get_series
2025-09-01 10:58:14 return res.json()
2025-09-01 10:58:14 File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 975, in json
2025-09-01 10:58:14 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
2025-09-01 10:58:14 requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I was also getting this sometimes when running.
2025-09-01 10:56:18 requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.123', port=8989): Max retries exceeded with url: /api/series?apikey=12341234 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe0034c6640>: Failed to establish a new connection: [Errno 111] Connection refused'))
But i believe I stopped getting that when I changed my ip, api key, and mapped a port for it to see out of the container.