qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
6.71k stars 331 forks source link

Bug: VPNSecure - encrypted key: illegal base64 data at input byte 0 #2209

Closed friki67 closed 2 months ago

friki67 commented 2 months ago

Is this urgent?

Yes

Host OS

Manjaro Linux

CPU arch

x86_64

VPN service provider

VPNSecure.me

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-03-26T07:27:44.668Z (commit 6b2f350)

What's the problem 🤔

Gluetun shuts down after giving me the error shown in the logs and the title. The key and cert are working (tested in Garuda Linux KDE network manager).

Share your logs (at least 10 lines)

💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2024-04-05T10:49:09Z WARN You are using the old environment variable HTTPPROXY_LOG, please consider changing it to 
2024-04-05T10:49:09Z INFO [routing] default route found: interface eth0, gateway 172.18.0.1, assigned IP 172.18.0.21 and family v4
2024-04-05T10:49:09Z INFO [routing] local ethernet link found: eth0
2024-04-05T10:49:09Z INFO [routing] local ipnet found: 172.18.0.0/16
2024-04-05T10:49:09Z INFO [firewall] enabling...
2024-04-05T10:49:09Z INFO [firewall] enabled successfully
2024-04-05T10:49:10Z INFO [storage] merging by most recent 19476 hardcoded servers and 19476 servers read from /gluetun/servers.json
2024-04-05T10:49:10Z ERROR VPN settings: OpenVPN settings: encrypted key: illegal base64 data at input byte 0
2024-04-05T10:49:10Z INFO Shutdown successful

Share your configuration

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=vpnsecure
      - OPENVPN_KEY_PASSPHRASE=mypass
      - SERVER_HOSTNAMES=us3.isponeder.com
      - PUID=1000
      - PGID=1000
      - FIREWALL_OUTBOUND_SUBNETS=172.18.0.0/24,192.168.99.0/24
    ports:
      - 9091:8080/tcp 
    restart: unless-stopped
    volumes:
      - /mnt/main/conf/gluetun/:/gluetun
github-actions[bot] commented 2 months ago

@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:

qdm12 commented 2 months ago

7b4befce61a56d945c3558188d79a856ba22880a should fix, please let me know if it does (don't forget to re-pull the latest image). Thanks!

friki67 commented 2 months ago

Fixed. Thank you.

github-actions[bot] commented 2 months ago

Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.

This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.