Advertisement
Guest User

Untitled

a guest
Aug 14th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 809, in connect
  3. negotiate(self, dest_addr, dest_port)
  4. File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 443, in _negotiate_SOCKS5
  5. self.proxy_peername, self.proxy_sockname = self._SOCKS5_request(
  6. File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 533, in _SOCKS5_request
  7. raise SOCKS5Error("{:#04x}: {}".format(status, error))
  8. socks.SOCKS5Error: 0x05: Connection refused
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13. File "main.py", line 15, in <module>
  14. client = TelegramClient(session, api_id, api_hash)
  15. File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\telethon\client\telegrambaseclient.py", line 230, in __init__
  16. self._loop = loop or asyncio.get_event_loop()
  17. File "C:\Program Files\Python38\lib\asyncio\events.py", line 636, in get_event_loop
  18. self.set_event_loop(self.new_event_loop())
  19. File "C:\Program Files\Python38\lib\asyncio\events.py", line 656, in new_event_loop
  20. return self._loop_factory()
  21. File "C:\Program Files\Python38\lib\asyncio\windows_events.py", line 310, in __init__
  22. super().__init__(proactor)
  23. File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 629, in __init__
  24. self._make_self_pipe()
  25. File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 760, in _make_self_pipe
  26. self._ssock, self._csock = socket.socketpair()
  27. File "C:\Program Files\Python38\lib\socket.py", line 604, in socketpair
  28. csock.connect((addr, port))
  29. File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 47, in wrapper
  30. return function(*args, **kwargs)
  31. File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 814, in connect
  32. raise GeneralProxyError("Socket error", error)
  33. socks.GeneralProxyError: Socket error: 0x05: Connection refused
  34. Exception ignored in: <function BaseEventLoop.__del__ at 0x000001801FF67EE0>
  35. Traceback (most recent call last):
  36. File "C:\Program Files\Python38\lib\asyncio\base_events.py", line 656, in __del__
  37. File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 684, in close
  38. File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 752, in _close_self_pipe
  39. AttributeError: 'ProactorEventLoop' object has no attribute '_ssock'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement