通告 欢迎访问爱刷机(原爱搜路由、爱搜啊博客aisoa.cn)

frpc登录login to server failed: authorization failed错误frpc客户端登录出错

2019-07-07
0评论
/
阅读
管理员

frpc登录login to server failed: authorization failed错误

frp使用过程中会出现各种错误信息,有些朋友不太清楚,打算记录一些常见的错误返回代码,这里介绍一下frpc客户端[W] [control.go:111] login to server failed: authorization failed的错误处理方法

login to server failed: authorization failed错误翻译下来就是“登录服务器失败:授权失败”

frpc登录成功正确的返回信息

C:\Users\Administrator>C:\Windows\ad\frpc.exe -c C:\Windows\ad\frpc.ini

2018/04/28 15:32:36 [I] [proxy_manager.go:299] proxy removed: []

2018/04/28 15:32:36 [I] [proxy_manager.go:309] proxy added: myname.chuantou]

2018/04/28 15:32:36 [I] [proxy_manager.go:332] visitor removed: []

2018/04/28 15:32:36 [I] [proxy_manager.go:341] visitor added: []

2018/04/28 15:32:36 [I] [control.go:242] [1f64bfaeccf6cb39] login to erver success, get run id [1f64bfaeccf6cb39], server udp port [7001]

2018/04/28 15:32:37 [I] [control.go:167] [1f64bfaeccf6cb39] [myname.xxorg] start proxy success

frpc登录失败时返回login to server failed: authorization failed

C:\Users\Administrator>C:\Windows\ad\frpc.exe -c C:\Windows\ad\frpc.ini

2018/04/28 15:31:31 [I] [proxy_manager.go:299] proxy removed: []

2018/04/28 15:31:31 [I] [proxy_manager.go:309] proxy added: [myname.chuantou]

2018/04/28 15:31:31 [I] [proxy_manager.go:332] visitor removed: []

2018/04/28 15:31:31 [I] [proxy_manager.go:341] visitor added: []

2018/04/28 15:31:31 [E] [control.go:232] authorization failed

2018/04/28 15:31:31 [W] [control.go:111] login to server failed: authorization failed authorization failed

login to server failed: authorization failed错误提示解决方法

login to server failed: authorization failed错误的原因及处理办法

login to server failed: authorization failed是因为token错误导致的,可以检查token的值是不是正确。

比如提供的免费frp内网穿透服务器的token值是shuaji.xyz

另外一种错误的原因是0.17.0以前的版本沿用了特权模式时候的写法privilege_token = shuaji.xyz

从0.17.0开始使用token = shuaji.xyz,所以检查是不是token的配置项名称错误了。


本站附件分享,如果附件失效,可以去找找看

诚通网盘附件百度网盘附件


标签: frpc frp
于2019-07-07发布