[GH-ISSUE #4267] frp 配置文件不同版本不一样吗? #3362

Closed
opened 2026-05-05 14:10:06 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @snail2sky on GitHub (Jun 6, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4267

Bug Description

之前用的配置不生效了,之前用的是 ini格式的配置
现在 0.58.1 用的是toml,但是文档里并没有针对配置文件的变化给出解释
看文档关于配置的部分跟 版本对应不起来,如果 frp 使用的配置变了,能否保留之前的配置,让文档配置与二进制一一对应起来,文档版本化,否则真不知道 配置适用于哪个版本~

frpc Version

0.58.1

frps Version

0.58.1

System Architecture

arm64

Configurations

auth.token = "abc"

Logs

2024-06-06 10:44:45.080 [I] [sub/root.go:142] start frpc service for config file [/data0/apps/frp/frpc.toml]
2024-06-06 10:44:45.081 [I] [client/service.go:294] try to connect to server...
2024-06-06 10:44:45.239 [W] [client/service.go:297] connect to server error: session shutdown
2024-06-06 10:44:45.239 [I] [sub/root.go:160] frpc service for config file [/data0/apps/frp/frpc.toml] stopped
login to the server failed: session shutdown. With loginFailExit enabled, no additional retries will be attempted

Steps to reproduce

不知道文档中的配置与哪个版本相匹配,一会ini 一会toml 真的太迷惑了

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @snail2sky on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4267 ### Bug Description 之前用的配置不生效了,之前用的是 ini格式的配置 现在 0.58.1 用的是toml,但是文档里并没有针对配置文件的变化给出解释 看文档关于配置的部分跟 版本对应不起来,如果 frp 使用的配置变了,能否保留之前的配置,让文档配置与二进制一一对应起来,文档版本化,否则真不知道 配置适用于哪个版本~ ### frpc Version 0.58.1 ### frps Version 0.58.1 ### System Architecture arm64 ### Configurations auth.token = "abc" ### Logs 2024-06-06 10:44:45.080 [I] [sub/root.go:142] start frpc service for config file [/data0/apps/frp/frpc.toml] 2024-06-06 10:44:45.081 [I] [client/service.go:294] try to connect to server... 2024-06-06 10:44:45.239 [W] [client/service.go:297] connect to server error: session shutdown 2024-06-06 10:44:45.239 [I] [sub/root.go:160] frpc service for config file [/data0/apps/frp/frpc.toml] stopped login to the server failed: session shutdown. With loginFailExit enabled, no additional retries will be attempted ### Steps to reproduce 不知道文档中的配置与哪个版本相匹配,一会ini 一会toml 真的太迷惑了 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@wuai1024 commented on GitHub (Jun 6, 2024):

initoml配置的区别不是很大,使用最新版,会提示哪些已经失效,根据最新文档即可配置成功。

<!-- gh-comment-id:2151358870 --> @wuai1024 commented on GitHub (Jun 6, 2024): `ini`和`toml`配置的区别不是很大,使用最新版,会提示哪些已经失效,根据最新文档即可配置成功。
Author
Owner

@snail2sky commented on GitHub (Jun 6, 2024):

,会提示哪些已经失效,根据

好的 我再调调,当前我回滚到 0.51.3 了 [捂脸]

<!-- gh-comment-id:2151866529 --> @snail2sky commented on GitHub (Jun 6, 2024): > ,会提示哪些已经失效,根据 好的 我再调调,当前我回滚到 0.51.3 了 [捂脸]
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#3362
No description provided.