[GH-ISSUE #4820] 给原https配置添加域名后执行frpc reload命令无法做到热加载 #3805

Closed
opened 2026-05-05 14:26:10 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @monk-after-90s on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4820

Bug Description

https配置添加域名后执行frpc reload导致现有的长链接断开

frpc Version

0.61.2

frps Version

0.61.2

System Architecture

linux/amd64

Configurations

serverAddr = "********"
serverPort = 7000

# frp_test start
[[proxies]]
name = "frp_test"
type = "https"
customDomains = ["frp_test.****.*****"]

[proxies.plugin]
type = "https2http"
localAddr = "127.0.0.1:8006"
crtPath = "fullchain.pem"
keyPath = "privkey.key"
hostHeaderRewrite = ""frp_test.****.*****""
requestHeaders.set.x-from-where = "frp"
# frp_test end

Logs

No response

Steps to reproduce

  1. 上面的配置是一个HTTPS站点,8006上的服务是一个等待10s才响应的http GET接口;
  2. 浏览器访问URL“https://frp_test.****.*****”,浏览器转圈等待中
  3. 在customDomains中再添加一个域名"frp_test1.****.*****",执行“./frpc reload -c frpc.toml”热加载配置,则浏览器直接报错;
  4. 但是如果添加一个新的https配置块,执行“./frpc reload -c frpc.toml”热加载是成功的,不会导致原配置的断连。

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @monk-after-90s on GitHub (May 29, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4820 ### Bug Description https配置添加域名后执行frpc reload导致现有的长链接断开 ### frpc Version 0.61.2 ### frps Version 0.61.2 ### System Architecture linux/amd64 ### Configurations ```text serverAddr = "********" serverPort = 7000 # frp_test start [[proxies]] name = "frp_test" type = "https" customDomains = ["frp_test.****.*****"] [proxies.plugin] type = "https2http" localAddr = "127.0.0.1:8006" crtPath = "fullchain.pem" keyPath = "privkey.key" hostHeaderRewrite = ""frp_test.****.*****"" requestHeaders.set.x-from-where = "frp" # frp_test end ``` ### Logs _No response_ ### Steps to reproduce 1. 上面的配置是一个HTTPS站点,8006上的服务是一个等待10s才响应的http GET接口; 2. 浏览器访问URL“https://frp_test.****.*****”,浏览器转圈等待中; 3. 在customDomains中再添加一个域名"frp_test1.****.*****",执行“./frpc reload -c frpc.toml”热加载配置,则浏览器直接报错; 4. 但是如果添加一个新的https配置块,执行“./frpc reload -c frpc.toml”热加载是成功的,不会导致原配置的断连。 ### Affected area - [ ] Docs - [ ] Installation - [x] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:26:10 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 13, 2025):

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

<!-- gh-comment-id:2968638875 --> @github-actions[bot] commented on GitHub (Jun 13, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d 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#3805
No description provided.