mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4684] [Feature Request] loopLoginUntilSuccess Flag in ClientCommonConfig to decide to keep retrying to connect to server or exit #3699
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3699
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smodhave on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4684
Describe the feature request
I’m working on a project where I need multiple Kubernetes pods with FRP clients for high availability, but only one should be connected to the server by acquiring a lease. These pods are distributed across different availability zones.
There might be scenarios where the network in the availability zone of the pod that has acquired the lease goes down. In such cases, the FRP client will retry indefinitely, and the pod will not be able to release the lease because no error is thrown.
Additionally, there could be other situations where the user needs to take control and implement their own logic before retrying the connection if necessary.
Describe alternatives you've considered
Instead of loopLoginUntilSuccess flag, we can also have maxLoginRetries attribute.
Affected area
@fatedier commented on GitHub (Feb 24, 2025):
I don’t think this is the right way. You usually need to redesign your entire architecture to solve the problem.
@github-actions[bot] commented on GitHub (Mar 11, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.