config.json内容

{
  "module_packages": [
    "mcl:org.itxtech.mcl.module.builtin"
  ],
  "mirai_repo": "https://repo.mirai.mamoe.net/keep/mcl",
  "maven_repo": [
    "https://maven.aliyun.com/repository/public"
  ],
  "packages": {
    "net.mamoe:mirai-console": {
      "channel": "maven-stable",
      "version": "2.13.4",
      "type": "libs",
      "versionLocked": false
    },
    "net.mamoe:mirai-console-terminal": {
      "channel": "maven-stable",
      "version": "2.13.4",
      "type": "libs",
      "versionLocked": false
    },
    "net.mamoe:mirai-core-all": {
      "channel": "maven-stable",
      "version": "2.13.4",
      "type": "libs",
      "versionLocked": false
    },
    "org.itxtech:mcl-addon": {
      "channel": "maven-stable",
      "version": "2.1.1",
      "type": "plugins",
      "versionLocked": false
    }
  },
  "archiveSuffix": [
    ".zip",
    ".mirai2.jar",
    ".mirai.jar",
    "-all.jar",
    ".jar"
  ],
  "disabled_modules": [],
  "proxy": "",
  "log_level": 1,
  "modules_props": {}
}

bot运行状况:

  • 私骰,仅在两个人数较少的聊天群内使用
  • ANDROID_PAD协议常用
  • Windows大陆服务器运行(NLad.one)
  • 在2023-04-15 早晨发现未响应指令,无法登陆

目前已拥有的插件或已执行的操作:

  • 删除config.json
  • 更新了 mirai-console-jnr-plugin-1.3.0.mirai2

更新目前情况:

已手动通过

mcl -u

将mirai版本从目前Shiki-dice2.6.6提供的mirai版本升级至2.15.0-M1
config.json显示如下

{
  "module_packages": [
    "mcl:org.itxtech.mcl.module.builtin"
  ],
  "mirai_repo": "https://repo.mirai.mamoe.net/keep/mcl",
  "maven_repo": [
    "https://maven.aliyun.com/repository/public"
  ],
  "packages": {
    "net.mamoe:mirai-console": {
      "channel": "maven",
      "version": "2.15.0-M1",
      "type": "libs",
      "versionLocked": false
    },
    "net.mamoe:mirai-console-terminal": {
      "channel": "maven",
      "version": "2.15.0-M1",
      "type": "libs",
      "versionLocked": false
    },
    "net.mamoe:mirai-core-all": {
      "channel": "maven",
      "version": "2.15.0-M1",
      "type": "libs",
      "versionLocked": false
    },
    "org.itxtech:mcl-addon": {
      "channel": "maven-stable",
      "version": "2.1.1",
      "type": "plugins",
      "versionLocked": false
    }
  },
  "archiveSuffix": [
    ".zip",
    ".mirai2.jar",
    ".mirai.jar",
    "-all.jar",
    ".jar"
  ],
  "disabled_modules": [],
  "proxy": "",
  "log_level": 1,
  "modules_props": {}
}

这是通过【教程】用MCL升级mirai到预发行版 操作示例 实现的
并安装了qrlogin插件 mirai-console-dev-qrlogin-0.1.4.mirai2

目前的处理结果是:

  • 手表协议下,在本地手机与电脑同网络的环境下能够登陆
  • 服务器环境下,无法直接登陆(因为服务器的网络环境和本地确有不同)
  • 但是,可以在本地登陆成功后,尝试复制device.json到服务器文件夹,在输入qrlogin <account>登陆指令后或不用再扫码。

问题未完全解决,但方法或许值得参考。

棠语Anato 将标题更改为 「【求助】code=45或code=235 无法登陆」。
棠语Anato 将标题更改为 「【求助】code=45或code=235 无法登陆(更新了可能的解决方案)」。

ringa233 在前辈的基础上试了,在本地登录成功后将整个bots文件夹复制到了服务器文件夹,登录成功,方法可供参考

说点什么吧...