[GH-ISSUE #4796] frps配置无效, #3787

Closed
opened 2026-05-05 14:25:32 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @dawarich on GitHub (May 15, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4796

Bug Description

token设置无效,客户端不设置token反而能连上

仪表盘也是无效配置

frpc Version

0.62.1

frps Version

0.62.1

System Architecture

linux/amd64 windows/amd64

Configurations

[common]
bind_port = 7100

根据文档中写的驼峰式命名,完全无效,只有下划线命名才生效

#

Decide if exit program when first login failed, otherwise continuous relogin to frps

default is true

loginFailExit = true

console or real logFile path like ./frpc.log

log.to = "./frpc.log"

trace, debug, info, warn, error

log.level = "info"
log.maxDays = 3

auth.method = "token"
auth.token = "123123"

仪表盘配置(修正字段名)

webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "123123"

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @dawarich on GitHub (May 15, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4796 ### Bug Description token设置无效,客户端不设置token反而能连上 仪表盘也是无效配置 ### frpc Version 0.62.1 ### frps Version 0.62.1 ### System Architecture linux/amd64 windows/amd64 ### Configurations [common] bind_port = 7100 # 根据文档中写的驼峰式命名,完全无效,只有下划线命名才生效 # [#](https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml) # Decide if exit program when first login failed, otherwise continuous relogin to frps # default is true loginFailExit = true # console or real logFile path like ./frpc.log log.to = "./frpc.log" # trace, debug, info, warn, error log.level = "info" log.maxDays = 3 auth.method = "token" auth.token = "123123" # 仪表盘配置(修正字段名) webServer.addr = "0.0.0.0" webServer.port = 7500 webServer.user = "admin" webServer.password = "123123" ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@superzjg commented on GitHub (May 16, 2025):

toml 和 ini 不要混用

<!-- gh-comment-id:2885372837 --> @superzjg commented on GitHub (May 16, 2025): toml 和 ini 不要混用
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#3787
No description provided.