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_DUPLICATED错误 #79

Open
ad2248 opened this issue Jan 2, 2023 · 2 comments
Open

AUTH_KEY_DUPLICATED错误 #79

ad2248 opened this issue Jan 2, 2023 · 2 comments

Comments

@ad2248
Copy link

ad2248 commented Jan 2, 2023

我今早突然发现Q2TG无法工作了,我看到日志在说AUTH_KEY_DUPLICATED,我就重启了docker-compose,但是还是报同样的错误。请问怎么解决呢?

附:重启后的日志
root@vanilla:~# docker logs main_q2tg
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "q2tg", schema "public" at "postgres:5432"

The database is already in sync with the Prisma schema.

✔ Generated Prisma Client (4.2.1 | library) to ./node_modules/@prisma/client in
279ms

[2023-01-02T04:09:48.377] [DEBUG] Instance - 0 - 正在登录 TG Bot
[2023-01-02T04:09:48.384] [INFO] - [Running gramJS version 2.9.4]
[2023-01-02T04:09:48.991] [ERROR] Main - UnhandledException: RPCError: 406: AUTH_KEY_DUPLICATED (caused by InvokeWithLayer)
at RPCMessageToError (/app/node_modules/telegram/errors/index.js:28:12)
at MTProtoSender._handleRPCResult (/app/node_modules/telegram/network/MTProtoSender.js:485:58)
at MTProtoSender._processMessage (/app/node_modules/telegram/network/MTProtoSender.js:410:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async MTProtoSender._recvLoop (/app/node_modules/telegram/network/MTProtoSender.js:386:17) {
code: 406,
errorMessage: 'AUTH_KEY_DUPLICATED'
}

@Soarfree
Copy link

Soarfree commented Apr 7, 2023

一样的报错

@xingyu42
Copy link

xingyu42 commented Aug 9, 2024

清空postgre数据库文件重新登陆试试看,我这样就可以重新登陆了

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

3 participants