[GH-ISSUE #4975] 0.64.0 darwin configuration error #3922

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

Originally created by @ysfl on GitHub (Sep 9, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4975

Bug Description

frp_0.64.0_darwin_arm64.tar.gz

This packaged version will cause errors when running frpc on macOS. I tried changing different configurations but couldn't start it. In the end, I successfully started it using a specific strong compatibility ini configuration

frpc Version

0.64.0

frps Version

0.64.0

System Architecture

macOS/15.6.1

Configurations

frpc.json

{
"serverAddr": "web.com",
"serverPort": 7000,
"authentication": {
"method": "token",
"token": "abcd1234"
},
"proxies": [
{
"name": "web",
"type": "tcp",
"localIP": "127.0.0.1",
"localPort": 82,
"remotePort": 7000
}
]
}

frpc.toml

serverAddr = "x.x.x.x"
serverPort = 7000
auth.method = "token"
auth.token = "abcd1234" # 令牌,必须与服务端一致 否则无法连接
proxies
name = "web"
type = http
local_port = 82
custom_domains = ["web.com"]

frpc.ini This version runs successfully

[common]
server_addr = web.com
server_port = 7000
token = abcd1234
[web]
type = tcp
local_ip = 127.0.0.1
local_port = 82
remote_port = 7000

Logs

./frpc

error:open ./frpc.ini: no such file or directory

cp frpc.toml frpc.ini
./frpc

error:json: cannot unmarshal string into Go value of type v1.ClientConfig

./frpc -c frpc.json

error:json: unknown field "authentication"
error:json: unknown field "token"
error:json: unknown field "auth.method"

./frpc -c frpc.ini Successfully run after rebuilding the ini file content

error:WARNING: ini format is deprecated and the support will be removed in the future, please use yaml/json/toml format instead!

Steps to reproduce

  1. download frp_0.64.0_darwin_arm64.tar.gz
  2. use the frpc.toml
  3. ./frpc

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @ysfl on GitHub (Sep 9, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4975 ### Bug Description [frp_0.64.0_darwin_arm64.tar.gz](https://github.com/fatedier/frp/releases/download/v0.64.0/frp_0.64.0_darwin_arm64.tar.gz) This packaged version will cause errors when running frpc on macOS. I tried changing different configurations but couldn't start it. In the end, I successfully started it using a specific strong compatibility ini configuration ### frpc Version 0.64.0 ### frps Version 0.64.0 ### System Architecture macOS/15.6.1 ### Configurations `frpc.json` > { "serverAddr": "web.com", "serverPort": 7000, "authentication": { "method": "token", "token": "abcd1234" }, "proxies": [ { "name": "web", "type": "tcp", "localIP": "127.0.0.1", "localPort": 82, "remotePort": 7000 } ] } `frpc.toml` > serverAddr = "x.x.x.x" serverPort = 7000 auth.method = "token" auth.token = "abcd1234" # 令牌,必须与服务端一致 否则无法连接 [[proxies]] name = "web" type = http local_port = 82 custom_domains = ["web.com"] `frpc.ini` This version runs successfully >[common] server_addr = web.com server_port = 7000 token = abcd1234 [web] type = tcp local_ip = 127.0.0.1 local_port = 82 remote_port = 7000 ### Logs `./frpc` > error:open ./frpc.ini: no such file or directory `cp frpc.toml frpc.ini` `./frpc` > error:json: cannot unmarshal string into Go value of type v1.ClientConfig `./frpc -c frpc.json` > error:json: unknown field "authentication" > error:json: unknown field "token" > error:json: unknown field "auth.method" `./frpc -c frpc.ini` Successfully run after rebuilding the ini file content > error:WARNING: ini format is deprecated and the support will be removed in the future, please use yaml/json/toml format instead! ### Steps to reproduce 1. download frp_0.64.0_darwin_arm64.tar.gz 2. use the frpc.toml 3. ./frpc ### Affected area - [ ] Docs - [x] Installation - [ ] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:30:04 -06:00
Author
Owner

@lishuangbest commented on GitHub (Sep 13, 2025):

Have you solved this problem?I have encountered the same problem as you

<!-- gh-comment-id:3287257573 --> @lishuangbest commented on GitHub (Sep 13, 2025): Have you solved this problem?I have encountered the same problem as you
Author
Owner

@ysfl commented on GitHub (Sep 13, 2025):

Have you solved this problem?I have encountered the same problem as you

ini config This version runs successfully

frpc.ini:

[common]
server_addr = web.com
server_port = 7000
token = abcd1234
[web]
type = tcp
local_ip = 127.0.0.1
local_port = 82
remote_port = 7000

Successfully run after rebuilding the ini file content:
./frpc -c frpc.ini

<!-- gh-comment-id:3287684656 --> @ysfl commented on GitHub (Sep 13, 2025): > Have you solved this problem?I have encountered the same problem as you ini config This version runs successfully frpc.ini: ``` [common] server_addr = web.com server_port = 7000 token = abcd1234 [web] type = tcp local_ip = 127.0.0.1 local_port = 82 remote_port = 7000 ``` Successfully run after rebuilding the ini file content: `./frpc -c frpc.ini`
Author
Owner

@github-actions[bot] commented on GitHub (Sep 28, 2025):

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

<!-- gh-comment-id:3342149345 --> @github-actions[bot] commented on GitHub (Sep 28, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3922
No description provided.