Traceback (most recent call last):
File "/app/telegram_upload/management.py", line 151, in
sys.exit(fn())
File "/app/telegram_upload/exceptions.py", line 64, in wrap
return fn(*args, kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1137, in call
return self.main(args, kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1062, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 763, in invoke
return __callback(args, kwargs)
File "/app/telegram_upload/management.py", line 91, in upload
client.start()
File "/app/telegram_upload/client.py", line 105, in start
return super().start(phone=phone, password=password, bot_token=bot_token, force_sms=force_sms,
File "/usr/local/lib/python3.9/site-packages/telethon/client/auth.py", line 133, in start
else self.loop.run_until_complete(coro)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/site-packages/telethon/client/auth.py", line 207, in _start
me = await self.sign_in(phone, code=value)
File "/usr/local/lib/python3.9/site-packages/telethon/client/auth.py", line 368, in sign_in
result = await self(request)
File "/usr/local/lib/python3.9/site-packages/telethon/client/users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "/usr/local/lib/python3.9/site-packages/telethon/client/users.py", line 79, in _call
result = await future
telethon.errors.rpcbaseerrors.AuthKeyError: RPCError 406: UPDATE_APP_TO_LOGIN (caused by SignInRequest)
pip freeze
): latestDescription
What I Did
Telethon needs to be updated on the docker image