I
I
idin2018-05-18 12:50:16
Python
idin, 2018-05-18 12:50:16

The server written in telethon stopped working (error The key is not registered in the system) What could be the problem?

There is a server with telethon and in short everything worked, and then suddenly collapsed:

Traceback (most recent call last):
  File "/root/serv/protocol_telegram.py", line 205, in __sendContactListSock
    data['data'] = self.__getContacts()
  File "/root/serv/protocol_telegram.py", line 292, in __getContacts
    contacts = self.invoke(GetContactsRequest(0))
  File "/root/serv/venv-python3/lib/python3.4/site-packages/telethon/telegram_bare_client.py", line 461, in __call__
    sender, call_receive, update_state, *requests
  File "/root/serv/venv-python3/lib/python3.4/site-packages/telethon/telegram_bare_client.py", line 517, in _invoke
    raise next(x.rpc_error for x in requests if x.rpc_error)
telethon.errors.rpc_error_list.AuthKeyUnregisteredError: (AuthKeyUnregisteredError(...), 'The key is not registered in the system')

What could be the problem?
Is it something I've lost or not?
I connect through a proxy, if that

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-05-18
@Izy

Your key is out of date. Get a new key.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question