guillaumedsde / alpine-qbittorrent-openvpn

qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
https://guillaumedsde.gitlab.io/alpine-qbittorrent-openvpn/
GNU General Public License v3.0
215 stars 39 forks source link

Issue with Surfshark | Could not find OpenVPN configuration #21

Closed Edortiz101 closed 3 years ago

Edortiz101 commented 4 years ago

Hi, First sorry for my bad English, I've an issue with the provider Surfshark, the error is the following :

qbittorrent-openvpn    | ERROR: Could not find OpenVPN configuration "FR\" for provider SURFSHARK
qbittorrent-openvpn    | [cont-init.d] 02-setup-openvpn: exited 1.
qbittorrent-openvpn    | [cont-finish.d] executing container finish scripts...
qbittorrent-openvpn    | [cont-finish.d] done.
qbittorrent-openvpn    | [s6-finish] waiting for services.
qbittorrent-openvpn    | [s6-finish] sending all processes the TERM signal.
qbittorrent-openvpn    | [s6-finish] sending all processes the KILL signal and exiting.

My compose configuration : image: guillaumedsde/alpine-qbittorrent-openvpn:latest container_name: qbittorrent-openvpn restart: unless-stopped environment:

guillaumedsde commented 4 years ago

I think there might be an error in your config for: OPENVPN_CONFIG=FR\ you need to put in a valid config name (like fr-par_udp for example)

ghost commented 4 years ago

I had a similar problem, all the config files for your provider are automatically downloaded from https://github.com/haugene/docker-transmission-openvpn.git/trunk/openvpn/${lowercase_openvpn_provider} and then the .ovpn extension is added to it. So look up the config files for your provider in the other github project, omit the .ovpn extension and you have your config line.

TheCatster commented 3 years ago

That address is no longer found, I'm having the same exact issue. Is this possibly a bug? The url now seems to be https://github.com/haugene/docker-transmission-openvpn/tree/master/openvpn/surfshark. This occurs for my other VPN providers as well (namely Windscribe and PIA).

guillaumedsde commented 3 years ago

I've implemented a fix, see my comment here: https://github.com/guillaumedsde/alpine-qbittorrent-openvpn/issues/33#issuecomment-725339440 let me know if that fixes the issue for you ;)

guillaumedsde commented 3 years ago

I'll close this issue, but feel free to reopen if the fix mentionned above doesnt work :)