fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.34k stars 13.23k forks source link

Frpc一直启动不起来. #4360

Closed szzhongzi closed 2 months ago

szzhongzi commented 2 months ago

Bug Description

一开始是可以启动的..结果修改了端口重启四五次之后就一直Frpc启动不起来... 但是我吧ip和token修改成我另一台服务器的马上就能运行..

起不来日志显示如下:

[0mlogin to the server failed: token in login doesn't match token from configuration. With loginFailExit enabled, no additional retries will be attempted

[0m2024-07-31 08:51:51.877 [I] [sub/root.go:160] frpc service for config file [/frp/frpc.toml] stopped [0m2024-07-31 08:51:51.877 [W] [client/service.go:297] connect to server error: token in login doesn't match token from configuration [0m2024-07-31 08:51:51.875 [E] [client/service.go:279] token in login doesn't match token from configuration [0m2024-07-31 08:51:51.784 [I] [client/service.go:294] try to connect to server... 2024/07/31 08:51:51 | stdout | 2024-07-31 08:51:51.783 [I] [sub/root.go:142] start frpc service for config file [/frp/frpc.toml]

frpc Version

0.59.0

frps Version

0.59.0

System Architecture

linux/amd64

Configurations

frps: bindAddr = "0.0.0.0" bindPort = 7000

auth.method = "token" auth.token = "12332111"

webServer.addr = "0.0.0.0" webServer.port = 7500 webServer.user = "aliluya" webServer.password = "aliluyaadmin"

frpc: serverAddr = "122.130.90.30" serverPort = 7000 auth.method = "token" auth.token = "12332111"

Logs

[0mlogin to the server failed: token in login doesn't match token from configuration. With loginFailExit enabled, no additional retries will be attempted

[0m2024-07-31 08:51:51.877 [I] [sub/root.go:160] frpc service for config file [/frp/frpc.toml] stopped [0m2024-07-31 08:51:51.877 [W] [client/service.go:297] connect to server error: token in login doesn't match token from configuration [0m2024-07-31 08:51:51.875 [E] [client/service.go:279] token in login doesn't match token from configuration [0m2024-07-31 08:51:51.784 [I] [client/service.go:294] try to connect to server... 2024/07/31 08:51:51 | stdout | 2024-07-31 08:51:51.783 [I] [sub/root.go:142] start frpc service for config file [/frp/frpc.toml]

Steps to reproduce

  1. ...

Affected area

subei12 commented 2 months ago

看日志是token不对,建议把frps重启下,两边对应上token再启动frpc

szzhongzi commented 2 months ago

看日志是token不对,建议把frps重启下,两边对应上token再启动frpc

token没有问题 100%一样的..就是连不上 之后过了一两天 什么都不动..又连上了.. 但是 重启一下 又连不上!!!!不知道什么原因..又没大神知道的..!!