Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUTH_KEY_UNREGISTERED issue #37

Open
ali-ghamdan opened this issue Feb 13, 2025 · 0 comments
Open

AUTH_KEY_UNREGISTERED issue #37

ali-ghamdan opened this issue Feb 13, 2025 · 0 comments

Comments

@ali-ghamdan
Copy link

Everything is correct, and the server was working, and suddenly this issue appears, I restarted the server, and no hope.
I found this, it might be good: https://stackoverflow.com/questions/68410128/telegram-getting-auth-key-unregistered-and-api-id-invalid-errors

the detailed error:

RPCError: 401: AUTH_KEY_UNREGISTERED (caused by channels.GetChannels)
    at RPCMessageToError (/home/ali-ghamdan/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/tgfs/node_modules/telegram/errors/index.js:28:12)
    at MTProtoSender._handleRPCResult (/home/ali-ghamdan/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/tgfs/node_modules/telegram/network/MTProtoSender.js:561:58)
    at MTProtoSender._processMessage (/home/ali-ghamdan/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/tgfs/node_modules/telegram/network/MTProtoSender.js:492:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async MTProtoSender._recvLoop (/home/ali-ghamdan/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/tgfs/node_modules/telegram/network/MTProtoSender.js:439:17) {
  code: 401,
  errorMessage: 'AUTH_KEY_UNREGISTERED'
}

Note that I'm in Xubuntu 24.04 LTS
I didn't change anything after it runs correctly, then this appears after one day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant