mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4360] Frpc一直启动不起来. #3442
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @szzhongzi on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4360
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
[0m[1;34m2024-07-31 08:51:51.877 [I] [sub/root.go:160] frpc service for config file [/frp/frpc.toml] stopped
[0m[1;33m2024-07-31 08:51:51.877 [W] [client/service.go:297] connect to server error: token in login doesn't match token from configuration
[0m[1;31m2024-07-31 08:51:51.875 [E] [client/service.go:279] token in login doesn't match token from configuration
[0m[1;34m2024-07-31 08:51:51.784 [I] [client/service.go:294] try to connect to server...
2024/07/31 08:51:51 | stdout | [1;34m2024-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
[0m[1;34m2024-07-31 08:51:51.877 [I] [sub/root.go:160] frpc service for config file [/frp/frpc.toml] stopped
[0m[1;33m2024-07-31 08:51:51.877 [W] [client/service.go:297] connect to server error: token in login doesn't match token from configuration
[0m[1;31m2024-07-31 08:51:51.875 [E] [client/service.go:279] token in login doesn't match token from configuration
[0m[1;34m2024-07-31 08:51:51.784 [I] [client/service.go:294] try to connect to server...
2024/07/31 08:51:51 | stdout | [1;34m2024-07-31 08:51:51.783 [I] [sub/root.go:142] start frpc service for config file [/frp/frpc.toml]
Steps to reproduce
...
Affected area
@subei12 commented on GitHub (Jul 31, 2024):
看日志是
token不对,建议把frps重启下,两边对应上token再启动frpc@szzhongzi commented on GitHub (Aug 4, 2024):
token没有问题 100%一样的..就是连不上 之后过了一两天 什么都不动..又连上了..
但是 重启一下 又连不上!!!!不知道什么原因..又没大神知道的..!!