SakuraLoginSolver请求地址显示错误
-
linux下使用login显示如下:
2023-09-12 08:19:53 W/EncryptService.alert: Encrypt service was loaded: KFCFactory(config=file:///opt/mirai/KFCFactory.json) 2023-09-12 08:19:53 W/EncryptService.alert: All outgoing message may be leaked by this service. 2023-09-12 08:19:53 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider. 2023-09-12 08:19:53 W/EncryptService.alert: Service details: 2023-09-12 08:19:53 W/EncryptService.alert: `- Jvm Class: class xyz.cssxsh.mirai.tool.KFCFactory 2023-09-12 08:19:53 W/EncryptService.alert: `- ClassLoader: JvmPluginClassLoader{fix-protocol-version-1.11.0.mirai2.jar} 2023-09-12 08:19:53 W/EncryptService.alert: `- Source: file:/opt/mirai/plugins/fix-protocol-version-1.11.0.mirai2.jar 2023-09-12 08:19:53 W/EncryptService.alert: `- Protected Domain: ProtectionDomain (file:/opt/mirai/plugins/fix-protocol-version-1.11.0.mirai2.jar <no signer certificates>) JvmPluginClassLoader{fix-protocol-version-1.11.0.mirai2.jar} <no principals> java.security.Permissions@d279db4 ( ("java.io.FilePermission" "/opt/mirai/plugins/fix-protocol-version-1.11.0.mirai2.jar" "read") ) 2023-09-12 08:19:53 I/KFCFactory: ANDROID_PHONE(8.9.63) EncryptService by fuqiuluo/unidbg-fetch-qsign from file:///opt/mirai/KFCFactory.json 2023-09-12 08:19:53 I/KFCFactory: unidbg-fetch-qsign by http://127.0.0.1:8081 about { "code": 0, "msg": "IAA 云天明 章北海", "data": { "version": "1.1.9", "protocol": { "qua": "V1_AND_SQ_8.9.63_4194_YYB_D", "version": "8.9.63", "code": "4194", "package_name": "com.tencent.mobileqq" } } } 2023-09-12 08:19:54 I/UnidbgFetchQsign: Bot(2032773656) initialize by http://127.0.0.1:8081 2023-09-12 08:20:03 I/UnidbgFetchQsign: Bot(2032773656) register, Instance loaded successfully. 2023-09-12 08:20:03 I/UnidbgFetchQsign: Bot(2032773656) initialize complete 2023-09-12 08:20:07 I/Bot.2032773656: Calculating type 2 PoW, it can take some time.... 2023-09-12 08:20:07 I/Bot.2032773656: Got PoW result, cost: 173 ms 请使用 SakuraLoginSolver 打开 http://<ip>:22333/request/request/56449840 来完成验证
其中ip试过换成linux虚拟机的192.168.xxx的地址,手机app和虚拟机是在同一网络下的
-
这不是显示错误,你应该把
<ip>
替换为- 公网IP (云服务器)
- 局域网IP (家用电脑)
最好先检查ip能不能通
同时,你提供的信息实在是过少。
你没有说 linux 虚拟机的位置,既然你选择用虚拟机就要了解外部如何跟虚拟机建立通信 -
@MrXiaoM
你好,我的linux是跑在本地虚拟机上的,然后虚拟机、主机、手机三者在同一wifi下,可以互相ping通,然后ip部分我填入的是虚拟机的地址,在手机的SakuraLoginSolver app上点击下一步的时候是请求失败 -
虚拟机上的 mirai 开启的情况下在主机上面试试,浏览器打开
虚拟机ip:23333
如果显示空白页就代表可以连接,显示失败就是主机和虚拟机没有连通性。虚拟机在主机上,我猜需要在主机上端口映射出去,局域网才能用。只是猜测,具体看你实际情况。
也可能是防火墙不通。
-
@MrXiaoM
应该是端口冲突的问题,改了一下配置文件好了。感谢