haugene / vpn-configs-contrib

A collection of configs for various VPN providers
GNU General Public License v3.0
174 stars 739 forks source link

Options error: --ca fails with 'mullvad_ca.crt': No such file or directory (errno=2) #197

Closed kushagharahi closed 1 year ago

kushagharahi commented 1 year ago

Is there a pinned issue for this?

Is there an existing or similar issue for this?

Is there any comment in the documentation for this?

Is this related to the container/transmission?

Are you using the latest release?

Have you tried using the dev branch latest?

Config used

    - name: OPENVPN_PROVIDER
      value: "MULLVAD"
    - name: OPENVPN_USERNAME

    - name: OPENVPN_PASSWORD

    - name: OPENVPN_OPTS
      value: "--inactive 3600 --ping 10 --ping-exit 60"
    - name: LOCAL_NETWORK

    - name: LOG_TO_STDOUT
      value: "true"
    - name: CREATE_TUN_DEVICE
      value: "false"

Current Behavior

Without OPENVPN_CONFIG defined, the container fails to start with the following error Options error: --ca fails with 'mullvad_ca.crt': No such file or directory (errno=2)

Expected Behavior

Without OPENVPN_CONFIG defined, the container starts

How have you tried to solve the problem?

Adding OPENVPN_CONFIG

Log output

Options error: --ca fails with 'mullvad_ca.crt': No such file or directory (errno=2)

Environment

- OS: Ubuntu 20
- Docker: K8s

Anything else?

No response

pkishino commented 1 year ago

please show the whole log and config.. need to check if it ran the modifier script etc..

kushagharahi commented 1 year ago

I'm sorry, for some reason it is now working without OPENVPN_CONFIG even though I could not getting it working last night. Unfortunately I don't have logs to provide. I'll run it without OPENVPN_CONFIG defined and see if the issue presents itself again.