File "/usr/local/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.10/http/client.py", line 1037, in _send_output
self.send(msg)
File "/usr/local/lib/python3.10/http/client.py", line 975, in send
self.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x14b85e1b6830>: Failed to establish a new connection: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.50.105', port=9091): Max retries exceeded with url: /transmission/rpc (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14b85e1b6830>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/transmission_rpc/client.py", line 166, in _http_query
r = self._http_session.post(
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 590, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.50.105', port=9091): Max retries exceeded with url: /transmission/rpc (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14b85e1b6830>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/hypercorn", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/hypercorn/__main__.py", line 287, in main
run(config)
File "/usr/local/lib/python3.10/site-packages/hypercorn/run.py", line 41, in run
load_application(config.application_path, config.wsgi_max_body_size)
File "/usr/local/lib/python3.10/site-packages/hypercorn/utils.py", line 115, in load_application
module = import_module(import_name)
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/app/main.py", line 2, in <module>
from routes import bp_player
File "/app/routes/__init__.py", line 2, in <module>
from routes.emby import bp_emby
File "/app/routes/emby.py", line 3, in <module>
from utils.limiter import emby_apply_limit
File "/app/utils/limiter.py", line 5, in <module>
from utils.player.plex import parse_plex_webhooks, get_plex_playing_session_count
File "/app/utils/player/plex.py", line 5, in <module>
from client.player.plex import plex_client
File "/app/client/player/plex/__init__.py", line 5, in <module>
config = Config()
File "/app/conf/__init__.py", line 20, in _singleconfig
config = cls(*args, **kwargs)
File "/app/conf/__init__.py", line 31, in __init__
self.parse_downloaders()
File "/app/conf/__init__.py", line 52, in parse_downloaders
downloader = Transmission(name=dl_name,
File "/app/client/downloader/transmission.py", line 24, in __init__
self.client = transmission_rpc.Client(host=host,
File "/usr/local/lib/python3.10/site-packages/transmission_rpc/client.py", line 108, in __init__
self.get_session()
File "/usr/local/lib/python3.10/site-packages/transmission_rpc/client.py", line 778, in get_session
self._request(RpcMethod.SessionGet, timeout=timeout)
File "/usr/local/lib/python3.10/site-packages/transmission_rpc/client.py", line 213, in _request
http_data = self._http_query(query, timeout)
File "/usr/local/lib/python3.10/site-packages/transmission_rpc/client.py", line 175, in _http_query
raise TransmissionConnectError(f"can't connect to transmission daemon: {str(e)}") from e
transmission_rpc.error.TransmissionConnectError: can't connect to transmission daemon: HTTPConnectionPool(host='192.168.50.105', port=9091): Max retries exceeded with url: /transmission/rpc (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14b85e1b6830>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
上面是程序日志里面的报错