@cssxsh 成功了,感谢🌹
N
Night1918 发布的最新帖子
-
RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)
@cssxsh
应该是我的网络出了问题。。。
奇怪,curl google都能正常返回,openai就不行,甚至不能ping通 -
RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)
2023-03-04 15:00:38 I/Bot.2102586642: Bot login successful. root (2102586642) Login successful 2023-03-04 15:00:40 V/Bot.2102586642: root(2799940199) -> chat 2023-03-04 15:00:40 V/Bot.2102586642: Friend(2799940199) <- [mirai:quote:[mirai:source:ids=[29691], internalIds=[-17556028], from friend 2799940199 to 2102586642 at 1677942039], content=chat]聊天将开始 2023-03-04 15:00:43 W/MiraiOpenAiListener: MiraiOpenAiListener with FriendMessageEvent(sender=2799940199, message=[mirai:source:ids=[29691], internalIds=[-17556028], from friend 2799940199 to 2102586642 at 1677942039]chat) java.net.SocketException: Connection refused at java.base/java.net.SocksSocketImpl.connect(Unknown Source) at java.base/java.net.Socket.connect(Unknown Source) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) at mirai-openai-plugin-1.2.1.mirai2.jar[private]//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) 2023-03-04 15:00:43 V/Bot.2102586642: root(2799940199) -> whoami