• 1402/06/08

سوال درباره ران کردن سلف و دریافت خطا :

سلام خسته نباشید ببخشید این کد رو ران که میکنم

from pyrogram import Client


 

api_id = 

api_hash = ""


 

app = Client("my_account", api_id=api_id, api_hash=api_hash)


 

app.run()

همچین اروری میگیرم در صورتی که فیلترشکن خوبی هم وصل هستم

PS C:\Users\computer\Desktop\New folder> & "C:/Program Files/Python311/python.exe" "c:/Users/computer/Desktop/New folder/uh.py"

TgCrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs.pyrogram.org/topics/speedups

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Traceback (most recent call last):

 File "c:\Users\computer\Desktop\New folder\uh.py", line 8, in <module>

   app.run()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\utilities\run.py", line 84, in run

   self.start()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap

   return loop.run_until_complete(coroutine)

          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete

   return future.result()

          ^^^^^^^^^^^^^^^

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\utilities\start.py", line 58, in start

 

   is_authorized = await self.connect()

                   ^^^^^^^^^^^^^^^^^^^^

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\auth\connect.py", line 40, in connect

   await self.load_session()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\client.py", line 637, in load_session

   await Auth(

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\session\auth.py", line 274, in create

   raise e

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\session\auth.py", line 84, in create

   await self.connection.connect()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\connection\connection.py", line 62, in connect

 

   raise ConnectionError

ConnectionError

PS C:\Users\computer\Desktop\New folder> & "C:/Program Files/Python311/python.exe" "c:/Users/computer/Desktop/New folder/uh.py"

TgCrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs.pyrogram.org/topics/speedups

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Traceback (most recent call last):

 File "c:\Users\computer\Desktop\New folder\uh.py", line 8, in <module>

   app.run()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\utilities\run.py", line 84, in run

   self.start()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap

   return loop.run_until_complete(coroutine)

          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete

   return future.result()

          ^^^^^^^^^^^^^^^

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\utilities\start.py", line 58, in start

 

   is_authorized = await self.connect()

                   ^^^^^^^^^^^^^^^^^^^^

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\auth\connect.py", line 40, in connect

   await self.load_session()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\client.py", line 637, in load_session

   await Auth(

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\session\auth.py", line 274, in create

   raise e

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\session\auth.py", line 84, in create

   await self.connection.connect()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\connection\connection.py", line 62, in connect

 

   raise ConnectionError

ConnectionError

PS C:\Users\computer\Desktop\New folder> & "C:/Program Files/Python311/python.exe" "c:/Users/computer/Desktop/New folder/uh.py"

TgCrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs.pyrogram.org/topics/speedups

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Unable to connect due to network issues: [WinError 5] Access is denied

Connection failed! Trying again...

Traceback (most recent call last):

 File "c:\Users\computer\Desktop\New folder\uh.py", line 8, in <module>

   app.run()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\utilities\run.py", line 84, in run

   self.start()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap

   return loop.run_until_complete(coroutine)

          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete

   return future.result()

          ^^^^^^^^^^^^^^^

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\utilities\start.py", line 58, in start

 

   is_authorized = await self.connect()

                   ^^^^^^^^^^^^^^^^^^^^

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\methods\auth\connect.py", line 40, in connect

   await self.load_session()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\client.py", line 637, in load_session

   await Auth(

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\session\auth.py", line 274, in create

   raise e

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\session\auth.py", line 84, in create

   await self.connection.connect()

 File "C:\Users\computer\AppData\Roaming\Python\Python311\site-packages\pyrogram\connection\connection.py", line 62, in connect

 

   raise ConnectionError

ConnectionError

PS C:\Users\computer\Desktop\New folder> ^V

 

  • 1402/06/15
  • ساعت 13:14

کاربرگرامی ! لطفا به پیام صوتی زیر گوش دهید.


logo-enamadlogo-samandehi