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

[Bug?]: 您的账号已在另一台终端登录 #746

Open
4 tasks done
H-Elden opened this issue Jan 23, 2025 · 2 comments
Open
4 tasks done

[Bug?]: 您的账号已在另一台终端登录 #746

H-Elden opened this issue Jan 23, 2025 · 2 comments
Labels
bug? Maybe it's a bug

Comments

@H-Elden
Copy link

H-Elden commented Jan 23, 2025

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已经仔细阅读上述内容
  • 我已经使用 最新构建 测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(其它疑问请考虑加入TG群询问或在discussions中提问)

Lagrange项目

OneBot

所使用/依赖的Lagrange项目对应的commit

nightly latest (50919fd)

运行环境

Linux

运行架构

x64

连接方式

反向 WebSocket

重现步骤

之前正常Linux端登录。
今天我

  1. 通过kill -2 退出了Linux端的程序(退出登录)。
  2. 在本地windows11电脑上运行了NTQQ并登录(为了调试代码)。
  3. 退出windows电脑上的登录。
  4. 远程连接Linux服务器运行程序,出现无法登录的情况。

期望的结果是什么?

在Linux端使用Lagrange-OneBot正常登录.

实际的结果是什么?

[WtExchangeLogic] [FATAL]: KickNTEvent: 您的账号已在另一台终端登录。如非本人操作,则密码可能已泄露,建议前往https://accounts.qq.com/find/password 修改密码或紧急冻结账号: 下线通知

简单的复现代码/链接(可选)

Trace 级别日志记录(可选)

nohup: ignoring input
Lagrange.OneBot Version: 0.0.3+50919fd549a3823f0b6a515af54eeed144e37cdb

warn: Lagrange.OneBot.Utility.MusicSigner[0]
      MusicSignServer is not available, sign may be failed
info: Lagrange.OneBot.Core.Login.LoginService[0]
      Protocol Version: 3.2.15-30366
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [WtExchangeLogic] [INFORMATION]: Connecting Servers...
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [SocketContext] [VERBOSE]: Server: http://120.232.130.13:8080/ Latency: 30
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [SocketContext] [VERBOSE]: Server: http://120.233.17.147:8080/ Latency: 30
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [SocketContext] [VERBOSE]: Server: http://120.241.130.195:8080/ Latency: 31
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [SocketContext] [VERBOSE]: Server: http://120.241.130.216:8080/ Latency: 31
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [SocketContext] [VERBOSE]: Server: http://120.233.18.186:8080/ Latency: 31
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:46] [WtExchangeLogic] [INFORMATION]: QrCode Fetched, Expiration: 120 seconds
█▀▀▀▀▀▀▀██▀████▀████▀▀▀▀▀▀█▀▀▀▀▀▀▀█
█ █▀▀▀█ █▄ ▀ ▄▄▄ ▄█▄█▄▀▄▀ █ █▀▀▀█ █
█ █   █ █▄▄▀▄▀▄▀▄▄███▀ ▄ ██ █   █ █
█ ▀▀▀▀▀ █ █ █▀█▀▄ ▄▀█▀▄▀█▀█ ▀▀▀▀▀ █
█▀▀▀▀▀█▀▀▀▀▀█ ▀█▄ █▄▄▄▄ ▄█▀█▀█▀█▀██
█▄▄██ █▀   █▀▀█▄▀█▀▄█▄█▄███▄▀▀▀▄ ▄█
███▀▄▄ ▀   ▄ █▀█▀▄▀▀▀▄▄█▄▀ ▄▀ ▀▄███
█▄▄█ ▄▄▀▀██ █▄█▄▀▄▄▄▄   █▀▀ ▄███ ▄█
█   ██▀▀▀  ▀█ ▀█▀▄███▄  ▀  ▄▄▀█▄▀██
██ █▀ ▄▀▄▄ █▀▀█▄▀▀  █▄ ▀██▀ ██ █ ▄█
██▀▀▄▀▀▀▀  ▀ █▀█▀▀█▄▄█▄▀▀█▄█▄▀█▄▀██
█ █  ██▀█▀▀ █▄█▄▀▀▄▀█ ▄█▄▄▀ ▀▀ █ ▄█
█ ██  ▄▀▄▀ ▄█ ▀▄█▄▀▀▄  ▀    ▀  ▄█▀█
█▀▀▀▀▀▀▀█ ▀▀▀▀▀   ██▄█ ▀▀ █▀█ ▄ ▀▄█
█ █▀▀▀█ █▀█▀ ▀▀█▄▄▀█ ▀▄▀▄ ▀▀▀  ▄▀██
█ █   █ █ ▄ █▄█▄▀▄▄▀█▄▄▀ █ ▀ ▄█▀▀██
█ ▀▀▀▀▀ █ ▀▄██▀▄ ▄██▄█ ▀▄▀██   ▄▀██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:48] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:49] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:49] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: WaitingForScan Uin: 0
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:50] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:51] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:51] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: WaitingForScan Uin: 0
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:52] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:53] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: WaitingForScan Uin: 0
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:53] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:54] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:55] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: WaitingForScan Uin: 0
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:55] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:56] [ServiceContext] [DEBUG]: Outgoing SSOFrame: Heartbeat.Alive
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:56] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:57] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: WaitingForConfirm Uin: 3941081986
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:57] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:58] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:59] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:19:59] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: WaitingForConfirm Uin: 3941081986
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:00] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:01] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: WaitingForConfirm Uin: 3941081986
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:01] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:02] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.trans_emp
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.trans_emp
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [INFORMATION]: QrCode State Queried: Confirmed Uin: 3941081986
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [INFORMATION]: QrCode Confirmed, Logging in with A1 sig...
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [INFORMATION]: Doing Login...
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [ServiceContext] [DEBUG]: Outgoing SSOFrame: wtlogin.login
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [ServiceContext] [DEBUG]: Incoming SSOFrame: wtlogin.login
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [INFORMATION]: Login Success
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [INFORMATION]: Bot name: 一川月白 | Gender: 1 | Age: 18
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [ServiceContext] [DEBUG]: Outgoing SSOFrame: trpc.msg.register_proxy.RegisterProxy.SsoInfoSync
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [ServiceContext] [DEBUG]: Incoming SSOFrame: trpc.qq_new_tech.status_svc.StatusService.KickNT
fail: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [FATAL]: KickNTEvent: 您的账号已在另一台终端登录。如非本人操作,则密码可能已泄露,建议前往https://accounts.qq.com/find/password修改密码或紧急冻结账号: 下线通知
fail: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [FATAL]: Bot will be offline in 5 seconds...
trce: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [ServiceContext] [DEBUG]: Incoming SSOFrame: trpc.msg.register_proxy.RegisterProxy.SsoInfoSync
info: Lagrange.Core.BotContext[0]
      [2025-01-23 23:20:03] [WtExchangeLogic] [INFORMATION]: Register Status: IDK
Unhandled exception. System.Exception: All login failed!
   at Lagrange.OneBot.Core.Login.LoginService.StartAsync(CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Lagrange.OneBot.Program.Main(String[] args)

补充说明(可选)

可以确定的是:

  • 没有任何时刻出现win电脑和Linux服务器同时登录或尝试登录的情况,即未出现”顶掉线“的情况。
  • 手机端QQ在任何时刻都登录。
  • 手机端QQ从未提示有陌生设备登录的情况,从未提示需要改密码。
  • 手机端QQ的”登录设备管理“页面,始终有且仅有三台设备(手机本机,win电脑,以及Linux服务器)
@H-Elden H-Elden added the bug? Maybe it's a bug label Jan 23, 2025
@DarkRRb
Copy link
Contributor

DarkRRb commented Jan 27, 2025

无法复现, 建议录个视频

@H-Elden
Copy link
Author

H-Elden commented Jan 27, 2025

无法复现, 建议录个视频

您好,后来我使用了Actions里的构建 36735bb 重新在云服务器上运行了新的Lagrange.Onebot程序,舍弃了原先的,现在正常登录,未出现异常。如果出现异常,我会录视频给您。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Maybe it's a bug
Projects
None yet
Development

No branches or pull requests

2 participants