-
Notifications
You must be signed in to change notification settings - Fork 0
Description
我在测试时发现使用/auth-captcha时后台出现warning回报
发现问题出现在返回验证码图片时403回报 日志如下
"2024-11-15 01:19:24 W/mirai-authenticator: Exception in executing command [mirai:source:ids=[460331713], internalIds=[460331713], from group ********* to ********* at 1731604]/auth-captcha
command owned by mirai-authenticator v1.0.7 with NormalMember(*********)
io.ktor.client.plugins.ResponseException: Bad response: HttpResponse[https://mail.sina.com.cn/cgi-bin/imgcode.php, 403 ]. Text: ""
at mirai-authenticator-1.0.7.mirai2.jar//xyz.cssxsh.mirai.auth.validator.MiraiCaptchaValidator$getCaptchaImage$2.invokeSuspend(MiraiCaptchaValidator.kt:44)
at mirai-authenticator-1.0.7.mirai2.jar//xyz.cssxsh.mirai.auth.validator.MiraiCaptchaValidator$getCaptchaImage$2.invoke(MiraiCaptchaValidator.kt)
at mirai-authenticator-1.0.7.mirai2.jar//xyz.cssxsh.mirai.auth.validator.MiraiCaptchaValidator$getCaptchaImage$2.invoke(MiraiCaptchaValidator.kt)
at mirai-authenticator-1.0.7.mirai2.jar[private]//io.ktor.client.statement.HttpStatement.execute(HttpStatement.kt:50)
at mirai-authenticator-1.0.7.mirai2.jar[private]//io.ktor.client.statement.HttpStatement$execute$1.invokeSuspend(HttpStatement.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)"
我使用的mirai信息如下:
正在运行 MiraiConsole v2.16.0, 构建于 2023-10-20 06:28:10.
正在运行 Overflow v1.0.0.521-fc56fce-SNAPSHOT, 构建于 2024-11-12 22:56:56.
Frontend Terminal: version 2.16.0, provided by Mamoe Technologies
权限服务: LuckPerms v2.14.0-dev-8+null
Onebot 实现信息:
- **********: NapCat.Onebot v4.0.3.
插件列表 (8): Chat Command v0.6.0, LuckPerms v2.14.0-dev-8+null, Minecraft MOTD Fetcher v1.2.2, mirai-administrator v1.4.4, mirai-api-http v2.10.0, mirai-skia-plugi
n v1.3.2, BiliBili Dynamic v3.2.12, mirai-authenticator v1.0.7
能不能考虑尝试修复此问题?似乎可以考虑内置一个验证码生成器而不是依赖于外部提供?
顺带进行一个提问
在我使用进群前检查 profile时遇到信息返回问题 无论我如何修改lua他都会返回false 我怀疑是我脚本文件编写有问题 能不能给我提供一个样本lua文件?
top.mrxiaom.overflow.internal.data.UserProfileImpl@661eff90
验证结果: false