[GH-ISSUE #3204] [Feature Request] frpc允许在第一次连接时重试连接到frps #2573

Closed
opened 2026-05-05 13:39:24 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @asdf2adsfad on GitHub (Dec 12, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3204

Describe the feature request

请求允许frpc在重试连接到frps超过指定次数和timeout之后才退出

这个特性对于这种情况有用:
在某些情况下frpc的机器还在启动中,尚未连接到互联网,此时frpc被服务启动,尝试dial dns server,发现host unreachable,随后frpc自动退出,导致这台frpc未能被frps发现

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @asdf2adsfad on GitHub (Dec 12, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3204 ### Describe the feature request 请求允许frpc在重试连接到frps超过指定次数和timeout之后才退出 这个特性对于这种情况有用: 在某些情况下frpc的机器还在启动中,尚未连接到互联网,此时frpc被服务启动,尝试dial dns server,发现host unreachable,随后frpc自动退出,导致这台frpc未能被frps发现 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@superzjg commented on GitHub (Dec 13, 2022):

[common]
# 首次登录服务器失败后是否退出,默认true,一般设为false
login_fail_exit = false

<!-- gh-comment-id:1347788899 --> @superzjg commented on GitHub (Dec 13, 2022): [common] **#** 首次登录服务器失败后是否退出,默认true,一般设为false login_fail_exit = false
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#2573
No description provided.