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]疑似无法配置签名服务器的key导致无法正确运行 #241

Open
tamakyi opened this issue Jul 18, 2023 · 3 comments
Open
Labels
bug Something isn't working question Further information is requested

Comments

@tamakyi
Copy link

tamakyi commented Jul 18, 2023

详细描述
application.yaml中配置了签名服务器,但是签名服务器带key,而配置文件中没有填写key的地方,可能因为这个原因导致登录失败。
登录日志如下:

WARNING[2023-07-18T10:36:37+08:00] 获取T544 sign时出现错误: Get "xxx:12345/custom_energy?data=810_2&salt=xxxxxxxxxxxxxxxxxx": unsupported protocol scheme "xxx" server: xxx:12345/  bot=internal
WARNING[2023-07-18T10:36:37+08:00] 获取sso sign时出现错误: Post "xxx:12345/sign": unsupported protocol scheme "[xxx](xxx:12345)" server: xxx:12345/  bot=internal
WARNING[2023-07-18T10:36:37+08:00] 登录失败: 登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。 Code: 45  bot=internal
WARNING[2023-07-18T10:36:37+08:00] 你的账号被限制登录, 请配置 SignServer 后重试                 bot=internal

PS:签名服务器是正常的,同一个服务器用miral机器人能正常签名。
服务器的配置文件:

{
  "server": {
    "host": "0.0.0.0",
    "port": 12345
  },
  "key": "signkey",
  "auto_register": true,
  "reload_interval": 40,
  "protocol": {
    "qua": "V1_AND_SQ_8.9.63_4194_YYB_D",
    "version": "8.9.63",
    "code": "4194"
  },
  "unidbg": {
    "dynarmic": false,
    "unicorn": true,
    "debug": false
  }
}

正常情况应该是怎样的
正常登录

截图

如果是私有部署
操作系统版本:debian 11.7
BOT版本:1.1.2

@tamakyi tamakyi added bug Something isn't working question Further information is requested labels Jul 18, 2023
@WencongZuo
Copy link

蹲一个答案 我也是这个问题

@tamakyi
Copy link
Author

tamakyi commented Sep 15, 2023

蹲一个答案 我也是这个问题

现在只能先用原版cqhttp生成相关文件再替换过来,但是一段时间之后又会失效又要重新做一次

@0xAmad3us
Copy link

同这个问题,反馈+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants