[GH-ISSUE #4732] unmarshal ProxyConfig error: json: unknown field "remotePort" #3737

Closed
opened 2026-05-05 14:23:42 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @whonism on GitHub (Mar 27, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4732

Bug Description

[admin@TS451D frp_0.61.2_linux_amd64]# cat frpc.toml
serverAddr = ""
serverPort = 55123
auth.method = "token"
auth.token = "
"

proxies
name = "nas"
type = "http"
localIP = "127.0.0.1"
localPort = 6363
remotePort = 7100
[admin@TS451D frp_0.61.2_linux_amd64]# ./frpc -c frpc.toml
unmarshal ProxyConfig error: json: unknown field "remotePort"
[admin@TS451D frp_0.61.2_linux_amd64]#

frpc Version

0.61.2

frps Version

0.61.2

System Architecture

linux/amd64

Configurations

NA

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 @whonism on GitHub (Mar 27, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4732 ### Bug Description [admin@TS451D frp_0.61.2_linux_amd64]# cat frpc.toml serverAddr = "*" serverPort = 55123 auth.method = "token" auth.token = "*" [[proxies]] name = "nas" type = "http" localIP = "127.0.0.1" localPort = 6363 remotePort = 7100 [admin@TS451D frp_0.61.2_linux_amd64]# ./frpc -c frpc.toml unmarshal ProxyConfig error: json: unknown field "remotePort" [admin@TS451D frp_0.61.2_linux_amd64]# ### frpc Version 0.61.2 ### frps Version 0.61.2 ### System Architecture linux/amd64 ### Configurations NA ### 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
gitea-mirror 2026-05-05 14:23:42 -06:00
Author
Owner

@xqzr commented on GitHub (Mar 27, 2025):

name = "nas"
type = "http"
localIP = "127.0.0.1"
localPort = 6363
remotePort = 7100

type = "http" 没有 remotePort

<!-- gh-comment-id:2759541148 --> @xqzr commented on GitHub (Mar 27, 2025): > name = "nas" > type = "http" > localIP = "127.0.0.1" > localPort = 6363 > remotePort = 7100 `type = "http"` 没有 `remotePort`
Author
Owner

@github-actions[bot] commented on GitHub (Apr 11, 2025):

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

<!-- gh-comment-id:2795499856 --> @github-actions[bot] commented on GitHub (Apr 11, 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#3737
No description provided.