Skip to content

Hangs indefinitely if proxy+persist-tun is used and remote name could not be resolved #1848

Description

@ValdikSS

General information

  • Android Version: 10
  • Android Vendor/Custom ROM: LG
  • Device: LG V50
  • Version of the app (version number/play store version/self-built): 0.7.61 F-Droid

Description of the issue

With the configuration file like this:

persist-tun
remote nonexsting.domain 80
http-proxy 1.2.3.4 1234

Where the remote is a non-existing domain name (proxy knows about it, but not the global DNS), the application tries to resolve the name indefinitely, hanging in "Building configuration…" stage.
VPN could not be disconnected, only by force-closing the application.

I believe the preresolve option is the culprit, which is enabled due to persist-tun.
Disabling persist-tun in the configuration fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions