[GH-ISSUE #2919] hot reload can't use with config_dir parameter #2328

Closed
opened 2026-05-05 13:30:09 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @R1ckyH on GitHub (Apr 29, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2919

Bug Description

\frp>frpc reload --config_dir test
open ./frpc.ini: The system cannot find the file specified.
root@localhost:~/frp# ./frpc reload --config_dir lt
open ./frpc.ini: no such file or directory

frpc Version

0.42.0

frps Version

0.42.0

System Architecture

linux and windows amd64

Configurations

[common]
server_addr = 127.0.0.1
server_port = 7000

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

Logs

\frp>frpc verify --config_dir test
open ./frpc.ini: The system cannot find the file specified.

\frp>frpc reload --config_dir test
open ./frpc.ini: The system cannot find the file specified.

Steps to reproduce

  1. verify frpc with --config_dir
  2. reload frpc with --config_dir

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @R1ckyH on GitHub (Apr 29, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2919 ### Bug Description ``` \frp>frpc reload --config_dir test open ./frpc.ini: The system cannot find the file specified. ``` ``` root@localhost:~/frp# ./frpc reload --config_dir lt open ./frpc.ini: no such file or directory ``` ### frpc Version 0.42.0 ### frps Version 0.42.0 ### System Architecture linux and windows amd64 ### Configurations [common] server_addr = 127.0.0.1 server_port = 7000 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 ### Logs \frp>frpc verify --config_dir test open ./frpc.ini: The system cannot find the file specified. \frp>frpc reload --config_dir test open ./frpc.ini: The system cannot find the file specified. ### Steps to reproduce 1. verify frpc with --config_dir 2. reload frpc with --config_dir ### Affected area - [x] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:30:10 -06:00
Author
Owner

@fatedier commented on GitHub (Apr 29, 2022):

We won't provide full support for config_dir.

It's designed for simple use case and benchmark tests.

<!-- gh-comment-id:1113314687 --> @fatedier commented on GitHub (Apr 29, 2022): We won't provide full support for `config_dir`. It's designed for simple use case and benchmark tests.
Author
Owner

@github-actions[bot] commented on GitHub (May 30, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1140560587 --> @github-actions[bot] commented on GitHub (May 30, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2328
No description provided.