[GH-ISSUE #2011] frpc cannot connect, log as "send Login request to plugin error" #1598

Closed
opened 2026-05-05 13:01:11 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @MicyToy on GitHub (Sep 26, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2011

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.34.0

What operating system and processor architecture are you using (go env)?
Server is CentOS 7.8
Client Windows 10

Configures you used:
frps.ini

Steps to reproduce the issue:

  1. Configure a server listen on 7000, check 7000 is open.
  2. Configure a client web

frps.ini
bind_addr = 0.0.0.0
bind_port = 7000
kcp_bind_port = 7000
[plugin.user-manager]
addr = 127.0.0.1:9000
path = /handler
ops = Login

[plugin.port-manager]
addr = 127.0.0.1:9001
path = /handler
ops = NewProxy

Describe the results you received:
[E] [service.go:279] send Login request to plugin error
[W] [service.go:102] login to server failed: send Login request to plugin error
send Login request to plugin error

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @MicyToy on GitHub (Sep 26, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2011 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.34.0 **What operating system and processor architecture are you using (`go env`)?** Server is CentOS 7.8 Client Windows 10 **Configures you used:** frps.ini **Steps to reproduce the issue:** 1. Configure a server listen on 7000, check 7000 is open. 2. Configure a client web 3. frps.ini bind_addr = 0.0.0.0 bind_port = 7000 kcp_bind_port = 7000 [plugin.user-manager] addr = 127.0.0.1:9000 path = /handler ops = Login [plugin.port-manager] addr = 127.0.0.1:9001 path = /handler ops = NewProxy **Describe the results you received:** [E] [service.go:279] send Login request to plugin error [W] [service.go:102] login to server failed: send Login request to plugin error send Login request to plugin error **Describe the results you expected:** **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
Author
Owner

@fatedier commented on GitHub (Sep 27, 2020):

Try this simple configures first if you are not familiar with frp: https://github.com/fatedier/frp#access-your-computer-in-lan-by-ssh

<!-- gh-comment-id:699577560 --> @fatedier commented on GitHub (Sep 27, 2020): Try this simple configures first if you are not familiar with frp: https://github.com/fatedier/frp#access-your-computer-in-lan-by-ssh
Author
Owner

@MicyToy commented on GitHub (Sep 27, 2020):

It worked, and also I can add "token" . It seems like the "plugin" issue.

<!-- gh-comment-id:699583018 --> @MicyToy commented on GitHub (Sep 27, 2020): It worked, and also I can add "token" . It seems like the "plugin" issue.
Author
Owner

@fatedier commented on GitHub (Sep 27, 2020):

You can find how to use plugins on https://github.com/fatedier/frp/blob/dev/doc/server_plugin.md

<!-- gh-comment-id:699590906 --> @fatedier commented on GitHub (Sep 27, 2020): You can find how to use plugins on https://github.com/fatedier/frp/blob/dev/doc/server_plugin.md
Author
Owner

@khs1994 commented on GitHub (Oct 9, 2020):

frps.ini 中的 plugin 相关配置注释掉,因为你没有启动插件,所以 frps 连接不到插件,就报错了。

#[plugin.user-manager]
#addr = 127.0.0.1:9000
#path = /handler
#ops = Login

#[plugin.port-manager]
#addr = 127.0.0.1:9001
#path = /handler
#ops = NewProxy
<!-- gh-comment-id:706001258 --> @khs1994 commented on GitHub (Oct 9, 2020): `frps.ini` 中的 plugin 相关配置注释掉,因为你没有启动插件,所以 frps 连接不到插件,就报错了。 ```ini #[plugin.user-manager] #addr = 127.0.0.1:9000 #path = /handler #ops = Login #[plugin.port-manager] #addr = 127.0.0.1:9001 #path = /handler #ops = NewProxy ```
Author
Owner

@MicyToy commented on GitHub (Oct 13, 2020):

Thanks to @khs1994 , comment it and it worked.
Might add plugin configuration comment before [plugin.user-manager], or comment it as default.
For user first use might be more kindly.

<!-- gh-comment-id:707422717 --> @MicyToy commented on GitHub (Oct 13, 2020): Thanks to @khs1994 , comment it and it worked. Might add plugin configuration comment before `[plugin.user-manager]`, or comment it as default. For user first use might be more kindly.
Author
Owner

@fatedier commented on GitHub (Oct 13, 2020):

@MicyToy Follow the document, not the full example configure file.

<!-- gh-comment-id:707454729 --> @fatedier commented on GitHub (Oct 13, 2020): @MicyToy Follow the document, not the full example configure file.
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#1598
No description provided.