Trigus42 / alpine-qbittorrentvpn

Multiarch docker image with the latest qBittorrent-nox client (WEB UI) and WireGuard/OpenVPN tunnel
GNU General Public License v3.0
73 stars 14 forks source link

RESOLVE: Cannot resolve host address: 97-1-xx.cg-dialup.net:443 (Name does not resolve) (CyberGhost) #33

Closed pokemaster974 closed 11 months ago

pokemaster974 commented 11 months ago

Hi, since today my container can't success to connect to CyberGhost VPN. The logs show this :

2023-10-11 21:29:02 us=435410 OpenVPN 2.5.6 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 17 2022
2023-10-11 21:29:02 us=435423 library versions: OpenSSL 1.1.1v  1 Aug 2023, LZO 2.10
2023-10-11 21:29:02 us=435542 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-10-11 21:29:02 us=437268 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2023-10-11 21:29:02 us=483406 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:02 us=483463 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2023-10-11 21:29:02 us=483527 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
2023-10-11 21:29:02 us=483552 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
2023-10-11 21:29:02 us=484149 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:02 us=484180 Could not determine IPv4/IPv6 protocol
2023-10-11 21:29:02 us=484370 SIGUSR1[soft,init_instance] received, process restarting
2023-10-11 21:29:02 us=484391 Restart pause, 5 second(s)
2023-10-11 21:29:07 us=484478 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-10-11 21:29:07 us=484517 Re-using SSL/TLS context
2023-10-11 21:29:07 us=484717 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2023-10-11 21:29:07 us=485552 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:07 us=485618 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2023-10-11 21:29:07 us=485683 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
2023-10-11 21:29:07 us=485706 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
2023-10-11 21:29:07 us=486323 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:07 us=486350 Could not determine IPv4/IPv6 protocol
2023-10-11 21:29:07 us=486588 SIGUSR1[soft,init_instance] received, process restarting
2023-10-11 21:29:07 us=486609 Restart pause, 5 second(s)
2023-10-11 21:29:12 us=486694 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-10-11 21:29:12 us=486729 Re-using SSL/TLS context
2023-10-11 21:29:12 us=486912 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2023-10-11 21:29:12 us=487722 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:12 us=487759 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2023-10-11 21:29:12 us=487823 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
2023-10-11 21:29:12 us=487874 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
2023-10-11 21:29:12 us=488765 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:12 us=488794 Could not determine IPv4/IPv6 protocol
2023-10-11 21:29:12 us=488929 SIGUSR1[soft,init_instance] received, process restarting
2023-10-11 21:29:12 us=488950 Restart pause, 5 second(s)
2023-10-11 21:29:17 us=489009 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-10-11 21:29:17 us=489036 Re-using SSL/TLS context
2023-10-11 21:29:17 us=489233 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2023-10-11 21:29:17 us=489958 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:17 us=490008 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2023-10-11 21:29:17 us=490082 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
2023-10-11 21:29:17 us=490107 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
2023-10-11 21:29:17 us=490566 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:17 us=490593 Could not determine IPv4/IPv6 protocol
2023-10-11 21:29:17 us=490732 SIGUSR1[soft,init_instance] received, process restarting
2023-10-11 21:29:17 us=490752 Restart pause, 5 second(s)
2023-10-11 21:29:22 us=490888 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-10-11 21:29:22 us=490924 Re-using SSL/TLS context
2023-10-11 21:29:22 us=491142 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2023-10-11 21:29:22 us=491861 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:22 us=491893 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2023-10-11 21:29:22 us=491956 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
2023-10-11 21:29:22 us=491991 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
2023-10-11 21:29:22 us=492475 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:22 us=492501 Could not determine IPv4/IPv6 protocol
2023-10-11 21:29:22 us=492632 SIGUSR1[soft,init_instance] received, process restarting
2023-10-11 21:29:22 us=492654 Restart pause, 10 second(s)
2023-10-11 21:29:32 us=492742 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-10-11 21:29:32 us=492779 Re-using SSL/TLS context
2023-10-11 21:29:32 us=493131 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2023-10-11 21:29:32 us=505037 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:32 us=505095 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2023-10-11 21:29:32 us=505159 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
2023-10-11 21:29:32 us=505187 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
2023-10-11 21:29:32 us=517290 RESOLVE: Cannot resolve host address: 97-1-fr.cg-dialup.net:443 (Name does not resolve)
2023-10-11 21:29:32 us=517336 Could not determine IPv4/IPv6 protocol
2023-10-11 21:29:32 us=517517 SIGUSR1[soft,init_instance] received, process restarting
2023-10-11 21:29:32 us=517538 Restart pause, 20 second(s)

Firstly I was thinking that the VPN have connexion issue because I change nothing before this (no updates, no new configuration). But it seems that another container (gluten) can connect to another CyberGhost openvpn configuration so it seems that the VPN is up. Can I do some tests to be sure that the issue can't be from container's side ?

My configuration (which was working until today) :

docker run --cap-add=NET_ADMIN -d \
    --restart=always \
    --name=alpine-qbittorrentvpn \
    --net=reverseproxy \
    -p 8090:8080 \
    -v /share/Docker/Config/alpine-qBittorrent/:/config \
    -v /share/qBittorrent/:/downloads \
    -e "VPN_ENABLED=yes" \
    -e "VPN_TYPE=openvpn" \
    -e "VPN_USERNAME=xxx" \
    -e "VPN_PASSWORD=xxx" \
    -e "LAN_NETWORK=192.168.0.0/24" \
    -e "ENABLE_SSL=no" \
    -e "SET_FWMARK=no" \
    -e "NAME_SERVERS=1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4" \
    -e "PUID=1000" \
    -e "GUID=100" \
    -e "TZ=Europe/Paris" \
    -e "HEALTH_CHECK_HOST=1.1.1.1" \
    -e "HEALTH_CHECK_INTERVAL=30" \
    -e "INSTALL_PYTHON3=no" \
    -e "DEBUG=YES" \
    trigus42/qbittorrentvpn

The openvpn file :

client
remote 97-1-fr.cg-dialup.net 443
dev tun 
proto tcp

resolv-retry infinite 
redirect-gateway def1
persist-key
persist-tun
nobind
cipher AES-256-CBC
ncp-disable
auth SHA256
ping 5
ping-exit 60
ping-timer-rem
script-security 2
remote-cert-tls server
route-delay 5
verb 4

ca ca.crt

cert client.crt

key client.key

Regards.

pokemaster974 commented 11 months ago

It seems that it was an issue from the VPN. So I close my issue.