mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #510] free_12.2 tserver crashed #412
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#412
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 @liyiwu on GitHub (Nov 17, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/510
free_12.2 tserver crashed
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
Context (Environment)
ERROR err : run service [tserver:tserver] fail, ERR:tserver servcie crashed, ERR: interface conversion: interface {} is tunnel.TunnelServerArgs, not *tunnel.TunnelServerArgs
trace:goroutine 1 [running]:
runtime/debug.Stack(0xc0001242f0, 0xdc1e20, 0xc000241080)
/usr/local/go1.16.3/src/runtime/debug/stack.go:24 +0x9f
github.com/snail007/proxy/services.Run.func1(0x7ffda2536eb6, 0x7, 0xc0001248a8)
proxy/services/service.go:101 +0x76
panic(0xdc1e20, 0xc000241080)
/usr/local/go1.16.3/src/runtime/panic.go:965 +0x1b9
github.com/snail007/proxy/services/tunnel.(*TunnelServer).Start(0xc00026e0d0, 0xe8ff60, 0xc000030a50, 0x1027a28, 0xc0002220a0, 0xc000220fb0, 0xd)
proxy/services/tunnel/tunnel_server.go:315 +0x707
github.com/snail007/proxy/services/tunnel.(*TunnelServerManager).Start(0xc0001fe690, 0xd58480, 0xc0000309a0, 0x1027a28, 0xc0002220a0, 0x1, 0x0)
proxy/services/tunnel/tunnel_server.go:153 +0x7f1
github.com/snail007/proxy/services.Run(0x7ffda2536eb6, 0x7, 0x0, 0x0, 0xc000240f90, 0x0, 0x0)
proxy/services/service.go:108 +0x2bd
github.com/snail007/proxy/core/runner.doStart(0x7ffda2536eb6, 0x7, 0xc000064690, 0x6e, 0x0, 0x0, 0x1027a28, 0xc0002220a0, 0xf, 0xc00007c000, ...)
proxy/core/runner/runner.go:988 +0x101b8
github.com/snail007/proxy/core/runner.StartWithLogger(...)
proxy/core/runner/runner.go:74
main.main()
proxy/main.go:84 +0x145
Detailed Description
Possible Implementation
@snail007 commented on GitHub (Nov 21, 2022):
be fixed in next version