Replies: 2 comments
-
Migrated to discussion as this is not a container bug, this is a problem related to your setup, specifically DNS, see the second line in log. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your input
and I tried a different DNS config : 8.8.8.8, 8.8.4.4, 1.1.1.1, my box dns 192.168.1.1... Here is the logs, and as you can see no DNS warning **`Starting container with revision: 20877f1 Transmission will run asUser name: abc
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
sudo docker run --name="transmission-openvpn" --privileged -d
-v /volume1/docker/transmission-openvpn_2/custom:/data
-v /etc/localtime:/etc/localtime:ro
-v /volume1/docker/transmission-openvpn_2/custom/default.ovpn:/etc/openvpn/custom/default.ovpn:ro
-v /volume1/docker/transmission-openvpn_2/custom/auth.txt:/etc/openvpn/custom/auth.txt:ro
-v /volume1/docker/transmission-openvpn_2/custom/key.pem:/etc/openvpn/custom/key.pem:ro
-v /volume1/docker/transmission-openvpn_2/custom/client.crt:/etc/openvpn/custom/client.crt:ro
-v /volume1/docker/transmission-openvpn_2/custom/ca.crt:/etc/openvpn/custom/ca.crt:ro
-v /volume1/docker/transmission-openvpn_2/resolv.conf:/etc/resolv.conf
-e OPENVPN_PROVIDER=custom
-e CREATE_TUN_DEVICE=true
-e OPENVPN_CONFIG=default
-e OPENVPN_USERNAME=**********
-e OPENVPN_PASSWORD=*********
-e WEBPROXY_ENABLED=false
-e LOCAL_NETWORK=192.168.1.0/24
-e OPENVPN_OPTS="--inactive 3600 --ping 10 --ping-exit 60"
-e TRANSMISSION_WEB_UI=transmission-web-control
-e TZ=Canada/Eastern
-e PUID=1037
-e PGID=100
-p 9091:9091
-p 8888:8888
--log-driver json-file
--log-opt max-size=10m
--sysctl net.ipv6.conf.all.disable_ipv6=0
--dns 8.8.8.8 --dns 8.8.4.4
haugene/transmission-openvpn
Current Behavior
[2022-05-19 15:42:46.864] Mayans+M+C+S04E05+720p+WEB+H264+PLZPROPER Scrape error: Could not connect to tracker (announcer.c:1279)
[2022-05-19 15:42:46.864] Mayans+M+C+S04E05+720p+WEB+H264+PLZPROPER Retrying scrape in 3640 seconds. (announcer.c:1288)
[2022-05-19 15:42:46.864] Mayans+M+C+S04E03+720p+WEB+H264+PECULATE Scrape error: Could not connect to tracker (announcer.c:1279)
Expected Behavior
Torrent start downloading
How have you tried to solve the problem?
Generated by openvpn for interface tun0
nameserver 8.8.8.8
nameserver 8.8.4.4
Log output
Starting container with revision: 20877f1
WARNING: initial DNS resolution test failed
Creating TUN device /dev/net/tun
mknod: /dev/net/tun: File exists
Using OpenVPN provider: CUSTOM
Running with VPN_CONFIG_SOURCE auto
No bundled config script found for CUSTOM. Defaulting to external config
Downloading configs from https://github.com/haugene/vpn-configs-contrib/archive/main.zip into /tmp/tmp.5GCIab9WyB
Extracting configs to /tmp/tmp.HO4KMguxyw
ERROR: Could not find any configs for provider CUSTOM in downloaded configs
Cleanup: deleting /tmp/tmp.5GCIab9WyB and /tmp/tmp.HO4KMguxyw
No VPN configuration provided. Using default.
Modifying /etc/openvpn/custom/default.ovpn for best behaviour in this container
Modification: Point auth-user-pass option to the username/password file
Modification: Update/set resolv-retry to 15 seconds
sed: cannot rename /etc/openvpn/custom/sedb9LDTO: Device or resource busy
sed: cannot rename /etc/openvpn/custom/sedkbiB7W: Device or resource busy
Modification: Change tls-crypt keyfile path
/etc/openvpn/modify-openvpn-config.sh: line 66: /etc/openvpn/custom/default.ovpn: Read-only file system
sed: cannot rename /etc/openvpn/custom/sedFhIvk2: Device or resource busy
Modification: Set output verbosity to 3
sed: cannot rename /etc/openvpn/custom/sedEsekEa: Device or resource busy
sed: cannot rename /etc/openvpn/custom/sedJwfp2f: Device or resource busy
/etc/openvpn/modify-openvpn-config.sh: line 88: /etc/openvpn/custom/default.ovpn: Read-only file system
Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
sed: cannot rename /etc/openvpn/custom/sedyD3hZi: Device or resource busy
sed: cannot rename /etc/openvpn/custom/sedPrqsVo: Device or resource busy
/etc/openvpn/modify-openvpn-config.sh: line 100: /etc/openvpn/custom/default.ovpn: Read-only file system
Setting OpenVPN credentials...
adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0
Thu May 19 14:46:48 2022 WARNING: file '/etc/openvpn/custom/auth.txt' is group or others accessible
Thu May 19 14:46:48 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021
Thu May 19 14:46:48 2022 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Thu May 19 14:46:48 2022 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu May 19 14:46:48 2022 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Thu May 19 14:46:48 2022 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Thu May 19 14:46:48 2022 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Thu May 19 14:46:48 2022 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Thu May 19 14:46:48 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]xxxxxxxxxx:1194
Thu May 19 14:46:48 2022 Socket Buffers: R=[212992->212992] S=[212992->212992]
Thu May 19 14:46:48 2022 UDP link local: (not bound)
Thu May 19 14:46:48 2022 UDP link remote: [AF_INET]xxxxxxxx:1194
Thu May 19 14:46:49 2022 TLS: Initial packet from [AF_INET]xxxxxxxxxx:1194, sid=167a215d 2b1621cb
Thu May 19 14:46:49 2022 VERIFY OK: depth=1, CN=ChangeMe
Thu May 19 14:46:49 2022 VERIFY KU OK
Thu May 19 14:46:49 2022 Validating certificate extended key usage
Thu May 19 14:46:49 2022 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Thu May 19 14:46:49 2022 VERIFY EKU OK
Thu May 19 14:46:49 2022 VERIFY X509NAME OK: CN=-4d33-4c21-9b00-f954a304da04
Thu May 19 14:46:49 2022 VERIFY OK: depth=0, CN=-4d33-4c21-9b00-f954a304da04
Thu May 19 14:46:50 2022 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 256 bit EC, curve: prime256v1
Thu May 19 14:46:50 2022 [-4d33-4c21-9b00-f954a304da04] Peer Connection Initiated with [AF_INET]xxxxxxxxxx:1194
Thu May 19 14:46:51 2022 SENT CONTROL [-4d33-4c21-9b00-f954a304da04]: 'PUSH_REQUEST' (status=1)
Thu May 19 14:46:51 2022 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,block-outside-dns,redirect-gateway def1,route-gateway 10.8.0.1,topology subnet,ping 15,ping-restart 120,ifconfig 10.8.0.7 255.255.255.0,peer-id 0,cipher AES-256-GCM'
Thu May 19 14:46:51 2022 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:3: block-outside-dns (2.4.7)
Thu May 19 14:46:51 2022 OPTIONS IMPORT: timers and/or timeouts modified
Thu May 19 14:46:51 2022 OPTIONS IMPORT: --ifconfig/up options modified
Thu May 19 14:46:51 2022 OPTIONS IMPORT: route options modified
Thu May 19 14:46:51 2022 OPTIONS IMPORT: route-related options modified
Thu May 19 14:46:51 2022 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu May 19 14:46:51 2022 OPTIONS IMPORT: peer-id set
Thu May 19 14:46:51 2022 OPTIONS IMPORT: adjusting link_mtu to 1624
Thu May 19 14:46:51 2022 OPTIONS IMPORT: data channel crypto options modified
Thu May 19 14:46:51 2022 Data Channel: using negotiated cipher 'AES-256-GCM'
Thu May 19 14:46:51 2022 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu May 19 14:46:51 2022 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu May 19 14:46:51 2022 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:03
Thu May 19 14:46:51 2022 TUN/TAP device tun0 opened
Thu May 19 14:46:51 2022 TUN/TAP TX queue length set to 100
Thu May 19 14:46:51 2022 /sbin/ip link set dev tun0 up mtu 1500
Thu May 19 14:46:51 2022 /sbin/ip addr add dev tun0 10.8.0.7/24 broadcast 10.8.0.255
Thu May 19 14:46:51 2022 /etc/openvpn/tunnelUp.sh tun0 1500 1552 10.8.0.7 255.255.255.0 init
Up script executed with tun0 1500 1552 10.8.0.7 255.255.255.0 init
Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.8.0.7
Using Transmission Web Control UI, overriding TRANSMISSION_WEB_HOME
Updating Transmission settings.json with values from env variables
Using existing settings.json for Transmission /data/transmission-home/settings.json
Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.8.0.7
Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed
Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete
Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091
Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch
sed'ing True to true
Enforcing ownership on transmission config directories
Applying permissions to transmission config directories
Setting owner for transmission paths to 1037:100
Setting permissions for download and incomplete directories
Mask: 002
Directories: 775
Files: 664
Setting permission for watch directory (775) and its files (664)
Transmission will run as
User name: abc
User uid: 1037
User gid: 100
STARTING TRANSMISSION
Transmission startup script complete.
Thu May 19 14:46:52 2022 /sbin/ip route add xxxxxxxxxxxxxx /32 via 172.17.0.1
Thu May 19 14:46:52 2022 /sbin/ip route add 0.0.0.0/1 via 10.8.0.1
Thu May 19 14:46:52 2022 /sbin/ip route add 128.0.0.0/1 via 10.8.0.1
Thu May 19 14:46:52 2022 Initialization Sequence Completed
HW/SW Environment
Anything else?
Also i tried with an old version 3.0, but didn't work either
Here is my default.ovpn config :
client
-----BEGIN CERTIFICATE----- xxxxxxxxxxxxxx -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- xxxxxxxxxxx BastSM+7IjLdayK5h1wfhrhV8+Rin38OiNwt -----END CERTIFICATE----- -----BEGIN ENCRYPTED PRIVATE KEY----- xxxxxxxxxxxxxx -----END ENCRYPTED PRIVATE KEY----- # # 2048 bit OpenVPN static key # -----BEGIN OpenVPN Static key V1----- xxxxxxxx -----END OpenVPN Static key V1-----dev tun
proto udp
remote xxxxxxxxxxx 1194
resolv-retry infinite
nobind
remote-cert-tls server
tls-version-min 1.2
cipher AES-256-CBC
auth SHA256
auth-nocache
askpass /etc/openvpn/custom/auth.txt
verb 3
disable-occ
Beta Was this translation helpful? Give feedback.
All reactions