I've looked up a lot of arguments on the internet, and none of them seem to be suitable for dealing with my problem, is there anyone who can help. #34
kingsmile07
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`Traceback (most recent call last):
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Python311\Lib\asyncio\base_events.py", line 1112, in create_connection
transport, protocol = await self._create_connection_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Python311\Lib\asyncio\base_events.py", line 1145, in _create_connection_transport
await waiter
File "D:\Program Files\Python311\Lib\asyncio\sslproto.py", line 575, in _on_handshake_complete
raise handshake_exc
ConnectionResetError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Discord-AI-Selfbot\main.py", line 516, in
bot.run(TOKEN)
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\discord\client.py", line 938, in run
asyncio.run(runner())
File "D:\Program Files\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "D:\Program Files\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\discord\client.py", line 927, in runner
await self.start(token, reconnect=reconnect)
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\discord\client.py", line 857, in start
await self.login(token)
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\discord\client.py", line 698, in login
data = await state.http.static_login(token.strip())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\discord\http.py", line 994, in static_login
data = await self.get_me()
^^^^^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\discord\http.py", line 718, in request
async with self.__session.request(method, url, **kwargs) as response:
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\client.py", line 1167, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\client.py", line 562, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\connector.py", line 1209, in _create_direct_connection
raise last_exc
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\connector.py", line 1178, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Discord-AI-Selfbot\bot-env\Lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host discord.com:443 ssl:default [None]
`
Because I am in China, I need to use the vpn environment. I configured the proxy of clash and turned on the enhanced function of TUN, but the problem is still the same. I also turned off ssl authentication, and the problem is as usual.
Beta Was this translation helpful? Give feedback.
All reactions