[GH-ISSUE #3707] send Login request to plugin error #2950

Closed
opened 2026-05-05 13:54:21 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @Rachelle333 on GitHub (Oct 21, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3707

Bug Description

send Login request to plugin [user-manager] error: Post "http://127.0.0.1:9000/handler?op=Login&version=0.1.0": dial tcp 127.0.0.1:9000: connect: connection refused

frpc Version

0.52.1

frps Version

0.52.1

System Architecture

linux/amd64

Configurations

bindAddr = "0.0.0.0"
bindPort = 7000

webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "admin"

auth.method = "token"
auth.token = "12345678"

httpPlugins
name = "user-manager"
addr = "127.0.0.1:9000"
path = "/handler"
ops = ["Login"]

httpPlugins
name = "port-manager"
addr = "127.0.0.1:9001"
path = "/handler"
ops = ["NewProxy"]

Logs

2023/10/21 23:15:16 [I] [root.go:102] frps uses config file: frps.toml
2023/10/21 23:15:16 [I] [service.go:155] plugin [user-manager] has been registered
2023/10/21 23:15:16 [I] [service.go:155] plugin [port-manager] has been registered
2023/10/21 23:15:16 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000
2023/10/21 23:15:16 [I] [service.go:210] frps kcp listen on udp 0.0.0.0:7000
2023/10/21 23:15:16 [I] [service.go:261] http service listen on 0.0.0.0:80
2023/10/21 23:15:16 [I] [service.go:276] https service listen on 0.0.0.0:443
2023/10/21 23:15:16 [I] [service.go:312] Dashboard listen on 0.0.0.0:7500
2023/10/21 23:15:16 [I] [root.go:111] frps started successfully

2023/10/21 23:15:22 [W] [manager.go:89] [reqid: 2d2db8c83e3cf9a7] send Login request to plugin [user-manager] error: Post "http://127.0.0.1:9000/handler?op=Login&version=0.1.0": dial tcp 127.0.0.1:9000: connect: connection refused
2023/10/21 23:15:22 [W] [service.go:410] register control error: send Login request to plugin error

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 @Rachelle333 on GitHub (Oct 21, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3707 ### Bug Description send Login request to plugin [user-manager] error: Post "http://127.0.0.1:9000/handler?op=Login&version=0.1.0": dial tcp 127.0.0.1:9000: connect: connection refused ### frpc Version 0.52.1 ### frps Version 0.52.1 ### System Architecture linux/amd64 ### Configurations bindAddr = "0.0.0.0" bindPort = 7000 webServer.addr = "0.0.0.0" webServer.port = 7500 webServer.user = "admin" webServer.password = "admin" auth.method = "token" auth.token = "12345678" [[httpPlugins]] name = "user-manager" addr = "127.0.0.1:9000" path = "/handler" ops = ["Login"] [[httpPlugins]] name = "port-manager" addr = "127.0.0.1:9001" path = "/handler" ops = ["NewProxy"] ### Logs 2023/10/21 23:15:16 [I] [root.go:102] frps uses config file: frps.toml 2023/10/21 23:15:16 [I] [service.go:155] plugin [user-manager] has been registered 2023/10/21 23:15:16 [I] [service.go:155] plugin [port-manager] has been registered 2023/10/21 23:15:16 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000 2023/10/21 23:15:16 [I] [service.go:210] frps kcp listen on udp 0.0.0.0:7000 2023/10/21 23:15:16 [I] [service.go:261] http service listen on 0.0.0.0:80 2023/10/21 23:15:16 [I] [service.go:276] https service listen on 0.0.0.0:443 2023/10/21 23:15:16 [I] [service.go:312] Dashboard listen on 0.0.0.0:7500 2023/10/21 23:15:16 [I] [root.go:111] frps started successfully 2023/10/21 23:15:22 [W] [manager.go:89] [reqid: 2d2db8c83e3cf9a7] send Login request to plugin [user-manager] error: Post "http://127.0.0.1:9000/handler?op=Login&version=0.1.0": dial tcp 127.0.0.1:9000: connect: connection refused 2023/10/21 23:15:22 [W] [service.go:410] register control error: send Login request to plugin error ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:54:21 -06:00
Author
Owner

@xqzr commented on GitHub (Oct 21, 2023):

确保 127.0.0.1:9000 可访问

<!-- gh-comment-id:1773906244 --> @xqzr commented on GitHub (Oct 21, 2023): 确保 `127.0.0.1:9000` 可访问
Author
Owner

@sugniii commented on GitHub (Oct 23, 2023):

保证127.0.0.1:9000可访问

如何保证9000端口可访问.这个插件是要自己安装吗,还是在frps的配置内写上就好,我在frps.toml有配置,但是我查询主机的9000端口未有监听呢.0.52.1版本

<!-- gh-comment-id:1774740492 --> @sugniii commented on GitHub (Oct 23, 2023): > 保证`127.0.0.1:9000`可访问 如何保证9000端口可访问.这个插件是要自己安装吗,还是在frps的配置内写上就好,我在frps.toml有配置,但是我查询主机的9000端口未有监听呢.0.52.1版本
Author
Owner

@xqzr commented on GitHub (Oct 23, 2023):

保证127.0.0.1:9000可访问

如何保证9000端口可访问.这个插件是要自己安装吗,还是在frps的配置内写上就好,我在frps.toml有配置,但是我查询主机的9000端口未有监听呢.0.52.1版本

需要自己安装
addr = "127.0.0.1:9000" 表示通过 127.0.0.1:9000 连接

<!-- gh-comment-id:1775306934 --> @xqzr commented on GitHub (Oct 23, 2023): > > 保证`127.0.0.1:9000`可访问 > > 如何保证9000端口可访问.这个插件是要自己安装吗,还是在frps的配置内写上就好,我在frps.toml有配置,但是我查询主机的9000端口未有监听呢.0.52.1版本 需要自己安装 `addr = "127.0.0.1:9000"` 表示通过 `127.0.0.1:9000` 连接
Author
Owner

@github-actions[bot] commented on GitHub (Nov 23, 2023):

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

<!-- gh-comment-id:1823694735 --> @github-actions[bot] commented on GitHub (Nov 23, 2023): Issues go stale after 30d 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#2950
No description provided.