mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2011] frpc cannot connect, log as "send Login request to plugin error" #1598
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1598
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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)
@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
@MicyToy commented on GitHub (Sep 27, 2020):
It worked, and also I can add "token" . It seems like the "plugin" issue.
@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
@khs1994 commented on GitHub (Oct 9, 2020):
frps.ini中的 plugin 相关配置注释掉,因为你没有启动插件,所以 frps 连接不到插件,就报错了。@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.
@fatedier commented on GitHub (Oct 13, 2020):
@MicyToy Follow the document, not the full example configure file.