mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1595] 配置在各个 proxy 中的 meta 导致frpc崩溃 #1266
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#1266
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 @QQ2017 on GitHub (Jan 6, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1595
配置在各个 proxy 中的 meta 导致frpc崩溃,去掉proxy 中的 meta 即可,是否还不支持 proxy 中的 meta呢
What version of frp are you using (./frpc -v or ./frps -v)?
0.31
What operating system and processor architecture are you using (
go env)?Windows10 x64 1909 ltsc
Configures you used:
frps:frps_full.ini
frpc:
[common]
token = 12345678
server_addr=192.168.1.8
server_port=7000
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin
meta_token = faketoken
meta_version = 1.0.0
[rdp9]
type = stcp
sk = 2abcdefg1
local_ip = 127.0.0.1
local_port = 3389
use_encryption = true
use_compression = true
meta_id = 444444
Steps to reproduce the issue:
1.启动frps
2.启动frpc
Describe the results you received:
goroutine 1 [running]:
github.com/fatedier/frp/models/config.(*BaseProxyConf).UnmarshalFromIni(0xc000132000, 0x95fd08, 0x0, 0xc000114098, 0x4, 0xc000106660, 0xc000132000, 0xc000132000)
/home/wcl/go_projects/src/github.com/fatedier/frp/models/config/proxy.go:223 +0x5b1
github.com/fatedier/frp/models/config.(*TcpProxyConf).UnmarshalFromIni(0xc000132000, 0x95fd08, 0x0, 0xc000114098, 0x4, 0xc000106660, 0x960446, 0x4)
/home/wcl/go_projects/src/github.com/fatedier/frp/models/config/proxy.go:553 +0x6a
github.com/fatedier/frp/models/config.NewProxyConfFromIni(0x95fd08, 0x0, 0xc000114098, 0x4, 0xc000106660, 0x0, 0x960402, 0x4, 0x3)
/home/wcl/go_projects/src/github.com/fatedier/frp/models/config/proxy.go:91 +0xfd
github.com/fatedier/frp/models/config.LoadAllConfFromIni(0x95fd08, 0x0, 0xc0001082c0, 0x149, 0xc0001060c0, 0x1b58, 0x0, 0x0, 0x960f68)
/home/wcl/go_projects/src/github.com/fatedier/frp/models/config/proxy.go:1013 +0x6d6
github.com/fatedier/frp/cmd/frpc/sub.runClient(0xc0000180d0, 0xa, 0xc0000bae00, 0x9603e2)
/home/wcl/go_projects/src/github.com/fatedier/frp/cmd/frpc/sub/root.go:186 +0x119
github.com/fatedier/frp/cmd/frpc/sub.glob..func4(0xe06480, 0xc000005180, 0x0, 0x2, 0x0, 0x0)
/home/wcl/go_projects/src/github.com/fatedier/frp/cmd/frpc/sub/root.go:92 +0x51
github.com/fatedier/frp/vendor/github.com/spf13/cobra.(*Command).execute(0xe06480, 0xc00004c090, 0x2, 0x3, 0xe06480, 0xc00004c090)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/spf13/cobra/command.go:762 +0x467
github.com/fatedier/frp/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xe06480, 0xc000004080, 0x15e73b2ab3a32d8c, 0xc00005a028)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/spf13/cobra/command.go:852 +0x2f1
github.com/fatedier/frp/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/spf13/cobra/command.go:800
github.com/fatedier/frp/cmd/frpc/sub.Execute()
/home/wcl/go_projects/src/github.com/fatedier/frp/cmd/frpc/sub/root.go:102 +0x34
main.main()
/home/wcl/go_projects/src/github.com/fatedier/frp/cmd/frpc/main.go:31 +0xb4
请按任意键继续. . .