【涩图插件喜加一】mirai-console-lolicon
-
@tzzxx 请给出完整的error log
-
-
@tzzxx
https://github.com/mamoe/mirai/issues/1317
看上有点像这个,可能不是插件的问题 -
问题仅在群聊发送指令时出现 -
可以加个防抖节流功能,防止恶意刷屏
-
来请教问题啦~从启动到加载各种插件到上qq发送lolicon get....链接发送出来了,以下日志有显示,但是到图片就不行了。之前还没有这个错误,我现在用的是默认的配置。但是比之前多加了三四个其他的插件,是冲突了吗?谢谢回答萌新的问题!
23:11:12 [INFO] Verifying "net.mamoe:mirai-console" v2.8.0-M1 23:11:13 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.8.0-M1 23:11:13 [INFO] Verifying "net.mamoe:mirai-core-all" v2.8.0-M1 23:11:13 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2 2021-10-15 23:11:16 I/main: Starting mirai-console... 2021-10-15 23:11:16 I/main: Backend: version 2.8.0-M1, built on 2021-09-22 17:49:01. 2021-10-15 23:11:16 I/main: Frontend Terminal: version 2.8.0-M1, provided by Mamoe Technologies 2021-10-15 23:11:16 I/main: Welcome to visit https://mirai.mamoe.net/ 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin AntiStu v0.1.1 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin bilibili-helper v1.1.8 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin Chat Command v0.5.0 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin MCL Addon v1.2.2 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.3.1 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin mirai-console-lolicon v4.1.1 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin 点歌插件 v1.1.3 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin Reporter v1.2.10 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin PluginVoodoo v1.5.0 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin dada.reversedTictactoe v1.0-SNAPSHOT 2021-10-15 23:11:17 I/main: Prepared built-in commands: autoLogin, help, login, permission, status, stop 2021-10-15 23:11:17 I/AntiStu: 加载数据.... 2021-10-15 23:11:17 I/AntiStu: 初始化运行环境.... 2021-10-15 23:11:18 I/AntiStu: 初始化成功 Starting ChromeDriver 94.0.4606.41 (333e85df3c9b656b518b5f1add5ff246365b6c24-refs/branch-heads/4606@{#845}) on port 13291 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. 2021-10-15 23:11:22 I/MCL Addon: iTXTech MCL Version: 1.2.2-60c67fb 2021-10-15 23:11:22 W/net.mamoe.mirai-api-http: USING INITIAL KEY, please edit the key 2021-10-15 23:11:22 I/Mirai HTTP API: ******************************************************** SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2021-10-15 23:11:24 I/http adapter: >>> [http adapter] is listening at http://localhost:8080 2021-10-15 23:11:24 I/Mirai HTTP API: Http api server is running with verifyKey: INITKEYLRIauV01 2021-10-15 23:11:24 I/Mirai HTTP API: adaptors: [http] 2021-10-15 23:11:24 I/Mirai HTTP API: ******************************************************** 2021-10-15 23:11:24 I/mirai-console-lolicon: Plugin mirai-console-lolicon loaded ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10.2.0 (Rev6, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv - -enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e -- enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx -- enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf -- enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-li bglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --ena ble-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libm ysofa --enable-librubberband --enable-libsoxr --enable-chromaprint libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 2021-10-15 23:11:25 I/点歌插件: 当前配置项:宽域AMR:true AMR自动大小:false 2021-10-15 23:11:25 I/点歌插件: 插件加载完毕! 2021-10-15 23:11:25 I/PluginVoodoo: VoodooPlugin loaded 2021-10-15 23:11:25 I/dada.reversedTictactoe: Plugin loaded 2021-10-15 23:11:25 I/main: 10 plugin(s) enabled. 2021-10-15 23:11:25 I/main: mirai-console started successfully. 2021-10-15 23:11:26 I/bilibili-helper: driver agent {BiliApp=false, CMDC=false, MicroMessenger=true, QQLive=false, Safari=false, Youku=false , android=false, baidu=false, chrome=false, iPad=true, iPhone=false, ios=true, iqiyi=false, mbaidu=false, mobile=true, mqq=false, qq=false, uc=false, webApp=false, weibo=false, windowsphone=false} > login 2876932165 Qwer7741561 ANDROID_WATCH 2021-10-15 23:11:46 I/Mirai: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭. 2021-10-15 23:11:46 I/Mirai: Mirai is using desktop. Captcha will be thrown by window popup. You can add `mirai.no-desktop` to JVM propertie s (-Dmirai.no-desktop) to disable it. 2021-10-15 23:11:47 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Usi ng SimpleLogger to log to the console... 2021-10-15 23:11:48 I/Bot.2876932165: Loaded account secrets from local cache. 2021-10-15 23:11:49 I/Bot.2876932165: Saved account secrets to local cache for fast login. 2021-10-15 23:11:49 I/Bot.2876932165: Login successful. 2021-10-15 23:11:53 V/Bot.2876932165: Event: BotOnlineEvent(bot=Bot(2876932165)) 2021-10-15 23:11:53 I/bilibili-helper: EMOJI缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: DYNAMIC缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: VIDEO缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: LIVE缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: SEASON缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: EPISODE缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: USER缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/Bot.2876932165: Bot login successful. Login successful 2021-10-15 23:12:10 I/mirai-console-lolicon: {"error":"","data":[{"pid":77203057,"p":0,"uid":569672,"title":"食用系少女 まどかちゃん","autho r":"ミルクセーキ","r18":false,"width":1010,"height":1429,"tags":["R-18","マドカ(食用系少女)","小圆(食用系少女)","食用系少女","Food Girls", "おっぱい","欧派","極上の乳","极上乳房","魅惑の谷間","魅惑的乳沟","揉みしだきたい乳","诱人把玩的乳房","目がハート","眼睛爱心"],"ext":"jpg"," uploadDate":1570635309000,"urls":{"regular":"https://i.pixiv.cat/img-master/img/2019/10/10/00/35/09/77203057_p0_master1200.jpg"}}]} 2021-10-15 23:12:10 V/Bot.2876932165: Group(749470782) <- 标题: 食用系少女 まどかちゃん\n作者: ミルクセーキ (uid: 569672)\n标签: [R-18, マド カ(食用系少女), 小圆(食用系少女), 食用系少女, Food Girls, おっぱい, 欧派, 極上の乳, 极上乳房, 魅惑の谷間, 魅惑的乳沟, 揉みしだきたい乳, 诱 人把玩的乳房, 目がハート, 眼睛爱心]\n链接: https://pixiv.net/artworks/77203057 2021-10-15 23:12:20 E/mirai-console-lolicon: io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pix iv.cat/img-master/img/2019/10/10/00/35/09/77203057_p0_master1200.jpg, connect_timeout=unknown ms] io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2019/10/10/00/35/09/772 03057_p0_master1200.jpg, connect_timeout=unknown ms] at io.ktor.client.features.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:183) at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:75) at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1) at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:510) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:831) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333) at java.base/java.net.Socket.connect(Socket.java:645) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283) at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:195) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502) ... 3 more
-
@fuyon 看上去是连接超时了,可以考虑给i.pixiv.cat设置代理
-
This post is deleted! -
看起来好像是Lolicon API那边出了点问题……
2021-10-21 14:20:36 E/mirai-console-lolicon: io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-original/img/2021/03/07/16/47/58/88279104_p0.png, connect_timeout=unknown ms] io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-original/img/2021/03/07/16/47/58/88279104_p0.png, connect_timeout=unknown ms] at io.ktor.client.features.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:183) at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:75) at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1) at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:510) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.net.SocketTimeoutException: connect timed out at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283) at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:195) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502) ... 3 more
-
This post is deleted! -
感谢大佬的插件,跪求可以自定义子命令
-
@yuudachi 这个只能等console更新
-
这个怎么搞,是要改这个嘛,怎么改啊
-
@白毛萝莉控 根据你自己的代理改,
i.pixiv.cat
应该被墙了 -
大佬,有无更新啦?老的(4.1.2)已经坏掉了
-
@_casual 哪里坏了,细说
-
@samarium150 2021-11-14 17:21:24 E/mirai-console-lolicon: io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2019/09/19/22/04/46/76864994_p0_master1200.jpg, connect_timeout=unknown ms]
io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2019/09/19/22/04/46/76864994_p0_master1200.jpg, connect_timeout=unknown ms]
at io.ktor.client.features.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:183)
at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:75)
at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1)
at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:510)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:608)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:195)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502)
... 3 more -
@samarium150 看下楼上,应该是一样的问题,i.pixiv.cat被墙了
-
@samarium150 根据自己的代理改,虽然我会挂代理,但怎么在你的ProxyConfig.yml中配置呢?
-
@_casual 你可以选择把
Config.yml
中的proxy
改成i.pixiv.re
如果你不知道你自己挂的代理的端口是什么的话