Traceback (most recent call last):
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 200, in _new_conn
sock = connection.create_connection(
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 496, in _make_request
conn.request(
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 388, in request
self.endheaders()
File "/root/anaconda3/envs/NONE/lib/python3.10/http/client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/anaconda3/envs/NONE/lib/python3.10/http/client.py", line 1038, in _send_output
self.send(msg)
File "/root/anaconda3/envs/NONE/lib/python3.10/http/client.py", line 976, in send
self.connect()
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 236, in connect
self.sock = self._new_conn()
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 215, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f826dea44f0>: Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 21, in
File "/home/none/.venv/lib/python3.10/site-packages/nonebot/init.py", line 309, in run
get_driver().run(*args, **kwargs)
File "/home/none/.venv/lib/python3.10/site-packages/nonebot/drivers/fastapi.py", line 198, in run
uvicorn.run(
File "/home/none/.venv/lib/python3.10/site-packages/uvicorn/main.py", line 578, in run
server.run()
File "/home/none/.venv/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "/root/anaconda3/envs/NONE/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/none/.venv/lib/python3.10/site-packages/apscheduler/executors/base_py3.py", line 30, in run_coroutine_job
retval = await job.func(*job.args, *job.kwargs)
File "/home/none/.venv/lib/python3.10/site-packages/asyncer/_main.py", line 358, in wrapper
return await anyio.to_thread.run_sync(
File "/home/none/.venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/none/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/none/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, args)
File "/home/none/.venv/lib/python3.10/site-packages/nonebot_plugin_colab_novelai/_main.py", line 39, in handle_recaptcha
driver.switch_to.frame(driver.find_element(By.XPATH, '/html/body/colab-recaptcha-dialog/div/div/iframe'))
File "/home/none/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 740, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
File "/home/none/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 344, in execute
response = self.command_executor.execute(driver_command, params)
File "/home/none/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute
return self._request(command_info[0], url, body=data)
File "/home/none/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request
response = self._conn.request(method, url, body=body, headers=headers)
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/_request_methods.py", line 118, in request
return self.request_encode_body(
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/_request_methods.py", line 217, in request_encode_body
return self.urlopen(method, url, extra_kw)
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 443, in urlopen
response = conn.urlopen(method, u.request_uri, kw)
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 874, in urlopen
return self.urlopen(
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 874, in urlopen
return self.urlopen(
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 874, in urlopen
return self.urlopen(
File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/home/none/.venv/lib/python3.10/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='localhost', port=39151): Max retries exceeded with url: /session/73ccf75809a77d2cec58e90ebcd9f7ff/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f826dea44f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
然后不断重复........,也不知道哪里出问题了,看了看似乎有人也有这个问题但是好像最后是不了了之了...........
Traceback (most recent call last): File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 200, in _new_conn sock = connection.create_connection( File "/home/none/.venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection raise err File "/home/none/.venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen response = self._make_request( File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 496, in _make_request conn.request( File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 388, in request self.endheaders() File "/root/anaconda3/envs/NONE/lib/python3.10/http/client.py", line 1278, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/root/anaconda3/envs/NONE/lib/python3.10/http/client.py", line 1038, in _send_output self.send(msg) File "/root/anaconda3/envs/NONE/lib/python3.10/http/client.py", line 976, in send self.connect() File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 236, in connect self.sock = self._new_conn() File "/home/none/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 215, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f826dea44f0>: Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "", line 21, in
File "/home/none/.venv/lib/python3.10/site-packages/nonebot/init.py", line 309, in run
get_driver().run(*args, **kwargs)
File "/home/none/.venv/lib/python3.10/site-packages/nonebot/drivers/fastapi.py", line 198, in run
uvicorn.run(
File "/home/none/.venv/lib/python3.10/site-packages/uvicorn/main.py", line 578, in run
server.run()
File "/home/none/.venv/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "/root/anaconda3/envs/NONE/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)