Open chiyuki0325 opened 2 years ago
Termux上也有这个问题 不过无法打开网页 这是log
2023/04/01 17:02:51 http: panic serving 127.0.0.1:41688: runtime error: index out of range [0] with length 0 goroutine 22 [running]: net/http.(conn).serve.func1() /data/data/com.termux/files/usr/lib/go/src/net/http/server.go:1854 +0xb0 panic({0x5936279340, 0x400001a318}) /data/data/com.termux/files/usr/lib/go/src/runtime/panic.go:890 +0x248 github.com/elazarl/goproxy.signHost({{0x0, 0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...) /data/data/com.termux/files/home/go/pkg/mod/github.com/elazarl/goproxy@v0.0.0-20210110162100-a92cc753f88e/signer.go:44 +0x8b8 github.com/elazarl/goproxy.TLSConfigFromCA.func1.1(...) /data/data/com.termux/files/home/go/pkg/mod/github.com/elazarl/goproxy@v0.0.0-20210110162100-a92cc753f88e/https.go:434 github.com/elazarl/goproxy.TLSConfigFromCA.func1({0x4000020687, 0x17}, 0x400007aba0) /data/data/com.termux/files/home/go/pkg/mod/github.com/elazarl/goproxy@v0.0.0-20210110162100-a92cc753f88e/https.go:439 +0x208 github.com/elazarl/goproxy.(ProxyHttpServer).handleHttps(0x4000111180, {0x5936298d80?, 0x400014c2a0}, 0x40000c2300) /data/data/com.termux/files/home/go/pkg/mod/github.com/elazarl/goproxy@v0.0.0-20210110162100-a92cc753f88e/https.go:184 +0x3d8 github.com/elazarl/goproxy.(ProxyHttpServer).ServeHTTP(0x0?, {0x5936298d80?, 0x400014c2a0?}, 0x59361c5038?) /data/data/com.termux/files/home/go/pkg/mod/github.com/elazarl/goproxy@v0.0.0-20210110162100-a92cc753f88e/proxy.go:114 +0xb0 net/http.serverHandler.ServeHTTP({0x400032d8f0?}, {0x5936298d80, 0x400014c2a0}, 0x40000c2300) /data/data/com.termux/files/usr/lib/go/src/net/http/server.go:2936 +0x2c0 net/http.(conn).serve(0x4000370120, {0x5936298fa8, 0x400007fb60}) /data/data/com.termux/files/usr/lib/go/src/net/http/server.go:1995 +0x518 created by net/http.(*Server).Serve /data/data/com.termux/files/usr/lib/go/src/net/http/server.go:3089 +0x4e8
系统:Arch Linux (内核版本 5.18.6,gcc 12.1.0) 微信使用 deepin-wine 运行,无论使用
http_proxy
https_proxy
环境变量,还是 proxychains 工具,又或是微信的代理设置,均无法连接,打开公众号后是舞萌首页,并且代理程序出现 go 报错信息。