سلام من چندین روزه بخاطر مشکل شبکه با پایتون به ربات اینستاگرام وصل شم.
وقتی ربات رو در cmd و حتی ترمینال VScode اجرا میکنم اول این پیغام رو میده:
Unable to connect due to network issues: timed out
بعد 3 بار پیغام بالا، این پیغام رو میده:
Connection failed! Trying again...
آخرشم این پیغامو میده:
Traceback (most recent call last):
File "c:\Users\raza hasanvand\Desktop\ffi\main.py", line 11, in <module>
bot.start()
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\methods\utilities\start.py", line 52, in start
is_authorized = await self.connect()
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\methods\auth\connect.py", line 39, in connect
await self.load_session()
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\client.py", line 689, in load_session
await Auth(
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\session\auth.py", line 254, in create
raise e
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\session\auth.py", line 84, in create
await self.connection.connect()
File "C:\Users\raza hasanvand\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\connection\connection.py", line 73, in connect
raise TimeoutError
TimeoutError
مشکل چیه؟ خیلی ممنون میشم کمکم کنید
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟