[GH-ISSUE #4106] unmarshal ProxyConfig error: json: unknown field "customDomains" #3240

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

Originally created by @Monkey-xu on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4106

Bug Description

我更新版本之后,配置没变,就起不来了。

frpc.toml
proxies
name = "XXXX"
type = "http"
localIp = "192.168.2.101"
subdomain = "x"
customDomains = ["x.xxx.com.cn"]

frpc Version

0.56.0

frps Version

0.56.0

System Architecture

linux/amd64

Configurations

frpc.toml
proxies
name = "XXXX"
type = "http"
localIp = "192.168.2.101"
subdomain = "x"
customDomains = ["x.xxx.com.cn"]

Logs

frpc | unmarshal ProxyConfig error: json: unknown field "customDomains"

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 @Monkey-xu on GitHub (Mar 27, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4106 ### Bug Description 我更新版本之后,配置没变,就起不来了。 frpc.toml [[proxies]] name = "XXXX" type = "http" localIp = "192.168.2.101" subdomain = "x" customDomains = ["x.xxx.com.cn"] ### frpc Version 0.56.0 ### frps Version 0.56.0 ### System Architecture linux/amd64 ### Configurations frpc.toml [[proxies]] name = "XXXX" type = "http" localIp = "192.168.2.101" subdomain = "x" customDomains = ["x.xxx.com.cn"] ### Logs frpc | unmarshal ProxyConfig error: json: unknown field "customDomains" ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] 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:05:30 -06:00
Author
Owner

@Geolem commented on GitHub (Mar 27, 2024):

我的也是:unmarshal ProxyConfig error: json: unknown field "remotePort"

<!-- gh-comment-id:2022112573 --> @Geolem commented on GitHub (Mar 27, 2024): 我的也是:unmarshal ProxyConfig error: json: unknown field "remotePort"
Author
Owner

@rockiecxh commented on GitHub (Apr 6, 2024):

same issue here.

# frpc configuration

user = "xxx"

serverAddr = "0.0.0.0"
serverPort = 1111

[[proxies]]
name = "x"
type = "http"
localIP = "192.168.1.1"
localPort = 100
customDomains = ["x.com"]
remotePort = 80
transport.useEncryption = true
transport.useCompression = true

frpc verify -c ./f.toml
unmarshal ProxyConfig error: json: unknown field "remotePort"

<!-- gh-comment-id:2040983500 --> @rockiecxh commented on GitHub (Apr 6, 2024): same issue here. ```toml # frpc configuration user = "xxx" serverAddr = "0.0.0.0" serverPort = 1111 [[proxies]] name = "x" type = "http" localIP = "192.168.1.1" localPort = 100 customDomains = ["x.com"] remotePort = 80 transport.useEncryption = true transport.useCompression = true ``` frpc verify -c ./f.toml unmarshal ProxyConfig error: json: unknown field "remotePort"
Author
Owner

@github-actions[bot] commented on GitHub (Apr 28, 2024):

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

<!-- gh-comment-id:2081265344 --> @github-actions[bot] commented on GitHub (Apr 28, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d 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#3240
No description provided.