frp内网穿透

frp错误处理:login to server failed: authorization failed

      frp使用过程中会出现各种错误信息,有些朋友不太清楚,打算记录一些常见的错误返回代码,这里介绍一下frpc客户端[W] [control.go:111] 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是因为token错误导致的,可以检查token的值是不是正确,比如本站提供的免费frp内网穿透服务器的token值是 www.chuantou.org ,另外一种错误的原因是0.17.0以前的版本沿用了特权模式时候的写法privilege_token = www.chuantou.org ,从0.17.0开始使用token = www.chuantou.org ,所以检查是不是token的配置项名称错误了。

赞(8)
未经允许不得转载:Frp穿透 » frp错误处理:login to server failed: authorization failed

评论 2

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    403 Forbidden
    nginx
    要怎么解决?

    云月8个月前 (05-01)回复
    • 更新0.18.0版本吧

      xx20088个月前 (05-04)回复