[GH-ISSUE #3939] [Feature Request] 服务器网络异常时,重试时间是如何确定的? #3127

Closed
opened 2026-05-05 14:01:28 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @liqilong2017 on GitHub (Jan 17, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/3939

Describe the feature request

请问,客户端的服务器网络异常时,多长时间会重试去连服务器端,重试时间是如何确定的?
文档里没有找到相关的配置

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 @liqilong2017 on GitHub (Jan 17, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/3939 ### Describe the feature request 请问,客户端的服务器网络异常时,多长时间会重试去连服务器端,重试时间是如何确定的? 文档里没有找到相关的配置 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] 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 14:01:28 -06:00
Author
Owner

@Becods commented on GitHub (Jan 17, 2024):

f7efbfeec5/client/service.go (L188-L217)

<!-- gh-comment-id:1895765063 --> @Becods commented on GitHub (Jan 17, 2024): https://github.com/fatedier/frp/blob/f7efbfeec53b64b85b256124b896430289933757/client/service.go#L188-L217
Author
Owner

@superzjg commented on GitHub (Jan 17, 2024):

上面有列出代码。
其实你可以自己看log文件,先让frpc连上服务器,再把frps服务器关掉,(frpc配置 loginFailExit = false ,这个非必要)然后看frpc的log,会有具体“等待多少秒重试”之类的log。

<!-- gh-comment-id:1895848055 --> @superzjg commented on GitHub (Jan 17, 2024): 上面有列出代码。 其实你可以自己看log文件,先让frpc连上服务器,再把frps服务器关掉,(frpc配置 `loginFailExit = false` ,这个非必要)然后看frpc的log,会有具体“等待多少秒重试”之类的log。
Author
Owner

@github-actions[bot] commented on GitHub (Feb 8, 2024):

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

<!-- gh-comment-id:1933171405 --> @github-actions[bot] commented on GitHub (Feb 8, 2024): Issues go stale after 21d 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#3127
No description provided.