mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4267] frp 配置文件不同版本不一样吗? #3362
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#3362
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 @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
@wuai1024 commented on GitHub (Jun 6, 2024):
ini和toml配置的区别不是很大,使用最新版,会提示哪些已经失效,根据最新文档即可配置成功。@snail2sky commented on GitHub (Jun 6, 2024):
好的 我再调调,当前我回滚到 0.51.3 了 [捂脸]