[GH-ISSUE #5056] 执行frpc但是报错unmarshal ProxyConfig error: json: unknown field "customDomains" #3977

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

Originally created by @chooseaidsleep on GitHub (Nov 13, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5056

Bug Description

使用这个语法customDomains = ["a.b.c"],然后执行frpc -c xx.toml会报错unmarshal ProxyConfig error: json: unknown field "customDomains"

frpc Version

0.65.0

frps Version

0.65.0

System Architecture

0.65.0

Configurations

proxies
name = "sthttp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 80
remotePort = 1080
transport.useEncryption = true
transport.useCompression = true
customDomains = ["a.b.c"]

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 @chooseaidsleep on GitHub (Nov 13, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/5056 ### Bug Description 使用这个语法customDomains = ["a.b.c"],然后执行frpc -c xx.toml会报错unmarshal ProxyConfig error: json: unknown field "customDomains" ### frpc Version 0.65.0 ### frps Version 0.65.0 ### System Architecture 0.65.0 ### Configurations [[proxies]] name = "sthttp" type = "tcp" localIP = "127.0.0.1" localPort = 80 remotePort = 1080 transport.useEncryption = true transport.useCompression = true customDomains = ["a.b.c"] ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [x] Docs - [x] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:31:51 -06:00
Author
Owner

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

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

<!-- gh-comment-id:3587596227 --> @github-actions[bot] commented on GitHub (Nov 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#3977
No description provided.