Closed alsingh1 closed 4 months ago
same error, version: 0.52.0
https://github.com/fatedier/frp/commit/307d1bfa3f2aff6d6ee1e43b0e0caeee115da443
It has been fixed but has not been updated to the release yet.
Currently, you can modify the config file in frps.toml
like this commit
这个问题仍然存在
same error on version 0.52.3
env win10
The latest version should be fine, even the default configuration has been almost completely removed in this commit https://github.com/fatedier/frp/commit/a6478aeac819e9bac5bf719f0c5259a5b6262c3e and moved to another full_example.toml
If there are still issues, please send the configuration file @plmcoder @0x1af2aec8f957
my config as follows and still not work, may be we should add an option --config-format
to specify config file format, and then tell us the detail error for the config file while verify like this: frps.exe verify -c frps.toml --config-format toml
bindPort = 8888
auth.method = "token"
auth.token = "................xxx"
log.to = "D:/apps/frps/logs/frps.log"
log.level = "info"
log.maxDays = 30
custom404Page = "D:/apps/nginx/html/40x.html"
The latest version should be fine, even the default configuration has been almost completely removed in this commit a6478ae and moved to another
full_example.toml
If there are still issues, please send the configuration file @plmcoder @0x1af2aec8f957
bindPort = 8888 auth.method = "token" auth.token = "................xxx" log.to = "D:/apps/frps/logs/frps.log" log.level = "info" log.maxDays = 30 custom404Page = "D:/apps/nginx/html/40x.html"
Your configuration has been tested and is also working correctly, can you take a screenshot? Or remove any sensitive information, and send the entire FRP folder directly
@ShiinaRinne My local configuration does not have this issue on version 0.52.3
.
同样出现问题,windows 2018 v0.52.3
toml不行,手动转换为json后。 用 frpc.exe -c frpc.json
可行
一样,版本0.52.3,win10
same error.
My env is docker, the version is 0.52.0
, and then I upgrated it to 0.52.3
. Both of them didn't work. I wonder how to handle it.
同样错误。环境是Ubuntu22.04LTS,只能手动改成json使用
value的值如果是字符串用""包起来试试看。 比如:
错误的
bindAddr = 0.0.0.0 bindPort = 7000 auth.method = token auth.token = xxx
正确的
bindAddr = "0.0.0.0" bindPort = 7000 auth.method = "token" auth.token = "xxx"
value的值如果是字符串用""包起来试试看。 比如:
错误的
bindAddr = 0.0.0.0 bindPort = 7000 auth.method = token auth.token = xxx
正确的
bindAddr = "0.0.0.0" bindPort = 7000 auth.method = "token" auth.token = "xxx"
果然是这个问题,非常感谢!
Met the same error. Solved it with check the configuration file step by stop and correct the wrong item, then it worked.
Toml在线编辑(校验)器, 字段重复也会报错,可以在线校验以下
原因应该在于字符串需要加上双引号
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Issue resolved as per suggestion
value的值如果是字符串用""包起来试试看。 比如:
错误的
bindAddr = 0.0.0.0 bindPort = 7000 auth.method = token auth.token = xxx
正确的
bindAddr = "0.0.0.0" bindPort = 7000 auth.method = "token" auth.token = "xxx"
非常感谢
Bug Description
Getting JSON unmarshaling error with default toml config file
frpc Version
0.52.0
frps Version
0.52.0
System Architecture
linux/amd64
Configurations
Logs
No response
Steps to reproduce
...
Affected area