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

DNS problem #2836

Open
7 of 8 tasks
MrAurel opened this issue May 7, 2024 · 2 comments
Open
7 of 8 tasks

DNS problem #2836

MrAurel opened this issue May 7, 2024 · 2 comments

Comments

@MrAurel
Copy link

MrAurel commented May 7, 2024

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-openvpn:
cap_add:
- NET_ADMIN
volumes:
- '/volume1/docker/transmission-openvpn/data/:/data'
- '/volume1/docker/transmission-openvpn/config/path/:/config'
environment:
- OPENVPN_PROVIDER=NORDVPN
- OPENVPN_CONFIG=france
- OPENVPN_USERNAME=*********
- OPENVPN_PASSWORD=********
- LOCAL_NETWORK=192.168.1.0/24
- NORDVPN_COUNTRY=FR
logging:
driver: json-file
options:
max-size: 10m
ports:
- '9091:9091'
image: haugene/transmission-openvpn
container_name: transmission-vpn
dns:
- '8.8.8.8'
- '8.8.4.4'
security_opt:
- seccomp:unconfined

Current Behavior

Cannot start

Expected Behavior

Start

How have you tried to solve the problem?

I see the pinned post #2410 but it cannot resolve my problem

Log output

Starting container with revision: 07f5a2b
TRANSMISSION_HOME is currently set to: /config/transmission-home
/etc/openvpn/start.sh: line 51: 10 Aborted (core dumped) nslookup ${HEALTH_CHECK_HOST:-"google.com"} > /dev/null 2>&1
WARNING: initial DNS resolution test failed
Creating TUN device /dev/net/tun
Using OpenVPN provider: NORDVPN
Running with VPN_CONFIG_SOURCE auto
Provider NORDVPN has a bundled setup script. Defaulting to internal config
Executing setup script for NORDVPN
/etc/openvpn/nordvpn/..

HW/SW Environment

- OS:DSM 7
- Docker:26.1.1

Anything else?

No response

@pkishino
Copy link
Collaborator

pkishino commented May 8, 2024

Any reason you didn’t post the whole log?

@pilotman28
Copy link

I'm having the same problem.

Starting container with revision: 07f5a2b
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: PRIVADO
Running with VPN_CONFIG_SOURCE auto
No bundled config script found for PRIVADO. Defaulting to external config
Will get configs from https://github.com/haugene/vpn-configs-contrib.git
Repository is already cloned, checking for update
Already up to date.
Already on 'main'
Your branch is up to date with 'origin/main'.
Found configs for PRIVADO in /config/vpn-configs-contrib/openvpn/privado, will replace current content in /etc/openvpn/privado
No VPN configuration provided. Using default.
Modifying /etc/openvpn/privado/default.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 10.0.2.0/24 via 172.17.0.1 dev eth0
2024-05-22 10:52:02 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2024-05-22 10:52:02 OpenVPN 2.5.9 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 29 2023
2024-05-22 10:52:02 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
2024-05-22 10:52:02 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2024-05-22 10:52:02 RESOLVE: Cannot resolve host address: ams-005.vpn.privado.io:1194 (Name or service not known)
2024-05-22 10:52:02 RESOLVE: Cannot resolve host address: ams-005.vpn.privado.io:1194 (Name or service not known)

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