mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2099] 0.34.3 doesn't recognize token in ini, but only use the token in cli arg. #1666
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#1666
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 @wxiaoguang on GitHub (Nov 23, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2099
[REQUIRED] hat version of frp are you using
Version: 0.34.3
[REQUIRED] What operating system and processor architecture are you using
OS: linux (possible all)
CPU architecture: amd64 (possible all)
[REQUIRED] description of errors
confile
log file
Steps to reproduce the issue
tokenin[common].[token]for both frpc and frpsINSTEAD, if I use
frps -t TheToken, then frpc can connect.Supplementary information
Can you guess what caused this issue
Wrong config & cli-argument logic
Checklist:
@wxiaoguang commented on GitHub (Nov 23, 2020):
Sorry but I think the problem is caused by the linux frps doesn't use
frps.iniin$PWD.@fatedier commented on GitHub (Nov 23, 2020):
Yes, it will start with default configures if you not specified config file path.
frps -c ./frps.ini@wxiaoguang commented on GitHub (Nov 23, 2020):
Well, a little misleading .... IMO it's better to tell users which config file they are using ...
And
frpc's behavior is different fromfrps, it seems thatfrpcrespects$PWD/frpc.ini.@fatedier commented on GitHub (Nov 23, 2020):
I keep the way just for compatible reason since
frpccan't start without any cmd parameters.