@MX233 期望行为是各个群都发回各个群
实际行为是如果添加多了就会群发(
shenmo 发布的帖子
-
使用coding制作mirai-mirror的国内mirror
coding支持raw,是国内平台(背靠腾讯)
而且支持自动同步
这里制作了一个,可以试试
https://spark-store-project.coding.net/p/mirai-mirror/d/mirai-repo-mirror/git/raw/master
使用方法:
https://mirai.mamoe.net/topic/1084/mcl-无法使用的相关解决方法-2022-3-25 -
RE: MCL 无法使用的相关解决方法 - 2022/3/25
如果要做一个非官方的镜像,似乎coding会更好
支持raw和自动每日同步,gitee page需要自己点
做好了
每天凌晨1点开始同步github仓库https://spark-store-project.coding.net/p/mirai-mirror/d/mirai-repo-mirror/git/raw/master
用这个即可 -
RE: MCL 无法使用的相关解决方法 - 2022/3/25
http://shenmo7192.gitee.io/mirai-repo-mirror/
用gitee page即可访问raw效果不错
-
RE: MCL 无法使用的相关解决方法 - 2022/3/25
其实可以用gitee page的(
https://gitee.com/shenmo7192/live2d-widget-left-and-right
我这里就是用gitee page做的外链 -
RE: Mirai-Setu - 在群里获取loliconapi的setu插件
@cssxsh ubuntu@VM-0-13-ubuntu:~$ curl -i https://api.lolicon.app
HTTP/2 200
date: Sat, 10 Jul 2021 17:42:47 GMT
content-type: text/html; charset=utf-8
last-modified: Fri, 25 Jun 2021 12:20:01 GMT
access-control-allow-origin: *
expires: Sat, 10 Jul 2021 17:49:51 GMT
cache-control: max-age=600
x-proxy-cache: MISS
x-github-request-id: CB46:04FE:2429EA6:323458A:60E9DB67
via: 1.1 varnish, 1.1 vegur
age: 32
x-served-by: cache-bwi5064-BWI
x-cache: HIT
x-cache-hits: 1
x-timer: S1625938968.638233,VS0,VE1
vary: Accept-Encoding
x-fastly-request-id: a77def50b43485d931ae1b7be7f01d57b2cc6fe7
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v2?s=MsBJMb%2BVt4EzT5UzLLpA%2BXtfzdicxsJRbseKlLwCJZl5wWJNKXme5ZAtFnA1EkWZalFx6OWokGkZPI0yI%2BTmhV9SXXDmMZbAaPpDVuCiLZECl8gFamO5feWNydJQ"}],"group":"cf-nel","max_age":604800}
nel: {"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 66cb9732e8840503-LAX
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>Lolicon API</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Lolicon API">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/docsify@4.12.1/themes/vue.css" rel="stylesheet" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/docsify-vuepress-theme@1.0.9/dist/style.min.css" rel="stylesheet" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/prismjs@1/themes/prism-tomorrow.min.css" rel="stylesheet" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/combine/npm/purecss@2.0.6/build/grids-min.css,npm/purecss@2.0.6/build/grids-responsive-min.css" rel="stylesheet" crossorigin="anonymous" />
<link href="assets/css/index.min.css?v=20210618_1" rel="stylesheet"><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7ce74b08b88a4bc78326424b3515b781"}'></script>
</head>
<body>
<div id="app">加载中</div>
<script>window.$docsify={name:"Lolicon API",coverpage:true,onlyCover:true,loadSidebar:true,subMaxLevel:3};</script>
<script src="https://cdn.jsdelivr.net/npm/docsify@4.12.1/lib/docsify.min.js" crossorigin="anonymous"></script>
<script src="assets/js/prism-http-mod.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1/prism.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js" crossorigin="anonymous"></script>
</body>
</html> -
RE: Mirai-Setu - 在群里获取loliconapi的setu插件
@cssxsh at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:144)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1418)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1324)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411)
at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:367)
at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:325)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:197)
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)
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)
Suppressed: java.net.SocketException: 断开的管道 (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:380)
... 27 more
Caused by: java.net.SocketException: Connection reset
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110) -
RE: Mirai-Setu - 在群里获取loliconapi的setu插件
@cssxsh ```
2021-07-11 01:35:16 V/Bot.1143816631: [SM-X 神末服务器交流群(913146678)] shenmo7192(1422953823) -> 请给我一张色图
2021-07-11 01:35:16 V/Bot.1143816631: Event: GroupMessagePreSendEvent(target=Group(913146678), message=[mirai:quote:[46645],[84569787]]Fetching setu...)
2021-07-11 01:35:16 V/Bot.1143816631: Group(913146678) <- [mirai:quote:[46645],[84569787]]Fetching setu...
2021-07-11 01:35:16 V/Bot.1143816631: Event: GroupMessagePostSendEvent(target=Group(913146678), message=[mirai:quote:[46645],[84569787]]Fetching setu..., exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@47495135)
2021-07-11 01:35:16 V/Bot.1143816631: Event: GroupMessagePreSendEvent(target=Group(913146678), message=[mirai:quote:[46645],[84569787]]出现错误, 请联系管理员检查后台或重试
Connection reset)
2021-07-11 01:35:17 V/Bot.1143816631: Group(913146678) <- [mirai:quote:[46645],[84569787]]出现错误, 请联系管理员检查后台或重试\nConnection reset
2021-07-11 01:35:17 V/Bot.1143816631: Event: GroupMessagePostSendEvent(target=Group(913146678), message=[mirai:quote:[46645],[84569787]]出现错误, 请联系管理员检查后台或重试
Connection reset, exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@1d141fcd)
2021-07-11 01:35:17 E/main: Exception in coroutine <unnamed>
java.net.SocketException: Connection reset
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at okio.InputStreamSource.read(JvmOkio.kt:90)
at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:129)
at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:449)
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:333)
at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:178)
at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
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)
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)