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: 反向ws断开后没有重连? #281

Open
Zhongren233 opened this issue Mar 6, 2024 · 2 comments
Open

bug: 反向ws断开后没有重连? #281

Zhongren233 opened this issue Mar 6, 2024 · 2 comments
Labels
bug Something isn't working v1.0.9 针对OneBot11标准的Shamrock

Comments

@Zhongren233
Copy link

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

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

描述 Bug

配置好反向ws链接后,一段时间后ws断连,但是没有自动重连

复现 Bug

保持qq在前台不熄屏幕运行,一段时间后【约十分钟至十五分钟不等】,ws断连,查看debug日志提示有心跳包,但反向ws服务端并未收到。

系统信息

  • Shamrock 版本: 1.0.9.r405.2ac0003
  • Android 版本: 10
  • LSPosed 框架版本: 1.9,2
  • 设备的制造商和型号: lge LM-G710
  • 设备的 CPU 架构: arm64-v8a
@Zhongren233 Zhongren233 added the bug Something isn't working label Mar 6, 2024
@Zhongren233
Copy link
Author

怀疑为 xposed/src/main/java/moe/fuqiuluo/shamrock/remote/service/api/WebSocketClientServlet.kt 中 onOpen方法 因firstOpen为false导致走到了unsubscribe()中 不过我也不懂kt

顺带一提这玩意有构建指南吗 fork之后action报错似乎是没有密钥库的action secret?

@whitechi73
Copy link
Owner

怀疑为 xposed/src/main/java/moe/fuqiuluo/shamrock/remote/service/api/WebSocketClientServlet.kt 中 onOpen方法 因firstOpen为false导致走到了unsubscribe()中 不过我也不懂kt

顺带一提这玩意有构建指南吗 fork之后action报错似乎是没有密钥库的action secret?

fork的action构建需要自己提供构建密钥

@whitechi73 whitechi73 added the v1.0.9 针对OneBot11标准的Shamrock label Mar 22, 2024
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

2 participants