recent call last):
File "/usr/local/lib/python3.4/dist-packages/telethon/telegram_bare_client.py", line 488, in _invoke
self._sender.send(*requests)
File "/usr/local/lib/python3.4/dist-packages/telethon/network/mtproto_sender.py", line 111, in send
self._send_message(message)
File "/usr/local/lib/python3.4/dist-packages/telethon/network/mtproto_sender.py", line 163, in _send_message
self.connection.send(utils.pack_message(self.session, message))
File "/usr/local/lib/python3.4/dist-packages/telethon/network/connection.py", line 255, in _send_tcp_full
self.write(data + crc)
File "/usr/local/lib/python3.4/dist-packages/telethon/network/connection.py", line 321, in _write_plain
self.conn.write(data)
File "/usr/local/lib/python3.4/dist-packages/telethon/extensions/tcp_client.py", line 115, in write
self._raise_connection_reset()
File "/usr/local/lib/python3.4/dist-packages/telethon/extensions/tcp_client.py", line 170, in _raise_connection_reset
raise ConnectionResetError('The server has closed the connection.')
ConnectionResetError: The server has closed the connection.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "proto.py", line 10, in <module>
client.start();
File "/usr/local/lib/python3.4/dist-packages/telethon/telegram_client.py", line 302, in start
sent_code = self.send_code_request(phone, force_sms=force_sms)
File "/usr/local/lib/python3.4/dist-packages/telethon/telegram_client.py", line 206, in send_code_request
result = self(SendCodeRequest(phone, self.api_id, self.api_hash))
File "/usr/local/lib/python3.4/dist-packages/telethon/telegram_bare_client.py", line 443, in __call__
result = self._invoke(call_receive, *requests)
File "/usr/local/lib/python3.4/dist-packages/telethon/telegram_bare_client.py", line 526, in _invoke
raise RuntimeError('Tried to invoke without .connect()') from e
RuntimeError: Tried to invoke without .connect()
?
!rеport
Бля рили.
ConnectionResetError: The server has closed the connection.
У тебя сервак сначала закрыл коннект, а потом RuntimeError: Tried to invoke without .connect() пытаешься без подключения ебошить крч
Обсуждают сегодня