Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]注册的用户无法使用 #81

Open
xiaoyiwl opened this issue Jan 2, 2025 · 11 comments
Open

[BUG]注册的用户无法使用 #81

xiaoyiwl opened this issue Jan 2, 2025 · 11 comments

Comments

@xiaoyiwl
Copy link

xiaoyiwl commented Jan 2, 2025

用户注册以后添加客户端修改配置提示cannot get server
状态:已配置
运行信息:在线

报错:level=info msg="client [test111.c.1233313] config is empty, wait for server init" func=github.com/VaalaCat/frp-panel/biz/client.PullConfig file="/home/runner/work/frp-panel/frp-panel/biz/client/rpc_pull_config.go:70"

@xiaoyiwl
Copy link
Author

xiaoyiwl commented Jan 2, 2025

操作报错
{
"code": 500,
"msg": "cannot get server",
"body": {
"status": {
"code": 4,
"message": "cannot get server"
}
}
}

@VaalaCat
Copy link
Owner

VaalaCat commented Jan 2, 2025

看起来是选择的server没有初始化,使用client之前需要先配置好一个server

@xiaoyiwl
Copy link
Author

xiaoyiwl commented Jan 2, 2025

看起来是选择的server没有初始化,使用client之前需要先配置好一个server

存在server 在管理员账号也可以正常运行 使用注册账号新建客户端时就报错

@xiaoyiwl
Copy link
Author

xiaoyiwl commented Jan 2, 2025

image

@xiaoyiwl
Copy link
Author

xiaoyiwl commented Jan 2, 2025

用户账号无法操作 管理员账号可以正常使用,用户看起来不能配置default服务端

@VaalaCat
Copy link
Owner

VaalaCat commented Jan 2, 2025

用户账号无法操作 管理员账号可以正常使用

出于安全考虑,default server目前只允许管理员连接,因为连接后会暴露master的敏感api造成普通用户可访问的漏洞

@VaalaCat
Copy link
Owner

VaalaCat commented Jan 2, 2025

给其他用户使用建议使用docker在同一台服务器上部署一个server,与master隔离开

@xiaoyiwl
Copy link
Author

xiaoyiwl commented Jan 2, 2025

给其他用户使用建议使用docker在同一台服务器上部署一个server,与master隔离开

感谢解答!

@xiaoyiwl
Copy link
Author

xiaoyiwl commented Jan 2, 2025

管理员新建一个服务端 后续的用户无法查看到吗

@VaalaCat
Copy link
Owner

VaalaCat commented Jan 2, 2025

是的,目前每个用户只能查看自己创建的server,授权他人server的功能开发中

@xiaoyiwl
Copy link
Author

xiaoyiwl commented Jan 2, 2025

好的 捣鼓一晚上 还以为是自己操作不对 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants