Skip to content
New issue

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

无法运行 #4

Closed
simplove opened this issue Jun 4, 2023 · 4 comments
Closed

无法运行 #4

simplove opened this issue Jun 4, 2023 · 4 comments

Comments

@simplove
Copy link

simplove commented Jun 4, 2023

2023/06/04 10:47:24 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xb6fbd4]

goroutine 6 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00010df30?)
github.com/gorilla/websocket@v1.5.0/conn.go:345 +0x14
github.com/xgadget-lab/nexttrace/cmd.Excute.func1.1()
github.com/xgadget-lab/nexttrace/cmd/cmd.go:161 +0x25
github.com/xgadget-lab/nexttrace/cmd.Excute.func1()
github.com/xgadget-lab/nexttrace/cmd/cmd.go:165 +0x1a7
created by github.com/xgadget-lab/nexttrace/cmd.Excute
github.com/xgadget-lab/nexttrace/cmd/cmd.go:150 +0x135f

@LaMP57
Copy link

LaMP57 commented Jun 4, 2023

M2 Mac
Version 1.2.1.0
同样的问题

Update: 更换 IP Geo Provider 后正常

@Archeb
Copy link
Owner

Archeb commented Jun 4, 2023

一般出现 dial: websocket: bad handshake 的问题,是 NextTrace 在访问 GeoIP API 的时候遇到异常,但是因为它并没有在输出中给出具体的原因,所以OpenTrace作为GUI Wrapper也没办法进一步对用户作出提示,只能原样把输出打印出来。您可以更换 IP Geo Provider 试一下。

目前上游 NextTrace 已经在重构,只能希望他们能减少此类问题并且添加更清晰的错误输出。

@Archeb Archeb closed this as completed Jun 4, 2023
@tsosunchia
Copy link
Contributor

LEOMOEAPI在大陆部分地区访问受阻,这是已知的问题,除了建议您配置透明代理 or 自行配置反代没有别的办法了。

2023/06/04 10:47:24 dial: websocket: bad handshake panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0xb6fbd4]

goroutine 6 [running]: github.com/gorilla/websocket.(*Conn).Close(0xc00010df30?) github.com/gorilla/websocket@v1.5.0/conn.go:345 +0x14 github.com/xgadget-lab/nexttrace/cmd.Excute.func1.1() github.com/xgadget-lab/nexttrace/cmd/cmd.go:161 +0x25 github.com/xgadget-lab/nexttrace/cmd.Excute.func1() github.com/xgadget-lab/nexttrace/cmd/cmd.go:165 +0x1a7 created by github.com/xgadget-lab/nexttrace/cmd.Excute github.com/xgadget-lab/nexttrace/cmd/cmd.go:150 +0x135f

@Archeb Archeb mentioned this issue Jun 5, 2023
@tsosunchia
Copy link
Contributor

您可以查看此处,可能有助于解答您的问题

@Archeb Archeb mentioned this issue Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants