[GH-ISSUE #3658] /api/proxy/tcp {"proxies":[]} #2916

Closed
opened 2026-05-05 13:52:55 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @xqzr on GitHub (Oct 10, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3658

Bug Description

/api/proxy/* 都没有数据

frpc Version

0.52.0

frps Version

0.52.0

System Architecture

linux/amd64

Configurations

{
 "webServer": {
  "addr": "::1",
  "port": 7501,
  "user": "●●●●",
  "password": "●●●●"
 }
}

Logs

2023/10/11 00:56:10 [I] [dashboard_api.go:192] Http request: [/api/proxy/tcp]
2023/10/11 00:56:10 [W] [dashboard_api.go:214] unmarshal proxy [●●●●] conf info error: unknown plugin type:
2023/10/11 00:56:10 [I] [dashboard_api.go:186] Http response [/api/proxy/tcp]: code [200]

Steps to reproduce

  1. curl -s ●●●●:●●●●@[::1]:7501/api/serverinfo | jq .proxy_type_count
{
  "https": 3,
  "tcp": 12,
  "udp": 3,
  "xtcp": 8
}
  1. curl -s ●●●●:●●●●@[::1]:7501/api/proxy/tcp | jq .
{
  "proxies": []
}

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @xqzr on GitHub (Oct 10, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3658 ### Bug Description `/api/proxy/*` 都没有数据 ### frpc Version 0.52.0 ### frps Version 0.52.0 ### System Architecture linux/amd64 ### Configurations ```json { "webServer": { "addr": "::1", "port": 7501, "user": "●●●●", "password": "●●●●" } } ``` ### Logs ``` 2023/10/11 00:56:10 [I] [dashboard_api.go:192] Http request: [/api/proxy/tcp] 2023/10/11 00:56:10 [W] [dashboard_api.go:214] unmarshal proxy [●●●●] conf info error: unknown plugin type: 2023/10/11 00:56:10 [I] [dashboard_api.go:186] Http response [/api/proxy/tcp]: code [200] ``` ### Steps to reproduce 1. `curl -s ●●●●:●●●●@[::1]:7501/api/serverinfo | jq .proxy_type_count` ```json { "https": 3, "tcp": 12, "udp": 3, "xtcp": 8 } ``` 2. `curl -s ●●●●:●●●●@[::1]:7501/api/proxy/tcp | jq .` ```json { "proxies": [] } ``` ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [X] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [X] Extensions - [ ] Others
Author
Owner

@sfdex commented on GitHub (Oct 11, 2023):

I have the same issue as you

<!-- gh-comment-id:1756700285 --> @sfdex commented on GitHub (Oct 11, 2023): I have the same issue as you
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#2916
No description provided.