mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #900] token 一致报authorization failed #712
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#712
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 @kiseopt on GitHub (Aug 26, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/900
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.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
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.21.0
What operating system and processor architecture are you using (
go env)?frps :frp_0.21.0_linux_amd64
frpc : frp_0.21.0_windows_amd64
Configures you used:
frps :
[common]
bind_port = 7000
token = 12345678
vhost_http_port = 8080
frpc:
[common]
server_addr = ...
server_port = 7000
token = 12345678
[web]
type = http
local_port = 80
custom_domains = home.*.
Steps to reproduce the issue:
1.运行frps后
2.本地运行frpc就报authorization failed
3.
Describe the results you received:
2018/08/26 12:43:49 [I] [proxy_manager.go:300] proxy removed: []
2018/08/26 12:43:49 [I] [proxy_manager.go:310] proxy added: [web]
2018/08/26 12:43:49 [I] [proxy_manager.go:333] visitor removed: []
2018/08/26 12:43:49 [I] [proxy_manager.go:342] visitor added: []
2018/08/26 12:43:49 [E] [control.go:236] authorization failed
2018/08/26 12:43:49 [W] [control.go:113] login to server failed: authorization failed
authorization failed
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)
@kiseopt commented on GitHub (Sep 10, 2018):
补一下,内网环境无任何问题
不设置token可正常连接
但是Dashboard无法使用(无论是否设置token)
@koichoco commented on GitHub (Nov 17, 2018):
今天遇到了相同的问题(token和dashboard),原因大概是./frps默认不会加载配置文件(所以server端既没有token也没有dashboard),必须用./frps -c ./frps.ini
(但是客户端直接用./frpc会加载配置文件。。。)
@zema1 commented on GitHub (Nov 29, 2018):
这个确实有点坑,客户端和服务端要么都使用默认配置文件,要么都需要用户指定。现在的做法很容易产生误导
@lotus8888 commented on GitHub (Dec 26, 2019):
感谢,补充下windows下启动命令: 先CMD 进入 , 然后 frps -c ./frps.ini