[GH-ISSUE #1595] 配置在各个 proxy 中的 meta 导致frpc崩溃 #1266

Closed
opened 2026-05-05 12:48:27 -06:00 by gitea-mirror · 0 comments
Owner

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
请按任意键继续. . .

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 请按任意键继续. . .
gitea-mirror 2026-05-05 12:48:27 -06:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1266
No description provided.