mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4559] token in login doesn't match token from configuration #3606
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#3606
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 @AiENG07 on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4559
Bug Description
frps 和frpc两边token设置一样,但是报错token in login doesn't match token from configuration
如果不设置token就能正常连接
frpc Version
0.61.0
frps Version
0.61.0
System Architecture
Linux hcss-ecs-19b9 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Configurations
frps.toml
frpc.toml
Logs
frps
frpc
Steps to reproduce
Affected area
@fatedier commented on GitHub (Nov 27, 2024):
Based on the description of the issue, the possible causes of the problem are as follows:
frpsandfrpc, but an error occurs during login: "token in login doesn't match token from configuration." The connection works fine when no token is set.frps.tomlandfrpc.tomlfiles both have the same token set to12345678.frpsandfrpclogs show the error: "token in login doesn't match token from configuration."Possible Causes
This issue may be caused by the following:
frpsandfrpc.You can verify the following:
frps.tomlandfrpc.tomlare completely identical.frpsandfrpcare correct.If further investigation is needed, please provide specific file paths or related code changes for review.
@AiENG07 commented on GitHub (Nov 28, 2024):
经过反复查询资料发现,直接执行./frps这个命令会直接运行默认配置,而不执行我设置好的frps.toml 。于是我把执行命令改为./frps -c frps.toml就可以了。不知道为什么会这样,按理来说我的文件夹下就两个文件,一个frps执行程序,一个frps.toml配置文件,直接运行./frps 应该会去读取我的toml配置,可是没有。