We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.2.0
Windows (64)
None
HTTP
6 | aPad
启动时出现的,我也不知道是怎么出现的.
汇报BUG
No response
2024/02/06 19:30:49 http: panic serving 127.0.0.1:31318: runtime error: index out of range [0] with length 0 goroutine 337 [running]: net/http.(*conn).serve.func1() net/http/server.go:1854 +0xbf panic({0x1623040, 0xc000214018}) runtime/panic.go:890 +0x263 github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).nextAddr(0x17746e0?) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/internal/highway/highway.go:227 +0xfd github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).selectConn(0xc0003cd140?) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/internal/highway/highway.go:248 +0xe5 github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).uploadSingle(0xc00020e240, {0x4c, {0x1774700, 0xc00020c300}, {0xc000232290, 0x10, 0x10}, 0xab84, {0x0, 0x0, ...}, ...}) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/internal/highway/bdh.go:39 +0x68 github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).Upload(0xc00020e240, {0x4c, {0x1774700, 0xc00020c300}, {0xc000232290, 0x10, 0x10}, 0xab84, {0x0, 0x0, ...}, ...}) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/internal/highway/bdh.go:117 +0x425 github.com/Mrs4s/MiraiGo/client.(*QQClient).uploadOcrImage(0xc000222000, {0x1774700, 0xc00020c300}, 0xab84, {0xc000232290, 0x10, 0x10}) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/image.go:311 +0x218 github.com/Mrs4s/MiraiGo/client.(*QQClient).ImageOcr(0xc0003e6609?, {0x15bafc0?, 0xc0005a8240}) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/image.go:194 +0xd8 github.com/Mrs4s/go-cqhttp/coolq.(*CQBot).CQOcrImage(0xc0000ca480, {0xc0003e660a?, 0x28?}) github.com/Mrs4s/go-cqhttp/coolq/api.go:1878 +0x445 github.com/Mrs4s/go-cqhttp/modules/api.(*Caller).call(0xc000190020, {0xc00001e786, 0x9?}, 0x1b25620, {0x1773e60, 0xc000095260}) github.com/Mrs4s/go-cqhttp/modules/api/api.go:86 +0x2e85 github.com/Mrs4s/go-cqhttp/modules/api.(*Caller).Call(0xc000190020, {0xc00001e786, 0x9}, 0xc00044a9b8?, {0x1773e60, 0xc000095260}) github.com/Mrs4s/go-cqhttp/modules/api/caller.go:35 +0xc5 github.com/Mrs4s/go-cqhttp/server.(*httpServer).ServeHTTP(0xc000190000, {0x1777e70, 0xc00016a380}, 0xc000490400) github.com/Mrs4s/go-cqhttp/server/http.go:213 +0x8ba net/http.serverHandler.ServeHTTP({0x17767b8?}, {0x1777e70, 0xc00016a380}, 0xc000490400) net/http/server.go:2936 +0x316 net/http.(*conn).serve(0xc000448480, {0x1778360, 0xc000168d80}) net/http/server.go:1995 +0x612 created by net/http.(*Server).Serve net/http/server.go:3089 +0x5ed
The text was updated successfully, but these errors were encountered:
登陆后 没有获取到媒体服务器地址导致的
Sorry, something went wrong.
那我该怎么解决呢?求个解决方法
确实是有时候有效,当我翻墙的时候,它有一定几率可以正常运作。 然后我通过修改源码的方式获取到了媒体服务器地址,但是它的地址在加拿大。 问下大佬这是什么情况?为什么服务器地址会在加拿大?国内的没有吗?
No branches or pull requests
请确保您已阅读以上注意事项,并勾选下方的确认框。
go-cqhttp 版本
1.2.0
运行环境
Windows (64)
运行架构
None
连接方式
HTTP
使用协议
6 | aPad
重现步骤
启动时出现的,我也不知道是怎么出现的.
期望的结果是什么?
汇报BUG
实际的结果是什么?
汇报BUG
简单的复现代码/链接(可选)
No response
日志记录(可选)
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: