Skip to content

[BUG] Unable to import .ovpn files with auth username/password #522

Description

@israelfdez-quarks

Describe the bug
When importing an .ovpn file that uses username and password authentication via COSMIC's VPN settings, the import process fails with an error "VPN connection failed: username is required for Password and PasswordTIs auth"

What should happen?:
The file should be able to import, a new connection should be created that can be used to connect to the new VPN

Additional context

This is the error message as shown:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildersConnection builder API and validationopenvpnOpenVPN protocolovpn-parser.ovpn file parservpnChanges to VPN surface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions