alpine-qbittorrent-openvpn icon indicating copy to clipboard operation
alpine-qbittorrent-openvpn copied to clipboard

bug

Open rhinot opened this issue 3 years ago • 1 comments

Information

RESOLVE: Cannot resolve host address: ca-montreal.privateinternetaccess.com:1198 (Try again), Could not determine IPv4/IPv6 protocol

Current setup

rpi4 omv5 portainer 1.24.1

docker-compose.yml file or docker run command

docker run --cap-add=NET_ADMIN
-v local path:/downloads
-v local path:/config
-v /etc/localtime:/etc/localtime:ro
-e OPENVPN_PROVIDER=PIA
-e OPENVPN_CONFIG=CA\ Montreal
-e OPENVPN_USERNAME=username
-e OPENVPN_PASSWORD=password
-e PUID=998
-e PGID=100
-e LAN=192.168.1.0/24
-p 8080:8080
guillaumedsde/alpine-qbittorrent-openvpn:latest

how did you start the container? (don't forget to use backticks for creating a proper code block) Via portainer, filling out everything via ui


## Attempted Fix(es)

_What you have tried in order to fix the issue_ (if anything)

Added DNS entries  (1.1.1.1, 8.8.8.8) in portainer, equivalent to --dns 1.1.1.1 --dns 8.8.8.8
Tried connecting to container to see if I could ping some URLs, but sendto is not permitted on this container

rhinot avatar Sep 01 '20 18:09 rhinot

This is related to bug #55 which was a bug in the inspiration for this project.

Currently the code is trying to pull from:

# https://www.privateinternetaccess.com/openvpn/openvpn-nextgen.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-strong-nextgen.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-ip-nextgen.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-tcp-nextgen.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-strong-tcp-nextgen.zip

but should now reference:

# https://www.privateinternetaccess.com/openvpn/openvpn.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-windows-block-outside-dns.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-strong.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-ip.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-tcp.zip
# https://www.privateinternetaccess.com/openvpn/openvpn-strong-tcp.zip

The solution for the inspiration docker container seems unavailable so I'd recommend until the problem is sorted, you try using a custom VPN configuration as outlined in the documentation.

stevenhardey avatar Jan 24 '21 22:01 stevenhardey