OpenVPN / OpenVPN/openvpn

OpenVPN client tries to reconnect infinite times when connection is dropped locking out user accounts

Open
#479 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

I have tried ;auto_connect no and

connect-retry-max 1

But there is no way to stop this behavior. If the client loses connectivity while the user is away, it tries endlessly to reconnect locking user accounts out.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the auto_connect and connect-retry-max configuration options through the OpenVPN client reconnect behavior. The report does not name files or tests, so first locate the relevant reconnect handling and its existing coverage. Done means a dropped connection no longer retries indefinitely when the configured retry limit is one, without locking out user accounts.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.