[GH-ISSUE #4393] frpc 启动报错 failed to parse proxy proxies.plugin, err: invalid type [https2http] #3470

Closed
opened 2026-05-05 14:13:52 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @xielingyong918 on GitHub (Aug 20, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4393

Bug Description

frpc 启动时报错 failed to parse proxy proxies.plugin, err: invalid type [https2http]

frpc Version

0.60.0

frps Version

0.60.0

System Architecture

linux/amd64 Centos7

Configurations

Enable HTTPS for a local HTTP(S) service

#frps.ini

[common]
bind_port = 29000
vhost_http_port = 29003
vhost_https_port = 29007
dashboard_port = 29004
token = *****
max_pool_count = 20
#dashboard 用户名密码,默认都为 admin
dashboard_user = *****
dashboard_pwd = *****
log_level = info
log_file=/www/frp6.0/frp.log

#frpc.ini

[common]
server_addr = *****
server_port = 29000
token = *****

[[proxies]]
name = "plugin_https2http"
type = "https"
customDomains = ["a.example.com"]
[proxies.plugin]
type = "https2http"
localAddr = "192.168.103.104:3377"
crtPath = "./fullchain.crt"
keyPath = "./private.pem"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
#log.to = "./frpc.log"

Logs

Steps to reproduce

[root@logfile frp6.0]# ./frpc -c frpc.ini 
failed to parse proxy proxies.plugin, err: invalid type [https2http]

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @xielingyong918 on GitHub (Aug 20, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4393 ### Bug Description frpc 启动时报错 failed to parse proxy proxies.plugin, err: invalid type [https2http] ### frpc Version 0.60.0 ### frps Version 0.60.0 ### System Architecture linux/amd64 Centos7 ### Configurations Enable HTTPS for a local HTTP(S) service #frps.ini ```shell [common] bind_port = 29000 vhost_http_port = 29003 vhost_https_port = 29007 dashboard_port = 29004 token = ***** max_pool_count = 20 #dashboard 用户名密码,默认都为 admin dashboard_user = ***** dashboard_pwd = ***** log_level = info log_file=/www/frp6.0/frp.log ``` #frpc.ini ```shell [common] server_addr = ***** server_port = 29000 token = ***** [[proxies]] name = "plugin_https2http" type = "https" customDomains = ["a.example.com"] [proxies.plugin] type = "https2http" localAddr = "192.168.103.104:3377" crtPath = "./fullchain.crt" keyPath = "./private.pem" hostHeaderRewrite = "127.0.0.1" requestHeaders.set.x-from-where = "frp" #log.to = "./frpc.log" ``` ### Logs 无 ### Steps to reproduce ```shell [root@logfile frp6.0]# ./frpc -c frpc.ini failed to parse proxy proxies.plugin, err: invalid type [https2http] ``` ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:13:52 -06:00
Author
Owner

@xqzr commented on GitHub (Aug 23, 2024):

新(toml)旧(ini)格式不可混用,选择一种
(建议)https://github.com/fatedier/frp/tree/dev/conf
https://github.com/fatedier/frp/tree/dev/conf/legacy

<!-- gh-comment-id:2306583225 --> @xqzr commented on GitHub (Aug 23, 2024): 新(toml)旧(ini)格式不可混用,选择一种 **(建议)https://github.com/fatedier/frp/tree/dev/conf** _https://github.com/fatedier/frp/tree/dev/conf/legacy_
Author
Owner

@github-actions[bot] commented on GitHub (Sep 14, 2024):

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:2350741724 --> @github-actions[bot] commented on GitHub (Sep 14, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Author
Owner

@LinboLen commented on GitHub (May 5, 2025):

遇到同样的问题, 用新的toml格式可以解决问题,谢谢

<!-- gh-comment-id:2850747365 --> @LinboLen commented on GitHub (May 5, 2025): 遇到同样的问题, 用新的toml格式可以解决问题,谢谢
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#3470
No description provided.