Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container wont start using latest Dev build #333

Open
8 tasks done
juliemars opened this issue Jan 23, 2025 · 4 comments
Open
8 tasks done

Container wont start using latest Dev build #333

juliemars opened this issue Jan 23, 2025 · 4 comments

Comments

@juliemars
Copy link

Is there a pinned issue for this?

  • I have read the pinned issues and could not find my issue

Is there an existing or similar issue/discussion for this?

  • I have searched the existing issues
  • I have searched the existing discussions

Is there any comment in the documentation for this?

  • I have read the documentation, especially the FAQ and Troubleshooting parts

Is this related to a provider?

  • I have checked the provider repo for issues
  • My issue is NOT related to a provider

Are you using the latest release?

  • I am using the latest release

Have you tried using the dev branch latest?

  • I have tried using dev branch

Docker run config used

version: '3.3'
services:
transmission:
cap_add:
- NET_ADMIN
volumes:
- /docker/transmission-openvpn/Config-New:/config
- /docker/transmission-openvpn/IpVanish:/etc/openvpn/custom/
- /Downloads/Torrents:/data
- /Downloads/Complete:/downloads
image: haugene/transmission-openvpn:dev
network_mode: dockernet
container_name: transmission
environment:
- OPENVPN_PROVIDER=custom
- OPENVPN_CONFIG=ipvanish-NL-Amsterdam-ams-a01,ipvanish-NL-Amsterdam-ams-a24,ipvanish-NL-Amsterdam-ams-c16
- OPENVPN_USERNAME=SECRET
- OPENVPN_PASSWORD=SECRET
- LOCAL_NETWORK=192.0.0.0/24
- PUID=1031
- PGID=100
- HEALTH_CHECK_HOST=8.8.8.8
- WEBPROXY_ENABLED=true
- WEBPROXY_PORT=8888
- ENABLE_UFW=false
- UFW_ALLOW_GW_NET=false
- UFW_EXTRA_PORTS=
- UFW_DISABLE_IPTABLES_REJECT=false
- dns=8.8.8.8:8.8.4.4
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- SELFHEAL=true
hostname: transmission
logging:
driver: json-file
options:
max-size: 5m
restart: always
ports:
- 9091:9091
- 8888:8888

Current Behavior

Container will not start with the error Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/custom/ipvanish-NL-Amsterdam-ams-a01.ovpn:15: keysize (2.6.12)

Expected Behavior

Container Starts

How have you tried to solve the problem?

Reverted to Master and works fine
Reverted to latest Dev build and issue returns.

Log output

Starting container with revision: 587443d5c7d0de8309411a7e9ab7db5e02715b35

TRANSMISSION_HOME is currently set to: /config/transmission-home

Creating TUN device /dev/net/tun

Using OpenVPN provider: CUSTOM

Running with VPN_CONFIG_SOURCE auto

CUSTOM provider specified but not using default.ovpn, will try to find a valid config mounted to /etc/openvpn/custom

5 servers found in OPENVPN_CONFIG, ipvanish-NL-Amsterdam-ams-a01 chosen randomly

Starting OpenVPN using config ipvanish-NL-Amsterdam-ams-a01.ovpn

Modifying /etc/openvpn/custom/ipvanish-NL-Amsterdam-ams-a01.ovpn for best behaviour in this container

Modification: Point auth-user-pass option to the username/password file

Modification: Change ca certificate path

Modification: Change ping options

Modification: Update/set resolv-retry to 15 seconds

Modification: Change tls-crypt keyfile path

Modification: Set output verbosity to 3

Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop

Modification: Updating status for config failure detection

Setting OpenVPN credentials...

adding route to local network 192.0.0.0/24 via 192.20.0.1 dev eth0

2025-01-23 12:22:37 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.

Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/custom/ipvanish-NL-Amsterdam-ams-a01.ovpn:15: keysize (2.6.12)

Use --help for more information.

HW/SW Environment

- OS: Linux
- Docker: 27.5.1

Anything else?

Issue started after the Dev build on 23rd Jan, reverting to Master works fine.

@pkishino
Copy link
Collaborator

Dev uses newer openvpn version and I suggest you look into updating your ovpn config as the error indicates. I can’t see the ovpn profile, please share it, most likely it’s using deprecated methods

@juliemars
Copy link
Author

juliemars commented Jan 23, 2025

Thanks they are pulled from here https://configs.ipvanish.com/configs/

There was an issue awhile back when the container had issues so you had to put the config files manually into a folder and I just never switched back to using the default as it worked.

Edit: tried setting to ipvanish and not preselecting a server etc but issue remained

@jes1417
Copy link

jes1417 commented Jan 24, 2025

I am also seeing the same issue, I am using the default configs from the container.

@pkishino
Copy link
Collaborator

This is connected with the specific provider config, please try a different server or with custom and download the confit you want to test

@pkishino pkishino transferred this issue from haugene/docker-transmission-openvpn Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants