mirror of
https://github.com/Archeb/opentrace.git
synced 2026-04-26 01:05:55 +03:00
[GH-ISSUE #4] 无法运行 #3
Labels
No labels
bug
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentrace#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simplove on GitHub (Jun 4, 2023).
Original GitHub issue: https://github.com/Archeb/opentrace/issues/4
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
@shinciao commented on GitHub (Jun 4, 2023):
M2 Mac
Version 1.2.1.0
同样的问题
Update: 更换 IP Geo Provider 后正常
@Archeb commented on GitHub (Jun 4, 2023):
一般出现
dial: websocket: bad handshake的问题,是 NextTrace 在访问 GeoIP API 的时候遇到异常,但是因为它并没有在输出中给出具体的原因,所以OpenTrace作为GUI Wrapper也没办法进一步对用户作出提示,只能原样把输出打印出来。您可以更换 IP Geo Provider 试一下。目前上游 NextTrace 已经在重构,只能希望他们能减少此类问题并且添加更清晰的错误输出。
@tsosunchia commented on GitHub (Jun 4, 2023):
LEOMOEAPI在大陆部分地区访问受阻,这是已知的问题,除了建议您配置透明代理 or 自行配置反代没有别的办法了。
@tsosunchia commented on GitHub (Jun 6, 2023):
您可以查看此处,可能有助于解答您的问题