[GH-ISSUE #950] frpc api Unauthorized #754

Closed
opened 2026-05-05 12:29:00 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @TelDragon on GitHub (Oct 22, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/950

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)?
Centos7_x86_64
windows7 amd64

Configures you used:

admin_addr = 0.0.0.0
admin_port = 7400
admin_user = admin123
admin_passwd = admin123

Steps to reproduce the issue:

  1. 当开启frpc api 接口时,账号密码明明正确,依旧提示 Unauthorized
  2. 当再 admin.go 文件注释掉
//	user, passwd := g.GlbClientCfg.AdminUser, g.GlbClientCfg.AdminPwd
//	router.Use(frpNet.NewHttpAuthMiddleware(user, passwd).Middleware)

绕过口令检测,没问题。
3.

Describe the results you received:

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 @TelDragon on GitHub (Oct 22, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/950 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`)?** Centos7_x86_64 windows7 amd64 **Configures you used:** ``` admin_addr = 0.0.0.0 admin_port = 7400 admin_user = admin123 admin_passwd = admin123 ``` **Steps to reproduce the issue:** 1. 当开启frpc api 接口时,账号密码明明正确,依旧提示 Unauthorized 2. 当再 admin.go 文件注释掉 ``` // user, passwd := g.GlbClientCfg.AdminUser, g.GlbClientCfg.AdminPwd // router.Use(frpNet.NewHttpAuthMiddleware(user, passwd).Middleware) ``` 绕过口令检测,没问题。 3. **Describe the results you received:** **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

@TelDragon commented on GitHub (Nov 8, 2018):

github 出故障,问题重复。

<!-- gh-comment-id:436843075 --> @TelDragon commented on GitHub (Nov 8, 2018): github 出故障,问题重复。
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#754
No description provided.