[GH-ISSUE #3752] [Feature Request] Auto retry on first connect. #2983

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

Originally created by @pituluk on GitHub (Nov 7, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3752

Describe the feature request

If the first connection fails FRP quits and doesnt retry, but if it loses connection after successful first connection it keeps retrying until it connects. It would be nice to have it keep retrying on first connection too for systems that might launch without access to internet yet.
"login to server failed: dial tcp x: connect: network is unreachable"

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 @pituluk on GitHub (Nov 7, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3752 ### Describe the feature request If the first connection fails FRP quits and doesnt retry, but if it loses connection after successful first connection it keeps retrying until it connects. It would be nice to have it keep retrying on first connection too for systems that might launch without access to internet yet. "login to server failed: dial tcp x: connect: network is unreachable" ### 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 13:55:36 -06:00
Author
Owner

@superzjg commented on GitHub (Nov 7, 2023):

Decide if exit program when first login failed, otherwise continuous relogin to frps, default is true.
loginFailExit = true

I see that the author has corrected the error message to quickly locate this point (not yet released).
184223cb2f (diff-37135e06c87eb7f15648ee3df06d54a2a52cab735ea4110e81610945fe38f7d4R123-R125)

<!-- gh-comment-id:1800422132 --> @superzjg commented on GitHub (Nov 7, 2023): Decide if exit program when first login failed, otherwise continuous relogin to frps, default is true. `loginFailExit = true` I see that the author has corrected the error message to quickly locate this point (not yet released). https://github.com/fatedier/frp/commit/184223cb2f240b844f90b3390645672d2225da88#diff-37135e06c87eb7f15648ee3df06d54a2a52cab735ea4110e81610945fe38f7d4R123-R125
Author
Owner

@github-actions[bot] commented on GitHub (Dec 8, 2023):

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

<!-- gh-comment-id:1846317588 --> @github-actions[bot] commented on GitHub (Dec 8, 2023): 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#2983
No description provided.