[Support] binhex - rTorrentVPN


Recommended Posts

Hi, just got into the docker game. It seem like a very cool technology! I plan on moving most my web services to docker containers.

 

I created a container with binhex's latest rtorrentvpn image, binded it all properly (only 5000, 9080 port as I only plan on using non-ssl rutorrent interface).

 

Everything seems to work except one thing, adding torrent file through ruTorrent. When clicking on "Add file" button, it hangs there for a while then 2-3 "The request to rTorrent has timed out." strings appear in the log tab of ruTorrent.

Adding them from URL works fine (download/upload is fine as well).

 

I also get weird error when browsing the settings but I suspect both issues are related.

 

I've attached the log(wiped vpn user:pass & public ip). Clearly, at the end of it there is the error that causes the issues.

 

I know, I am not using unRAID but this seems to be the only official support thread on the net. I hope the fix is easy!

 

Thanks

 

 

supervisord.log

Edited by psyko_chewbacca
Link to comment
7 hours ago, psyko_chewbacca said:

Hi, just got into the docker game. It seem like a very cool technology! I plan on moving most my web services to docker containers.

 

I created a container with binhex's latest rtorrentvpn image, binded it all properly (only 5000, 9080 port as I only plan on using non-ssl rutorrent interface).

 

Everything seems to work except one thing, adding torrent file through ruTorrent. When clicking on "Add file" button, it hangs there for a while then 2-3 "The request to rTorrent has timed out." strings appear in the log tab of ruTorrent.

Adding them from URL works fine (download/upload is fine as well).

 

I also get weird error when browsing the settings but I suspect both issues are related.

 

I've attached the log(wiped vpn user:pass & public ip). Clearly, at the end of it there is the error that causes the issues.

 

I know, I am not using unRAID but this seems to be the only official support thread on the net. I hope the fix is easy!

 

Thanks

 

 

supervisord.log

 

I just tried with flood instead (disabled ruTorrent) and I still cannot upload torrent file through WebUI. It just sits on the "Add Torrent" popup window with the "Adding" animation in the bottom right button going at it forever.

ZYvjakL.png

 

Adding from url still works fine.

 

 

It would seem I have the same problem using both web interfaces!

supervisord.log

Link to comment
On 18/08/2017 at 11:44 AM, psyko_chewbacca said:

 

I just tried with flood instead (disabled ruTorrent) and I still cannot upload torrent file through WebUI. It just sits on the "Add Torrent" popup window with the "Adding" animation in the bottom right button going at it forever.

ZYvjakL.png

 

Adding from url still works fine.

 

 

It would seem I have the same problem using both web interfaces!

supervisord.log

 

my only thoughts is that perhaps this is related to permissions, try the following:-

 

1. stop the container

2. delete the file /config/perms.txt (host side mapping)

3. start the container

 

this should reset permissions so that they then match your PUID and PGID values, then give it a whirl.

Link to comment
On 21/08/2017 at 6:17 AM, binhex said:

 

my only thoughts is that perhaps this is related to permissions, try the following:-

 

1. stop the container

2. delete the file /config/perms.txt (host side mapping)

3. start the container

 

this should reset permissions so that they then match your PUID and PGID values, then give it a whirl.

It didn't do any good but thanks anyway.

 

I'm pretty new to this whole docker thing and I think I'll step back a bit and have a long read on how it all works. I thought I could just blindly rush into it but it seems I'm just things worst at every attempt!

 

Thanks for the help.

Link to comment

Prior warning - i will be away from 25th Aug until 3rd Sept, internet connectivity could be hit and miss where im going so please be aware support from me will be limited, updates will carry on for all docker images though, as this is automated.

 

 

  • Upvote 1
Link to comment
On 8/10/2017 at 9:59 AM, vizi0n said:

Hi,

 

Is it possible that the channels (manual speed limits) are applied only after a GUI login?

 

My auto updates are set to daily at 4am and every morning that there was an update, the current upload speed on my seeds is not respecting the channel's limit and is actually filling up my entire internet connection upload.

 

After logging into the GUI, the upload speed slowly drops to the maximum that is set for the channel.

I think my post slipped and was not read, but again this morning I woke up to a non-functionnal internet connectivity because my torrents were completely filling up my upload. As soon as I opened rtorrent evereything went back to normal as the upload slowly slowed down to the channel's limit.

 

Is there some kind of workaround for this?

Link to comment
15 hours ago, vizi0n said:

I think my post slipped and was not read, but again this morning I woke up to a non-functionnal internet connectivity because my torrents were completely filling up my upload. As soon as I opened rtorrent evereything went back to normal as the upload slowly slowed down to the channel's limit.

 

Is there some kind of workaround for this?

 

Where'd you make your setting changes? The ones done in the GUI don't stick, you have to ensure they are done in the Rtorrent config files in your appdata.

Link to comment
10 hours ago, Kewjoe said:

 

Where'd you make your setting changes? The ones done in the GUI don't stick, you have to ensure they are done in the Rtorrent config files in your appdata.

The settings were done in the GUI, and have stayed over the updates. It's just that when the docker is restarted they are not applied until I login to the GUI. I can I assign channels to my torrents in the config? This seems like a strange way to set this

Link to comment

Came back from VAC and docker will no longer connect to AirVPN

 

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2017-08-29 15:13:04.924370 [info] Host is running unRAID
2017-08-29 15:13:04.964308 [info] System information Linux e03d408f5a93 4.12.3-unRAID #1 SMP PREEMPT Fri Jul 21 17:03:15 PDT 2017 x86_64 GNU/Linux
2017-08-29 15:13:05.005388 [info] PUID defined as '99'
2017-08-29 15:13:05.055584 [info] PGID defined as '100'
2017-08-29 15:13:05.145615 [warn] UMASK not defined (via -e UMASK), defaulting to '000'
2017-08-29 15:13:05.188026 [info] Permissions already set for volume mappings
2017-08-29 15:13:05.227458 [info] VPN_ENABLED defined as 'yes'
2017-08-29 15:13:05.274194 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_US-Dallas-Texas_Alsafi_UDP-443.ovpn
dos2unix: converting file /config/openvpn/AirVPN_US-Dallas-Texas_Alsafi_UDP-443.ovpn to Unix format...
2017-08-29 15:13:05.313306 [info] VPN remote line defined as 'alsafi.airservers.org 443'
2017-08-29 15:13:05.345192 [info] VPN_REMOTE defined as 'alsafi.airservers.org'
2017-08-29 15:13:05.378386 [info] VPN_PORT defined as '443'
2017-08-29 15:13:05.413909 [info] VPN_PROTOCOL defined as 'udp'
2017-08-29 15:13:05.458590 [info] VPN_DEVICE_TYPE defined as 'tun'
2017-08-29 15:13:05.494191 [info] VPN_PROV defined as 'airvpn'
2017-08-29 15:13:05.527742 [info] LAN_NETWORK defined as '192.168.0.0/24'
2017-08-29 15:13:05.563186 [warn] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to Google and FreeDNS name servers
2017-08-29 15:13:05.595906 [info] VPN_INCOMING_PORT defined as '44437'
2017-08-29 15:13:05.631387 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2017-08-29 15:13:05.676171 [info] ENABLE_PRIVOXY defined as 'no'
2017-08-29 15:13:05.719109 [warn] ENABLE_FLOOD not defined (via -e ENABLE_FLOOD), defaulting to 'no'
chsh: Shell not changed.
Changing shell for nobody.
2017-08-29 15:13:06.086937 [info] Starting Supervisor...
2017-08-29 15:13:06,411 CRIT Set uid to user 0
2017-08-29 15:13:06,411 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2017-08-29 15:13:06,414 INFO supervisord started with pid 7
2017-08-29 15:13:07,417 INFO spawned: 'flood-script' with pid 123
2017-08-29 15:13:07,419 INFO spawned: 'start-script' with pid 124
2017-08-29 15:13:07,420 INFO spawned: 'rtorrent-script' with pid 125
2017-08-29 15:13:07,421 INFO spawned: 'rutorrent-script' with pid 126
2017-08-29 15:13:07,422 INFO spawned: 'privoxy-script' with pid 127
2017-08-29 15:13:07,422 INFO reaped unknown pid 8
2017-08-29 15:13:07,424 DEBG 'flood-script' stdout output:
[info] Flood not enabled, skipping starting Flood Web UI

2017-08-29 15:13:07,424 INFO success: flood-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47493256381504 for <Subprocess at 47493256036080 with name flood-script in state RUNNING> (stdout)>
2017-08-29 15:13:07,424 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47493256383520 for <Subprocess at 47493256036080 with name flood-script in state RUNNING> (stderr)>
2017-08-29 15:13:07,425 INFO exited: flood-script (exit status 0; expected)
2017-08-29 15:13:07,425 DEBG received SIGCLD indicating a child quit
2017-08-29 15:13:07,427 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-08-29 15:13:07,429 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2017-08-29 15:13:07,432 DEBG 'rtorrent-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-08-29 15:13:07,432 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-08-29 15:13:07,432 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 47493256356064 for <Subprocess at 47493256034784 with name privoxy-script in state RUNNING> (stdout)>
2017-08-29 15:13:07,433 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 47493256355920 for <Subprocess at 47493256034784 with name privoxy-script in state RUNNING> (stderr)>
2017-08-29 15:13:07,433 INFO exited: privoxy-script (exit status 0; expected)
2017-08-29 15:13:07,433 DEBG received SIGCLD indicating a child quit
2017-08-29 15:13:07,441 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2017-08-29 15:13:07,445 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-08-29 15:13:07,447 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2017-08-29 15:13:07,451 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-08-29 15:13:07,453 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2017-08-29 15:13:07,560 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2017-08-29 15:13:07,561 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2017-08-29 15:13:07,562 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
192.168.0.0/24 via 172.17.0.1 dev eth0

2017-08-29 15:13:07,562 DEBG 'start-script' stdout output:
--------------------

2017-08-29 15:13:07,565 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-08-29 15:13:07,590 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2017-08-29 15:13:07,660 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-08-29 15:13:07,663 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2017-08-29 15:13:07,663 DEBG 'start-script' stdout output:
--------------------

2017-08-29 15:13:07,663 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2017-08-29 15:13:07,677 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
Tue Aug 29 15:13:07 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10

2017-08-29 15:13:07,678 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2017-08-29 15:13:07,678 DEBG 'start-script' stdout output:
[info] OpenVPN started

2017-08-29 15:13:07,678 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 29 15:13:07 2017 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2017-08-29 15:13:07,679 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]107.183.238.194:443
Tue Aug 29 15:13:07 2017 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Aug 29 15:13:07 2017 UDP link local: (not bound)

2017-08-29 15:13:07,679 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 UDP link remote: [AF_INET]107.183.238.194:443

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 [UNDEF] Inactivity timeout (--ping-restart), restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 SIGHUP[soft,ping-restart] received, process restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
Tue Aug 29 15:14:07 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10
Tue Aug 29 15:14:07 2017 Restart pause, 5 second(s)

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 [UNDEF] Inactivity timeout (--ping-restart), restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 SIGHUP[soft,ping-restart] received, process restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
Tue Aug 29 15:14:07 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10
Tue Aug 29 15:14:07 2017 Restart pause, 5 second(s)

2017-08-29 15:14:12,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:12 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2017-08-29 15:14:12,400 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:12 2017 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 29 15:14:12 2017 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2017-08-29 15:14:12,400 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:12 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]107.183.238.194:443
Tue Aug 29 15:14:12 2017 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Aug 29 15:14:12 2017 UDP link local: (not bound)
Tue Aug 29 15:14:12 2017 UDP link remote: [AF_INET]107.183.238.194:443

 

Bottom part repeats over and over - never gets to starting web server.  If I disable VPN, it will come up.  AirVPN sees no connections from me....

 

Any ideas?

Thanks

Myk

 

Link to comment

Enable DHT Network and Peer Exchange (under settings, bittorrent) keep re-enabling is there something I am missing to keep these turned off? (seems to stay off for a period of time but always comes back not sure on interval) 

Also under Downloads/other the Check Has After Download wont allow it to be turned off (it will let you uncheck but is always back when you check settings) 

Link to comment
Enable DHT Network and Peer Exchange (under settings, bittorrent) keep re-enabling is there something I am missing to keep these turned off? (seems to stay off for a period of time but always comes back not sure on interval) 
Also under Downloads/other the Check Has After Download wont allow it to be turned off (it will let you uncheck but is always back when you check settings) 
It's in the faq check the link under my name on the left

Sent from my SM-G935F using Tapatalk

Link to comment
6 hours ago, binhex said:

It's in the faq check the link under my name on the left

Sent from my SM-G935F using Tapatalk
 


This issue also affects rutorrent settings for me, it looks like ONLY the settings I set in rtorrent.rc are there and all other rtorrent and rutorrent settings alike are back to default. Right now I opened the window and the theme was back to default, I have lost all my ratio rules settings including ratio group settings. Or should these settings also be set somehow in the rtorrent.rc?

 

I just had a full day messing around with unraid, restarting dockers including this one and just not it reset out of the blue.


rTorrent is great but this is a very inconvenient limitation.
 

EDIT: Just restarted the container and all my custom settings are back. I should mention that I just started a parity check a couple of hours ago which is still running, so maybe it has something to do with that.

Edited by JohanSF
Link to comment
On 29/08/2017 at 10:16 PM, MyKroFt said:

Came back from VAC and docker will no longer connect to AirVPN

 

 


Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2017-08-29 15:13:04.924370 [info] Host is running unRAID
2017-08-29 15:13:04.964308 [info] System information Linux e03d408f5a93 4.12.3-unRAID #1 SMP PREEMPT Fri Jul 21 17:03:15 PDT 2017 x86_64 GNU/Linux
2017-08-29 15:13:05.005388 [info] PUID defined as '99'
2017-08-29 15:13:05.055584 [info] PGID defined as '100'
2017-08-29 15:13:05.145615 [warn] UMASK not defined (via -e UMASK), defaulting to '000'
2017-08-29 15:13:05.188026 [info] Permissions already set for volume mappings
2017-08-29 15:13:05.227458 [info] VPN_ENABLED defined as 'yes'
2017-08-29 15:13:05.274194 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_US-Dallas-Texas_Alsafi_UDP-443.ovpn
dos2unix: converting file /config/openvpn/AirVPN_US-Dallas-Texas_Alsafi_UDP-443.ovpn to Unix format...
2017-08-29 15:13:05.313306 [info] VPN remote line defined as 'alsafi.airservers.org 443'
2017-08-29 15:13:05.345192 [info] VPN_REMOTE defined as 'alsafi.airservers.org'
2017-08-29 15:13:05.378386 [info] VPN_PORT defined as '443'
2017-08-29 15:13:05.413909 [info] VPN_PROTOCOL defined as 'udp'
2017-08-29 15:13:05.458590 [info] VPN_DEVICE_TYPE defined as 'tun'
2017-08-29 15:13:05.494191 [info] VPN_PROV defined as 'airvpn'
2017-08-29 15:13:05.527742 [info] LAN_NETWORK defined as '192.168.0.0/24'
2017-08-29 15:13:05.563186 [warn] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to Google and FreeDNS name servers
2017-08-29 15:13:05.595906 [info] VPN_INCOMING_PORT defined as '44437'
2017-08-29 15:13:05.631387 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2017-08-29 15:13:05.676171 [info] ENABLE_PRIVOXY defined as 'no'
2017-08-29 15:13:05.719109 [warn] ENABLE_FLOOD not defined (via -e ENABLE_FLOOD), defaulting to 'no'
chsh: Shell not changed.
Changing shell for nobody.
2017-08-29 15:13:06.086937 [info] Starting Supervisor...
2017-08-29 15:13:06,411 CRIT Set uid to user 0
2017-08-29 15:13:06,411 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2017-08-29 15:13:06,414 INFO supervisord started with pid 7
2017-08-29 15:13:07,417 INFO spawned: 'flood-script' with pid 123
2017-08-29 15:13:07,419 INFO spawned: 'start-script' with pid 124
2017-08-29 15:13:07,420 INFO spawned: 'rtorrent-script' with pid 125
2017-08-29 15:13:07,421 INFO spawned: 'rutorrent-script' with pid 126
2017-08-29 15:13:07,422 INFO spawned: 'privoxy-script' with pid 127
2017-08-29 15:13:07,422 INFO reaped unknown pid 8
2017-08-29 15:13:07,424 DEBG 'flood-script' stdout output:
[info] Flood not enabled, skipping starting Flood Web UI

2017-08-29 15:13:07,424 INFO success: flood-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-08-29 15:13:07,424 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47493256381504 for <Subprocess at 47493256036080 with name flood-script in state RUNNING> (stdout)>
2017-08-29 15:13:07,424 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47493256383520 for <Subprocess at 47493256036080 with name flood-script in state RUNNING> (stderr)>
2017-08-29 15:13:07,425 INFO exited: flood-script (exit status 0; expected)
2017-08-29 15:13:07,425 DEBG received SIGCLD indicating a child quit
2017-08-29 15:13:07,427 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-08-29 15:13:07,429 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2017-08-29 15:13:07,432 DEBG 'rtorrent-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-08-29 15:13:07,432 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-08-29 15:13:07,432 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 47493256356064 for <Subprocess at 47493256034784 with name privoxy-script in state RUNNING> (stdout)>
2017-08-29 15:13:07,433 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 47493256355920 for <Subprocess at 47493256034784 with name privoxy-script in state RUNNING> (stderr)>
2017-08-29 15:13:07,433 INFO exited: privoxy-script (exit status 0; expected)
2017-08-29 15:13:07,433 DEBG received SIGCLD indicating a child quit
2017-08-29 15:13:07,441 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2017-08-29 15:13:07,445 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-08-29 15:13:07,447 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2017-08-29 15:13:07,451 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-08-29 15:13:07,453 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2017-08-29 15:13:07,560 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2017-08-29 15:13:07,561 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2017-08-29 15:13:07,562 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
192.168.0.0/24 via 172.17.0.1 dev eth0

2017-08-29 15:13:07,562 DEBG 'start-script' stdout output:
--------------------

2017-08-29 15:13:07,565 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-08-29 15:13:07,590 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2017-08-29 15:13:07,660 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-08-29 15:13:07,663 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2017-08-29 15:13:07,663 DEBG 'start-script' stdout output:
--------------------

2017-08-29 15:13:07,663 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2017-08-29 15:13:07,677 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
Tue Aug 29 15:13:07 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10

2017-08-29 15:13:07,678 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2017-08-29 15:13:07,678 DEBG 'start-script' stdout output:
[info] OpenVPN started

2017-08-29 15:13:07,678 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 29 15:13:07 2017 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2017-08-29 15:13:07,679 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]107.183.238.194:443
Tue Aug 29 15:13:07 2017 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Aug 29 15:13:07 2017 UDP link local: (not bound)

2017-08-29 15:13:07,679 DEBG 'start-script' stdout output:
Tue Aug 29 15:13:07 2017 UDP link remote: [AF_INET]107.183.238.194:443

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 [UNDEF] Inactivity timeout (--ping-restart), restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 SIGHUP[soft,ping-restart] received, process restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
Tue Aug 29 15:14:07 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10
Tue Aug 29 15:14:07 2017 Restart pause, 5 second(s)

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 [UNDEF] Inactivity timeout (--ping-restart), restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 SIGHUP[soft,ping-restart] received, process restarting

2017-08-29 15:14:07,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:07 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
Tue Aug 29 15:14:07 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10
Tue Aug 29 15:14:07 2017 Restart pause, 5 second(s)

2017-08-29 15:14:12,399 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:12 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2017-08-29 15:14:12,400 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:12 2017 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 29 15:14:12 2017 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2017-08-29 15:14:12,400 DEBG 'start-script' stdout output:
Tue Aug 29 15:14:12 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]107.183.238.194:443
Tue Aug 29 15:14:12 2017 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Aug 29 15:14:12 2017 UDP link local: (not bound)
Tue Aug 29 15:14:12 2017 UDP link remote: [AF_INET]107.183.238.194:443

 

 

Bottom part repeats over and over - never gets to starting web server.  If I disable VPN, it will come up.  AirVPN sees no connections from me....

 

Any ideas?

Thanks

Myk

 

 

i would suspect the remote endpoint not being correct, can you please regenerate your ovpn file and give it another go, if its still causing a problem then please follow the procedure below:-

 

 

Link to comment

I have given up on AirVPN and am trying PIA

 

I have setup everything according to the forms, faqs etc

 

I have very slow downloads and my incoming port is not being detected

 

I have edited the openvpn file a chosen one of the listed port forward endpoints and that error went away

 

Do I remove the old incoming port command from the rtorrent conf file now?  As it says that port is closed, and nothing is in the log about what incoming port it is using

Thanks

Myk

 

Link to comment

This is what my log is saying - thought it was supposed to auto detect incoming port?

I have this warning:  2017-09-12 21:34:41.702450 [warn] VPN_INCOMING_PORT not defined (via -e VPN_INCOMING_PORT), downloads may be slow

Thanks

Myjk

 

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2017-09-12 21:34:41.025077 [info] Host is running unRAID
2017-09-12 21:34:41.055671 [info] System information Linux 72b37e896fa5 4.12.10-unRAID #1 SMP PREEMPT Thu Aug 31 11:46:20 PDT 2017 x86_64 GNU/Linux
2017-09-12 21:34:41.087865 [info] PUID defined as '99'
2017-09-12 21:34:41.124893 [info] PGID defined as '100'
2017-09-12 21:34:41.201521 [info] UMASK defined as '000'
2017-09-12 21:34:41.234323 [info] Permissions already set for volume mappings
2017-09-12 21:34:41.281527 [info] VPN_ENABLED defined as 'yes'
2017-09-12 21:34:41.318380 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/US Seattle.ovpn
dos2unix: converting file /config/openvpn/US Seattle.ovpn to Unix format...
2017-09-12 21:34:41.352140 [info] VPN remote line defined as 'ca.privateinternetaccess.com 1198'
2017-09-12 21:34:41.400608 [info] VPN_REMOTE defined as 'ca.privateinternetaccess.com'
2017-09-12 21:34:41.445327 [info] VPN_PORT defined as '1198'
2017-09-12 21:34:41.477482 [info] VPN_PROTOCOL defined as 'udp'
2017-09-12 21:34:41.508655 [info] VPN_DEVICE_TYPE defined as 'tun'
2017-09-12 21:34:41.538530 [info] VPN_PROV defined as 'pia'
2017-09-12 21:34:41.572714 [info] LAN_NETWORK defined as '192.168.0.0/24'
2017-09-12 21:34:41.612053 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4'
2017-09-12 21:34:41.643404 [info] VPN_USER defined as 'p2xxxxxx'
2017-09-12 21:34:41.672948 [info] VPN_PASS defined as 'xxxxxxxxxxx'
2017-09-12 21:34:41.702450 [warn] VPN_INCOMING_PORT not defined (via -e VPN_INCOMING_PORT), downloads may be slow
2017-09-12 21:34:41.733058 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2017-09-12 21:34:41.769387 [info] STRICT_PORT_FORWARD defined as 'yes'
2017-09-12 21:34:41.814368 [info] ENABLE_PRIVOXY defined as 'no'
2017-09-12 21:34:41.846031 [info] ENABLE_FLOOD defined as 'no'
chsh: Shell not changed.
Changing shell for nobody.
2017-09-12 21:34:42.256827 [info] Starting Supervisor...
2017-09-12 21:34:42,582 CRIT Set uid to user 0
2017-09-12 21:34:42,583 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2017-09-12 21:34:42,585 INFO supervisord started with pid 7
2017-09-12 21:34:43,589 INFO spawned: 'flood-script' with pid 138
2017-09-12 21:34:43,590 INFO spawned: 'start-script' with pid 139
2017-09-12 21:34:43,591 INFO spawned: 'rtorrent-script' with pid 140
2017-09-12 21:34:43,593 INFO spawned: 'rutorrent-script' with pid 141
2017-09-12 21:34:43,594 INFO spawned: 'privoxy-script' with pid 142
2017-09-12 21:34:43,594 INFO reaped unknown pid 8
2017-09-12 21:34:43,599 DEBG 'flood-script' stdout output:
[info] Flood not enabled, skipping starting Flood Web UI

2017-09-12 21:34:43,599 INFO success: flood-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-12 21:34:43,599 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-12 21:34:43,599 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-12 21:34:43,599 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-12 21:34:43,599 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-12 21:34:43,600 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47023351543640 for <Subprocess at 47023350121896 with name flood-script in state RUNNING> (stdout)>
2017-09-12 21:34:43,600 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47023351545368 for <Subprocess at 47023350121896 with name flood-script in state RUNNING> (stderr)>
2017-09-12 21:34:43,600 INFO exited: flood-script (exit status 0; expected)
2017-09-12 21:34:43,600 DEBG received SIGCLD indicating a child quit
2017-09-12 21:34:43,600 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-09-12 21:34:43,601 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2017-09-12 21:34:43,603 DEBG 'rtorrent-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-09-12 21:34:43,604 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-09-12 21:34:43,605 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 47023350110688 for <Subprocess at 47023350122904 with name privoxy-script in state RUNNING> (stdout)>
2017-09-12 21:34:43,605 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 47023350712296 for <Subprocess at 47023350122904 with name privoxy-script in state RUNNING> (stderr)>
2017-09-12 21:34:43,605 INFO exited: privoxy-script (exit status 0; expected)
2017-09-12 21:34:43,605 DEBG received SIGCLD indicating a child quit
2017-09-12 21:34:43,623 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2017-09-12 21:34:43,627 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2017-09-12 21:34:43,630 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2017-09-12 21:34:43,634 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-09-12 21:34:43,638 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2017-09-12 21:34:43,642 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2017-09-12 21:34:43,645 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-09-12 21:34:44,002 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2017-09-12 21:34:44,003 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2017-09-12 21:34:44,004 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
192.168.0.0/24 via 172.17.0.1 dev eth0

2017-09-12 21:34:44,004 DEBG 'start-script' stdout output:
--------------------

2017-09-12 21:34:44,008 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-09-12 21:34:44,029 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2017-09-12 21:34:44,094 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-09-12 21:34:44,096 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2017-09-12 21:34:44,096 DEBG 'start-script' stdout output:
--------------------

2017-09-12 21:34:44,096 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2017-09-12 21:34:44,102 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:44 2017 WARNING: file 'credentials.conf' is group or others accessible
Tue Sep 12 21:34:44 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017

2017-09-12 21:34:44,102 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:44 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10

2017-09-12 21:34:44,102 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:44 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2017-09-12 21:34:44,102 DEBG 'start-script' stdout output:
[info] OpenVPN started

2017-09-12 21:34:44,103 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:44 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]173.199.65.51:1198
Tue Sep 12 21:34:44 2017 UDP link local: (not bound)
Tue Sep 12 21:34:44 2017 UDP link remote: [AF_INET]173.199.65.51:1198

2017-09-12 21:34:45,474 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:45 2017 [59fb4f66abcc168e87cbb428cda749bb] Peer Connection Initiated with [AF_INET]173.199.65.51:1198

2017-09-12 21:34:47,001 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 TUN/TAP device tun0 opened
Tue Sep 12 21:34:47 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Sep 12 21:34:47 2017 /usr/bin/ip link set dev tun0 up mtu 1500

2017-09-12 21:34:47,002 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 /usr/bin/ip addr add dev tun0 local 10.15.10.6 peer 10.15.10.5

2017-09-12 21:34:47,003 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 /root/openvpnup.sh tun0 1500 1558 10.15.10.6 10.15.10.5 init

2017-09-12 21:34:47,011 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 Initialization Sequence Completed

2017-09-12 21:34:47,034 DEBG 'rtorrent-script' stdout output:
[info] rTorrent not running

2017-09-12 21:34:47,034 DEBG 'rtorrent-script' stdout output:
[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.15.10.6 different, marking for reconfigure

2017-09-12 21:34:47,127 DEBG 'start-script' stdout output:
[info] Attempting to curl http://209.222.18.222:2000/?client_id=b6490b50d350f609dcd19e79472a605742f1a8191a315d22d346b4a543adde93...

2017-09-12 21:34:47,001 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 TUN/TAP device tun0 opened
Tue Sep 12 21:34:47 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Sep 12 21:34:47 2017 /usr/bin/ip link set dev tun0 up mtu 1500

2017-09-12 21:34:47,002 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 /usr/bin/ip addr add dev tun0 local 10.15.10.6 peer 10.15.10.5

2017-09-12 21:34:47,003 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 /root/openvpnup.sh tun0 1500 1558 10.15.10.6 10.15.10.5 init

2017-09-12 21:34:47,011 DEBG 'start-script' stdout output:
Tue Sep 12 21:34:47 2017 Initialization Sequence Completed

2017-09-12 21:34:47,034 DEBG 'rtorrent-script' stdout output:
[info] rTorrent not running

2017-09-12 21:34:47,034 DEBG 'rtorrent-script' stdout output:
[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.15.10.6 different, marking for reconfigure

2017-09-12 21:34:47,127 DEBG 'start-script' stdout output:
[info] Attempting to curl http://209.222.18.222:2000/?client_id=b6490b50d350f609dcd19e79472a605742f1a8191a315d22d346b4a543adde93...

2017-09-12 21:34:47,895 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 196.54.41.48

2017-09-12 21:34:48,435 DEBG 'start-script' stdout output:
[info] curl successful for http://209.222.18.222:2000/?client_id=b6490b50d350f609dcd19e79472a605742f1a8191a315d22d346b4a543adde93, response code 200

2017-09-12 21:34:48,944 DEBG 'rtorrent-script' stdout output:
[info] Removing any rtorrent session lock files left over from the previous run...

2017-09-12 21:34:48,945 DEBG 'rtorrent-script' stdout output:
[info] Attempting to start rTorrent...

2017-09-12 21:34:48,946 DEBG 'rtorrent-script' stdout output:
Script started, file is /home/nobody/typescript

2017-09-12 21:34:48,971 DEBG 'rtorrent-script' stdout output:
Script done, file is /home/nobody/typescript

2017-09-12 21:34:49,062 DEBG 'rutorrent-script' stdout output:
[info] rtorrent started, setting up rutorrent...
[info] Setting PHP timezone to AMERICA/DENVER...

2017-09-12 21:34:49,069 DEBG 'rutorrent-script' stdout output:
[info] nginx cert files already exists, skipping copy
[info] nginx security file already exists, skipping copy
[info] nginx config file already exists, skipping copy

2017-09-12 21:34:49,070 DEBG 'rutorrent-script' stdout output:
[info] rutorrent conf folder already exists, skipping copy

2017-09-12 21:34:49,071 DEBG 'rutorrent-script' stdout output:
[info] rutorrent share folder already exists, skipping copy

2017-09-12 21:34:49,074 DEBG 'rutorrent-script' stdout output:
[info] copying rutorrent plugins to container...

2017-09-12 21:34:49,101 DEBG 'rutorrent-script' stdout output:
[info] starting php-fpm...

2017-09-12 21:34:49,122 DEBG 'rutorrent-script' stderr output:
[NOTICE] [pool www] 'user' directive is ignored when FPM is not running as root
[NOTICE] [pool www] 'group' directive is ignored when FPM is not running as root

2017-09-12 21:34:49,126 DEBG 'rutorrent-script' stdout output:
[info] starting nginx...

2017-09-12 21:34:49,978 DEBG 'rtorrent-script' stdout output:
[info] rTorrent started

2017-09-12 21:34:49,978 DEBG 'rtorrent-script' stdout output:
[info] Initialising ruTorrent plugins (checking rTorrent is running)...

2017-09-12 21:34:49,983 DEBG 'rtorrent-script' stdout output:
[info] rTorrent running
[info] Initialising ruTorrent plugins (checking nginx is running)...

2017-09-12 21:34:49,987 DEBG 'rtorrent-script' stdout output:
[info] nginx running
[info] Initialising ruTorrent plugins...

2017-09-12 21:34:50,069 DEBG 'rtorrent-script' stdout output:
[info] ruTorrent plugins initialised

Link to comment
7 hours ago, MyKroFt said:

thought it was supposed to auto detect incoming port?

 

it does detect the incoming port, the VPN_INCOMING_PORT env var is used for providers which != PIA, it was added as an idea to make things easier for the end user, they would get a static incoming port from their provider, set this env var and this would then configure the application for the user (using the same code i use for pia users), no need to manually configure the app, but as you have demonstrated this does lead to confusion, so im considering removing it.

 

the short of it is, ignore it.

 

ahh missed this:-

 

Quote

Do I remove the old incoming port command from the rtorrent conf file now? 

 

the answer is a def yes, otherwise it will overwrite the port.

Edited by binhex
Link to comment

Any ideas how to fix the following error or should I just switch to another UI? 

when accessing rutorrent I always get the following. I'm not using any of the VPN features.

 

[13.09.2017 13:25:49] WebUI started.
[13.09.2017 13:25:49] extratio: Plugin will not work. It requires plugin(s) throttle
Link to comment

binhex,

 

I have your delugevpn docker container working great, but rtorrentvpn isn't able to connect to peers.  In the rtorrentvpn With the latest Ubuntu Desktop torrent, I see 1600+ seeders and 60+ peers, but not one will connect which makes me wonder if the port fowarding is not working correctly.  I'm using PIA as my VPN provider, but I'd also tried a custom OpenVPN with another provider and the same results.  The deluge container is able to quickly connect to peers and begin the download.  I'm using the same /config/openvpn files in both containers (not same directory, but the same files copied to the other containers volume).

 

There are 3 files in the below pastebin: docker-compose.yml snippets for deluge and rtorrent, rtorrent's supervisord.log and deluge's supervisord.log.

 

https://pastebin.com/cDx3SNU0

Link to comment

Is there a way to get this working with VPN providers that aren't PIA or AirVPN? Specifically I use TorGuard. I currently have a rTorrent + OpenVPN client working in a CentOS VM and would like to convert over to a container such as this. It works fine with a standard OpenVPN install and using TorGuard's conf/ovpn file plus ca.crt, so nothing crazy or special.

 

edit: So I just started fiddling with it to see what I could do. Upon adding the container there is an option for "custom" provider which I didn't see documented anywhere (I could have missed it, been skimming lots of stuff). So I selected that and also defined the vpn user/password and changed paths, other settings, etc and started it up. It shut down right away and looking at the log it was asking for an ovpn file in the /config/openvpn directory. I put TorGuard's ovpn file along with the ca.crt (referenced in the ovpn) and restarted. Seems to be working so far, now I need to do some testing to see if it actually is connected and such, but good start!

 

Can I just stop the container now and copy over my previous rtorrent.rc to /config/rtorrent/config (editing paths as appropriate of course)? Or better to configure stuff through the ruTorrent web GUI?

 

edit2: Verified VPN working with http://ipmagnet.services.cbcdn.com/ (I like that one better than TorGuard's IP checker), all is good! Now just to sort out config of rTorrent itself.

 

edit3: OK I think I have the config all figured out. OpenVPN is configured for TorGuard using ovpn file and that is good as I said before. Container started, then I stopped and configured rtorrent.rc, and started again. ruTorrent works and I can connect. I can then add torrents and they download. BUT, it seems once I add some torrents and they start downloading (sometimes just 1 or 2 even), then I start getting "The request to rTorrent has timed out." errors in ruTorrent. Sometimes it seems to recover, other times I have to restart the container to get connected again. Any thoughts/ideas?

 

edit4: After a bit more testing/playing, if I let it sit it does seem to reconnect after a while, basically once all the torrents have completed downloading. Having downloads in progress though seems to kill the connection between ru- and rTorrent or something.

Edited by deusxanime
progress
Link to comment

I'm almost out of space on my cache pool (2x4TB in raid1), 95% of which is being used for longterm seeding. I have 2x2TB drives at my disposal and I'd like to use them to expand capacity for rTorrent but not sure how to go about that.

 

From what I've read in the FAQ's it doesn't sound like it's possible to expand the cache pool with smaller drives, so wondering if it's possible to add the 2TB's to my current array, create additional /data path's to each, and use them for rTorrent exclusively?

Link to comment

 

On 20/09/2017 at 10:44 PM, deusxanime said:

edit4: After a bit more testing/playing, if I let it sit it does seem to reconnect after a while, basically once all the torrents have completed downloading. Having downloads in progress though seems to kill the connection between ru- and rTorrent or something.

 

so rtorrent will auto restart on crash, im assuming this is what you're seeing, so you shouldn't need to restart the container, its all handled for you. so onto the question as to why its crashing on downloads in progress, so it could be disk I/O related, are you writing downloads directly to the unraid array or are you writing to cache drive?, if its array then write speeds are not good, this in turn could cause issues with configuration files as well (if also stored on the array), if you do have access to a cache drive i would recommend using that to store downloads on, and then use mover/rutorrent to move the completed downloads to the array.

Link to comment
2 hours ago, RallyAK said:

I'm almost out of space on my cache pool (2x4TB in raid1), 95% of which is being used for longterm seeding. I have 2x2TB drives at my disposal and I'd like to use them to expand capacity for rTorrent but not sure how to go about that.

 

From what I've read in the FAQ's it doesn't sound like it's possible to expand the cache pool with smaller drives, so wondering if it's possible to add the 2TB's to my current array, create additional /data path's to each, and use them for rTorrent exclusively?

 

ok so the problem you are going to have is that if you do long term seeding from your array then your disks will be spun up most of the time, using more electricity, if this isn't a problem for you then you could simply do that, so stop the container, copy/move the long term seeded downloads to the array, add in an volume mapping to the array and then start the container and re-located the long term seeded torrents to point at the array. This really is your best option for doing this as it will mean you won't run out of disk space and you could then use your cache drive for short term seeding only, you could mess around with unassigned disks and perhaps work around it using that, but it might be quite complex to do, i have no experience with using that so you would be on your own.

Link to comment
  • binhex locked this topic
Guest
This topic is now closed to further replies.