Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 809, in connect
- negotiate(self, dest_addr, dest_port)
- File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 443, in _negotiate_SOCKS5
- self.proxy_peername, self.proxy_sockname = self._SOCKS5_request(
- File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 533, in _SOCKS5_request
- raise SOCKS5Error("{:#04x}: {}".format(status, error))
- socks.SOCKS5Error: 0x05: Connection refused
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "main.py", line 15, in <module>
- client = TelegramClient(session, api_id, api_hash)
- File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\telethon\client\telegrambaseclient.py", line 230, in __init__
- self._loop = loop or asyncio.get_event_loop()
- File "C:\Program Files\Python38\lib\asyncio\events.py", line 636, in get_event_loop
- self.set_event_loop(self.new_event_loop())
- File "C:\Program Files\Python38\lib\asyncio\events.py", line 656, in new_event_loop
- return self._loop_factory()
- File "C:\Program Files\Python38\lib\asyncio\windows_events.py", line 310, in __init__
- super().__init__(proactor)
- File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 629, in __init__
- self._make_self_pipe()
- File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 760, in _make_self_pipe
- self._ssock, self._csock = socket.socketpair()
- File "C:\Program Files\Python38\lib\socket.py", line 604, in socketpair
- csock.connect((addr, port))
- File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 47, in wrapper
- return function(*args, **kwargs)
- File "C:\Users\ilkho\Documents\projects\cli\venv\lib\site-packages\socks.py", line 814, in connect
- raise GeneralProxyError("Socket error", error)
- socks.GeneralProxyError: Socket error: 0x05: Connection refused
- Exception ignored in: <function BaseEventLoop.__del__ at 0x000001801FF67EE0>
- Traceback (most recent call last):
- File "C:\Program Files\Python38\lib\asyncio\base_events.py", line 656, in __del__
- File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 684, in close
- File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 752, in _close_self_pipe
- AttributeError: 'ProactorEventLoop' object has no attribute '_ssock'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement