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: 对单个地址重复建立多个链接,并重复上报消息 #309

Open
Cathgao opened this issue Mar 21, 2024 · 1 comment
Open
Labels
bug Something isn't working v1.0.9 针对OneBot11标准的Shamrock

Comments

@Cathgao
Copy link

Cathgao commented Mar 21, 2024

警告: 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭

  • 确保您使用的是 最新开发版本 的 Shamrock.
  • 确保您的问题尚未在 Issues 列表中提出.
  • 确保您的问题不是由于您的代码错误导致的.

描述 Bug

使用反向WS连接bot后端(hoshinobot),偶尔shamrock会与后端建立大量ws连接,一条消息会被重复上报
后端log:

[2024-03-21 12:30:45,977 nonebot] INFO: Running on 0.0.0.0:8998
Running on http://0.0.0.0:8998 (CTRL + C to quit)
[2024-03-21 12:30:45,997 nonebot] INFO: Scheduler started
[2024-03-21 12:30:46,002] Running on http://0.0.0.0:8998 (CTRL + C to quit)
[2024-03-21 12:30:46,392] 192.168.31.1:39420 GET /ws 1.1 101 - 9008
[2024-03-21 12:30:48,417] 192.168.31.1:39419 GET /ws 1.1 101 - 2002
[2024-03-21 12:30:51,474] 192.168.31.1:39422 GET /ws 1.1 101 - 0
[2024-03-21 12:30:51,493] 192.168.31.1:39425 GET /ws 1.1 101 - 18188
[2024-03-21 12:30:51,496] 192.168.31.1:39424 GET /ws 1.1 101 - 21188
[2024-03-21 12:30:51,503] 192.168.31.1:39427 GET /ws 1.1 101 - 5960
[2024-03-21 12:30:51,506] 192.168.31.1:39423 GET /ws 1.1 101 - 7956
[2024-03-21 12:30:51,511] 192.168.31.1:39426 GET /ws 1.1 101 - 9930
[2024-03-21 12:30:51,547] 192.168.31.1:39429 GET /ws 1.1 101 - 3000
[2024-03-21 12:30:51,558] 192.168.31.1:39431 GET /ws 1.1 101 - 2001
[2024-03-21 12:30:51,569] 192.168.31.1:39430 GET /ws 1.1 101 - 4995
[2024-03-21 12:30:51,572] 192.168.31.1:39428 GET /ws 1.1 101 - 6970
[2024-03-21 12:30:51,580] 192.168.31.1:39432 GET /ws 1.1 101 - 2980
[2024-03-21 12:30:51,588] 192.168.31.1:39433 GET /ws 1.1 101 - 3034
[2024-03-21 12:30:51,597] 192.168.31.1:39434 GET /ws 1.1 101 - 4999
[2024-03-21 12:30:51,601] 192.168.31.1:39435 GET /ws 1.1 101 - 7037
[2024-03-21 12:30:51,611] 192.168.31.1:39436 GET /ws 1.1 101 - 4998
[2024-03-21 12:30:51,645] 192.168.31.1:39437 GET /ws 1.1 101 - 1998
[2024-03-21 12:30:51,652] 192.168.31.1:39438 GET /ws 1.1 101 - 1997
[2024-03-21 12:30:51,675] 192.168.31.1:39439 GET /ws 1.1 101 - 3000
[2024-03-21 12:30:51,690] 192.168.31.1:39443 GET /ws 1.1 101 - 3099
[2024-03-21 12:30:51,693] 192.168.31.1:39440 GET /ws 1.1 101 - 5028
[2024-03-21 12:30:51,702] 192.168.31.1:39445 GET /ws 1.1 101 - 5002
[2024-03-21 12:30:51,705] 192.168.31.1:39448 GET /ws 1.1 101 - 7004
[2024-03-21 12:30:51,711] 192.168.31.1:39447 GET /ws 1.1 101 - 4000
[2024-03-21 12:30:51,722] 192.168.31.1:39441 GET /ws 1.1 101 - 6001
[2024-03-21 12:30:51,724] 192.168.31.1:39442 GET /ws 1.1 101 - 7998
[2024-03-21 12:30:51,739] 192.168.31.1:39446 GET /ws 1.1 101 - 4003
[2024-03-21 12:30:51,745] 192.168.31.1:39444 GET /ws 1.1 101 - 4661
[2024-03-21 12:30:51,787] 192.168.31.1:39450 GET /ws 1.1 101 - 4002
[2024-03-21 12:30:51,791] 192.168.31.1:39449 GET /ws 1.1 101 - 1999
[2024-03-21 12:30:51,808] 192.168.31.1:39454 GET /ws 1.1 101 - 4003
[2024-03-21 12:30:51,820] 192.168.31.1:39451 GET /ws 1.1 101 - 5000
[2024-03-21 12:30:51,831] 192.168.31.1:39452 GET /ws 1.1 101 - 6999
[2024-03-21 12:30:51,838] 192.168.31.1:39457 GET /ws 1.1 101 - 3999
[2024-03-21 12:30:51,854] 192.168.31.1:39458 GET /ws 1.1 101 - 9176
[2024-03-21 12:30:51,857] 192.168.31.1:39453 GET /ws 1.1 101 - 10997
[2024-03-21 12:30:51,861] 192.168.31.1:39456 GET /ws 1.1 101 - 14999
[2024-03-21 12:30:51,864] 192.168.31.1:39455 GET /ws 1.1 101 - 17004
[2024-03-21 12:30:51,868] 192.168.31.1:39462 GET /ws 1.1 101 - 17002
[2024-03-21 12:30:51,884] 192.168.31.1:39461 GET /ws 1.1 101 - 7999
[2024-03-21 12:30:51,887] 192.168.31.1:39463 GET /ws 1.1 101 - 9851
[2024-03-21 12:30:51,891] 192.168.31.1:39460 GET /ws 1.1 101 - 13000
[2024-03-21 12:30:51,894] 192.168.31.1:39459 GET /ws 1.1 101 - 16008
[2024-03-21 12:30:51,898] 192.168.31.1:39464 GET /ws 1.1 101 - 14997
[2024-03-21 12:30:51,905] 192.168.31.1:39465 GET /ws 1.1 101 - 3000
[2024-03-21 12:30:51,930] 192.168.31.1:39469 GET /ws 1.1 101 - 2998
[2024-03-21 12:30:51,943] 192.168.31.1:39467 GET /ws 1.1 101 - 8001
[2024-03-21 12:30:51,946] 192.168.31.1:39466 GET /ws 1.1 101 - 9002
[2024-03-21 12:30:51,949] 192.168.31.1:39468 GET /ws 1.1 101 - 10999
[2024-03-21 12:30:51,952] 192.168.31.1:39471 GET /ws 1.1 101 - 13001
[2024-03-21 12:30:51,984] 192.168.31.1:39470 GET /ws 1.1 101 - 5005
[2024-03-21 12:30:52,005] 192.168.31.1:39472 GET /ws 1.1 101 - 3004
[2024-03-21 12:30:52,022] 192.168.31.1:39474 GET /ws 1.1 101 - 4001
[2024-03-21 12:30:52,024] 192.168.31.1:39473 GET /ws 1.1 101 - 6000
[2024-03-21 12:30:52,119] 192.168.31.1:39475 GET /ws 1.1 101 - 2009
[2024-03-21 12:30:52,343] 192.168.31.1:39476 GET /ws 1.1 101 - 2001
[2024-03-21 12:30:56,432] 192.168.31.1:39477 GET /ws 1.1 101 - 0
[2024-03-21 12:31:00,003 stbot-喜加一] INFO: Scheduled job xjy_remind start.

1710996408693

复现 Bug

未知如何复现,重复的链接数量不定。
另外我用island双开了QQ和shamrock,不知道是否与其有关。如果有关,请教正确的双开方式

系统信息

  • Shamrock 版本: 7782feb
  • Android 版本: 9
  • LSPosed 框架版本: 1.9.2(7024)
  • 设备的制造商和型号: xiaomi5splus
  • 设备的 CPU 架构: ARMv8A
@Cathgao Cathgao added the bug Something isn't working label Mar 21, 2024
@fuqiuluo fuqiuluo added the v1.0.9 针对OneBot11标准的Shamrock label Mar 22, 2024
@CalmLexi
Copy link

把QQ真正重启一下就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.0.9 针对OneBot11标准的Shamrock
Projects
None yet
Development

No branches or pull requests

3 participants