Traceback (most recent call last):
File "/home/danzmur97/Telegram.py", line 103, in <module> executor.start_polling(dp2)
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/utils/executor.py", line 45, in start_polling executor.start_polling(
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/utils/executor.py", line 320, in start_polling loop.run_until_complete(self._startup_polling()) transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result()
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/utils/executor.py", line 372, in _startup_polling await self._welcome()
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/utils/executor.py", line 361, in _welcome user = await self.dispatcher.bot.me
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/bot/bot.py", line 30, in me setattr(self, '_me', await self.get_me())
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/bot/bot.py", line 233, in get_me result = await self.request(api.Methods.GET_ME, payload)
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/bot/base.py", line 236, in request return await api.make_request(await self.get_session(), self.server, self.__token, method, data, files,
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiogram/bot/api.py", line 139, in make_request async with session.post(url, data=req, **kwargs) as response:
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiohttp/client.py", line 1141, in aenter self._resp = await self._coro
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiohttp/client.py", line 536, in _request conn = await self._connector.connect(
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 540, in connect proto = await self._create_connection(req, traces, timeout)
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 901, in create_connection , proto = await self._create_direct_connection(req, traces, timeout)
File "/home/danzmur97/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection transp, proto = await self._wrap_create_connection(
File "/home/danzmur97/.local/lib/python3.10/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 "/usr/local/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1119, in _create_connection_transport await waiter
File "/usr/local/lib/python3.10/asyncio/sslproto.py", line 637, in _on_handshake_complete raise handshake_exc
File "/usr/local/lib/python3.10/asyncio/sslproto.py", line 682, in _process_write_backlog ssldata = self._sslpipe.do_handshake(
File "/usr/local/lib/python3.10/asyncio/sslproto.py", line 116, in do_handshake self._sslobj = self._context.wrap_bio(
File "/usr/local/lib/python3.10/ssl.py", line 527, in wrap_bio return self.sslobject_class._create(
File "/usr/local/lib/python3.10/ssl.py", line 866, in _create sslobj = context._wrap_bio(
TypeError: _wrap_bio() argument 'incoming' must be _ssl.MemoryBIO, not _ssl.MemoryBIO
Barely understand what i need to do to solve the issue.