-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Maximum option line length (256) exceeded #2663
Comments
As far as I know, OPENVPN_CONFIG_URL is not required for NORDVPN: https://haugene.github.io/docker-transmission-openvpn/provider-specific/ Could you point out where in the documentation it's mentioned ? it could be an error. also, when migrating from an older version, transmission config moved, back in 2021: downloaded files and config are in two different volumes now. You may wish to adapt to that change: docker-transmission-openvpn/openvpn/start.sh Lines 25 to 30 in 445261a
|
Thanks for the feedback. When I first noticed transmission had gone down I looked into the logs and found the below, so proceeded to set OPENVPN_CONFIG_URL. (So, I did not see it in the docs) I'm not entirely sure what happened, but it looks like at some point my Login/Pass, and even that I was using NORD was lost from the config. It's been a long time since I'd touched it (hence not being up to date with the 2021 config move!) and in the meantime docker on synology transitioned to "Container Manager", Synology OS updated, Haugene Transmission updated... it could have been any number of things. Log:
I've updated my settings:
Now I'm getting an authentication failure. I'm a bit confused about this one as well, at first I assumed I had entered the password into the settings incorrectly, but I tried it on the Nord GUI with no issues, and deleted and re-pasted a couple times just to make sure there were no typos. Logs:
|
user login + password is no more authorized with nordvpn: #2642 you can, also, define a token in nordaccount , then use it in the container: (set in USERNAME, PASSWORD='' ) |
closing as this is due to user setup and outdated config.. |
Is there a pinned issue for this?
Is there an existing or similar issue/discussion for this?
Is there any comment in the documentation for this?
Is this related to a provider?
Are you using the latest release?
Have you tried using the dev branch latest?
Docker run config used
Created using synology container manager, but here are the environment variables:
CREATE_TUN_DEVICE | true
DROP_DEFAULT_ROUTE | None
ENABLE_UFW | false
GLOBAL_APPLY_PERMISSIONS | true
HEALTH_CHECK_HOST | google.com
LOG_TO_STDOUT | false
NORDVPN_CATEGORY | legacy_p2p
NORDVPN_COUNTRY | NL
NORDVPN_PROTOCOL | tcp
OPENVPN_CONFIG_URL | https://github.com/haugene/vpn-configs-contrib/blob/main/openvpn/nordvpn/configure-openvpn.sh
OPENVPN_OPTS | --inactive 3600 --ping 10 --ping-exit 60
OPENVPN_PASSWORD | ****
OPENVPN_PROVIDER | NORDVPN
OPENVPN_USERNAME | ****
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PEER_DNS | true
PEER_DNS_PIN_ROUTES | true
PGID | None
PUID | None
REVISION | b33d0fe
SELFHEAL | false
TRANSMISSION_DOWNLOAD_DIR | /data/completed
TRANSMISSION_HOME | /config/transmission-home
TRANSMISSION_INCOMPLETE_DIR | /data/incomplete
TRANSMISSION_RPC_PASSWORD | None
TRANSMISSION_RPC_PORT | 9091
TRANSMISSION_RPC_USERNAME | None
TRANSMISSION_WATCH_DIR | /data/watch
UFW_ALLOW_GW_NET | false
UFW_DISABLE_IPTABLES_REJECT | false
UFW_EXTRA_PORTS | None
WEBPROXY_ENABLED | false
WEBPROXY_PASSWORD | None
WEBPROXY_PORT | 8118
WEBPROXY_USERNAME | None
Current Behavior
Startup fails with an error Maximum option line length (256) exceeded
Expected Behavior
Starts sucessfully
How have you tried to solve the problem?
Transmission had been running successfully for some time, but it seems an update to a newer version caused it to stop working. After reading the documentation and logs I saw I needed to add OPENVPN_CONFIG_URL and OPENVPN_PROVIDER, but after adding them I was met with the option line length error and not sure how to resolve. I tried looking for related text inside the vpn config file, but didn't see anything and have run out of ideas (https://github.com/haugene/vpn-configs-contrib/blob/main/openvpn/nordvpn/configure-openvpn.sh)
Log output
Starting container with revision: b33d0fe
TRANSMISSION_HOME is currently set to: /config/transmission-home
WARNING: Deprecated. Found old default transmission-home folder at /data/transmission-home, setting this as TRANSMISSION_HOME. This might break in future versions.
We will fallback to this directory as long as the folder exists. Please consider moving it to /config/transmission-home
Creating TUN device /dev/net/tun
Using OpenVPN provider: NORDVPN
Found URL to single OpenVPN config, will download and use it.
Modifying /etc/openvpn/nordvpn/downloaded_config.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...
Options error: In /etc/openvpn/nordvpn/downloaded_config.ovpn:1: Maximum option line length (256) exceeded, line starts with {"payload":{"allShortcutsEnabled":false,"fileTree":{"openvpn/nordvpn":{"items":[{"name":"configure-openvpn.sh","path":"openvpn/nordvpn/configure-openvpn.sh","contentType":"file"}],"totalCount":1},"openvpn":{"items":[{"name":"anonine","path":"openvpn/anonin
Use --help for more information.
HW/SW Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: