mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #502] panic: send on closed channel #383
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#383
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 @terry-fei on GitHub (Oct 30, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/502
What version of frp are you using (./frpc -v or ./frps -v)?
0.13
What operating system and processor architecture are you using (
go env)?GOARCH="amd64"
GOBIN="/usr/local/go/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/itman/gopath"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build283162280=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Configures you used:
frps.ini
vhost_http_port = 8080
bind_port = 7000
frpc.ini
[web01]
type = http
local_ip = 192.168.100.200
local_port = 8081
custom_domains = somedomain
Steps to reproduce the issue:
1.先断开客户端
2.请求相关域名
3.服务端有几率crash
Describe the results you received:
panic: send on closed channel
goroutine 233 [running]:
github.com/fatedier/frp/utils/vhost.(*VhostMuxer).handle(0xc420050aa0, 0xa7d820, 0xc4203b8c40)
/home/itman/gopath/src/github.com/fatedier/frp/utils/vhost/vhost.go:165 +0x4e3
created by github.com/fatedier/frp/utils/vhost.(*VhostMuxer).run
/home/itman/gopath/src/github.com/fatedier/frp/utils/vhost/vhost.go:117 +0x73
@fatedier commented on GitHub (Oct 30, 2017):
错误日志方便多贴一些吗?
@terry-fei commented on GitHub (Oct 30, 2017):
服务器报的只有这些信息,还有一个很严重的问题,就是http代理,开启一段时间就会断开
只要出现这个信息,就必须重启了,不然永远访问不了
@fatedier commented on GitHub (Oct 31, 2017):
不同的问题可以另开一个 issue,前面的问题我需要看一下。
@fatedier commented on GitHub (Nov 1, 2017):
定位到问题了,已 fix。
@terry-fei commented on GitHub (Nov 1, 2017):
👍