haugene / docker-transmission-openvpn

Docker container running Transmission torrent client with WebUI over an OpenVPN tunnel
GNU General Public License v3.0
4.08k stars 1.2k forks source link

ProtonVPN connected without internet connection (Paid VPN) #866

Closed mark-omarov closed 5 years ago

mark-omarov commented 5 years ago

Greetings! First of all many thanks for the container, this is exactly what I needed to finalize my home media library. Unfortunately, I'm having an issue with connection, I've seen #291 already, but I'm using paid ProtonVPN Plus, so it's not applicable for me (I guess). I could run and connect to the VPN service as far as I understand, but the internet connection is still missing.

Hope I could get some help with this. :)

Here's the command:

docker run --cap-add=NET_ADMIN -d \
              -v /Users/somebody/Desktop/Test/:/data \
              -e CREATE_TUN_DEVICE=true \
              -e OPENVPN_PROVIDER=PROTONVPN \
              -e OPENVPN_USERNAME= - \
              -e OPENVPN_PASSWORD= - \
              -e WEBPROXY_ENABLED=false \
              --log-driver json-file \
              --log-opt max-size=10m \
              -p 9091:9091 \
              haugene/transmission-openvpn

I've also used the original one from documentation with LOCAL_NETWORK arg, but can access WebUI w/o this argument, not sure if it's supposed to be so.

And here's the log I've got:

[2019-07-25 20:20:39.461] Transmission 2.94 (d8e60ee44f) started (session.c:740)
[2019-07-25 20:20:39.462] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:971)
[2019-07-25 20:20:39.464] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1213)
[2019-07-25 20:20:39.465] Port Forwarding Stopped (port-forwarding.c:180)
[2019-07-25 20:20:39.466] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:84)
[2019-07-25 20:20:39.467] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:89)
[2019-07-25 20:20:39.467] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:95)
[2019-07-25 20:20:39.468] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:100)
[2019-07-25 20:20:39.468] DHT Generating new id (tr-dht.c:311)
[2019-07-25 20:20:39.469] Using settings from "/data/transmission-home" (daemon.c:528)
[2019-07-25 20:20:39.469] Saved "/data/transmission-home/settings.json" (variant.c:1266)
[2019-07-25 20:20:39.469] Watching "/data/watch" for new .torrent files (daemon.c:573)
[2019-07-25 20:20:39.470] watchdir:inotify Failed to setup watchdir "/data/watch": No such file or directory (2) (watchdir-inotify.c:176)
[2019-07-25 20:20:39.470] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:20:49.460] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:20:59.462] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:21:09.460] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:21:12.458] Searching for web interface file "/root/.local/share/transmission/web/index.html" (platform.c:430)
[2019-07-25 20:21:12.459] Searching for web interface file "/usr/share/transmission/web/index.html" (platform.c:430)
[2019-07-25 20:21:12.459] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:249)
[2019-07-25 20:21:19.462] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:21:29.461] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:21:32.460] DHT dht.transmissionbt.com:6881: Temporary failure in name resolution (tr-dht.c:128)
[2019-07-25 20:21:39.461] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:21:49.465] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:21:59.461] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:22:09.462] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:22:19.463] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:22:20.464] DHT dht.transmissionbt.com:6881: Temporary failure in name resolution (tr-dht.c:128)
[2019-07-25 20:22:29.463] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:22:39.465] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:22:49.465] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:22:59.462] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:23:09.462] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:23:15.462] Saved "/data/transmission-home/torrents/archlinux-2019.07.01-x86_64.iso.d344c074850d158f.torrent" (variant.c:1266)
[2019-07-25 20:23:15.463] archlinux-2019.07.01-x86_64.iso Queued for verification (verify.c:269)
[2019-07-25 20:23:15.465] archlinux-2019.07.01-x86_64.iso Verifying torrent (verify.c:224)
[2019-07-25 20:23:19.465] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:23:29.465] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:23:31.459] archlinux-2019.07.01-x86_64.iso Could not connect to tracker (announcer.c:996)
[2019-07-25 20:23:31.461] archlinux-2019.07.01-x86_64.iso Retrying announce in 20 seconds. (announcer.c:1005)
[2019-07-25 20:23:33.461] DHT dht.transmissionbt.com:6881: Temporary failure in name resolution (tr-dht.c:128)
[2019-07-25 20:23:36.462] archlinux-2019.07.01-x86_64.iso Could not connect to tracker (announcer.c:996)
[2019-07-25 20:23:36.463] archlinux-2019.07.01-x86_64.iso Retrying announce in 20 seconds. (announcer.c:1005)
[2019-07-25 20:23:39.461] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:23:49.462] watchdir Failed to open directory "/data/watch" (2): No such file or directory (watchdir.c:354)
[2019-07-25 20:23:51.464] archlinux-2019.07.01-x86_64.iso Scrape error: Could not connect to tracker (announcer.c:1279)
[2019-07-25 20:23:51.465] archlinux-2019.07.01-x86_64.iso Retrying scrape in 352 seconds. (announcer.c:1288)
mark-omarov commented 5 years ago

The problem was fixed.

The solution is simple: Make sure to use google DNS in /etc/resolve.conf, at the moment I'm applying the DNS with --dns 8.8.8.8 arg, but I think there's a better solution for that.