[Support] binhex - DelugeVPN


8664 posts in this topic Last Reply

Recommended Posts

I used to have this working fine in the past and i'm setting it up again from scratch.

 

I'm having an error getting it to start and I'm following @SpaceInvaderOne updated tutorial 

 

 

I'm getting this error in the log file

 

2020-07-17 09:03:59.883147 [info] System information Linux 56018defcf38 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-07-17 09:03:59.903354 [info] OS_ARCH defined as 'x86-64'
2020-07-17 09:03:59.923477 [info] PUID defined as '99'
2020-07-17 09:03:59.945295 [info] PGID defined as '100'
2020-07-17 09:03:59.982184 [info] UMASK defined as '000'
2020-07-17 09:04:00.001174 [info] Permissions already set for volume mappings
2020-07-17 09:04:00.022941 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2020-07-17 09:04:00.043588 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2020-07-17 09:04:00.062902 [info] VPN_ENABLED defined as 'yes'
2020-07-17 09:04:00.085933 [crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting...

 

I have downloaded the CA Toronto.ovpn file as well as the ca.rsa.2048.crt and crl.rsa.2048.pem files and copied them to the openvpn config folder (/mnt/cache/appdata/binhex-delugevpn/openvpn) as can be seen below

 

root@Tower:/mnt/user/appdata/binhex-delugevpn/openvpn# ls -al

total 12

drwxrwxr-x 1 nobody users    6 Jul 17 09:16 ./

drwxrwxr-x 1 nobody users  239 Jul 17 09:02 ../

-rw-rw-rw- 1 nobody users 3180 Jul 15 07:59 CA\ Toronto.ovpn

-rw-rw-rw- 1 nobody users 2025 Jul 15 07:59 ca.rsa.2048.crt

-rw-rw-rw- 1 nobody users  869 Jul 15 07:59 crl.rsa.2048.pem

 

 

If I turn off the Container Variable: VPN_ENABLED then Deluge will start and I can access the GUI - not all that useful without the VPN though.

 

I'm sure I'm missing something simple here but I can't figure out what.

Link to post
  • Replies 8.7k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

There has been an issue raised on GitHub related to tracker announce request IP leakage under certain circumstances, after careful review of iptables i have tightened up the rules to prevent this. A n

OK guys, multi remote endpoint support is now in for this image please pull down the new image (this change will be rolled out to all my vpn images shortly).   What this means is that the im

I wanted to summarize how I got Mullvad working with DelugeVPN as I had to piece together several "solutions" from different comments in this thread and there was some incorrect info; likely old.

Posted Images

OK tried removing the space from the file name. Its now Toronto.ovpn

 

root@Tower:/mnt/user/appdata/binhex-delugevpn/openvpn# ls -al

total 12

drwxrwxr-x 1 nobody users    6 Jul 17 12:03 ./

drwxrwxr-x 1 nobody users  239 Jul 17 09:02 ../

-rw-rw-rw- 1 nobody users 3180 Jul 15 07:59 Toronto.ovpn

-rw-rw-rw- 1 nobody users 2025 Jul 15 07:59 ca.rsa.2048.crt

-rw-rw-rw- 1 nobody users  869 Jul 15 07:59 crl.rsa.2048.pem

 

still not starting. See log

 

2020-07-17 12:03:58.879125 [info] System information Linux 56018defcf38 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-07-17 12:03:58.898479 [info] OS_ARCH defined as 'x86-64'
2020-07-17 12:03:58.917293 [info] PUID defined as '99'
2020-07-17 12:03:58.937562 [info] PGID defined as '100'
2020-07-17 12:03:58.974703 [info] UMASK defined as '000'
2020-07-17 12:03:58.992439 [info] Permissions already set for volume mappings
2020-07-17 12:03:59.011408 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2020-07-17 12:03:59.029829 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2020-07-17 12:03:59.048154 [info] VPN_ENABLED defined as 'yes'
2020-07-17 12:03:59.070252 [crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting...

 

Really odd that its kicking out an error that it can't find a .ovpn file and there is clearly one there

 

 

Edited by jude
Link to post

Hey @jude I think I see it.. its the permissions on the files..

Edit - pulled my config screenshots as it looks like its mainly a file permission issue for you now that I re-read the posts.

 

 

I have a credentials.conf which also has my username on one line and password on another line, I dont remember if I created that or if the container made that...

Check your permissions in that directory on the files.. just noticed yours was different (I'm not saying mine are correct, just mine work)

 

 

sh-5.0# ls
bin   config  dev        etc   lib    mnt  proc  run   srv              sys  usr
boot  data    downloads  home  lib64  opt  root  sbin  supervisord.pid  tmp  var
sh-5.0# cd /config
sh-5.0# cd openvpn
sh-5.0# ls -lrat
total 20
-rwxrwxr-x 1 nobody users  869 Oct 22  2019  crl.rsa.2048.pem
-rwxrwxr-x 1 nobody users 2025 Oct 22  2019  ca.rsa.2048.crt
-rwxrwxr-x 1 nobody users   26 Jul  1 15:35  credentials.conf
-rwxrwxr-x 1 nobody users 3174 Jul  1 15:35 'CA Montreal.ovpn'
drwxrwxr-x 2 nobody users  101 Jul  1 15:35  .
drwxrwxr-x 8 nobody users 4096 Jul 17 15:30  ..
sh-5.0# 

 

Hope this helps!

Edited by Geekd4d
pulled images :)
Link to post

I ran the following command chmod -R 777 /mnt/user/appdata/binhex-delugevpn/openvpn

 

now the file permissions look like this

 

root@Tower:/mnt/user/appdata/binhex-delugevpn/openvpn# ls -al

total 12

drwxrwxr-x 1 nobody users    6 Jul 17 12:07 ./

drwxrwxr-x 1 nobody users  239 Jul 17 09:02 ../

-rwxrwxrwx 1 nobody users 2025 Jul 15 07:59 ca.rsa.2048.crt*

-rwxrwxrwx 1 nobody users  869 Jul 15 07:59 crl.rsa.2048.pem*

-rwxrwxrwx 1 nobody users 3180 Jul 15 07:59 toronto.ovpn*

 

And i'm still getting the same start error

 

2020-07-17 16:32:28.135552 [info] System information Linux 56018defcf38 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-07-17 16:32:28.155602 [info] OS_ARCH defined as 'x86-64'
2020-07-17 16:32:28.177680 [info] PUID defined as '99'
2020-07-17 16:32:28.199094 [info] PGID defined as '100'
2020-07-17 16:32:28.250136 [info] UMASK defined as '000'
2020-07-17 16:32:28.269896 [info] Permissions already set for volume mappings
2020-07-17 16:32:28.292303 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2020-07-17 16:32:28.312127 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2020-07-17 16:32:28.331927 [info] VPN_ENABLED defined as 'yes'
2020-07-17 16:32:28.354248 [crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting...

 

 

Link to post

hmmm pretty sure thats setup right but maybe .......

 

Container Path: /config

host path: /mnt/cache/appdata/binhex-delugevpn

 

the docker created the openvpn folder in /mnt/cache/appdata/binhex-delugevpn

 

so the container path /config/openvpn/ should translate to /mnt/cache/appdata/binhex-delugevpn/openvpn/

 

unless i'm messing something up

Link to post

Open the console of the container and change directory to /config/openvpn/ (not unraid's main terminal, but the one in docker when you select the container.)

 

What's in there?

I didn't change anything but the download directory in mine.

 

Link to post

My client is currently limiting itself to 500 active torrents and 3 active downloads even though I've set the queuing preferences to 3000 total, 5 downloading, and 2995 seeding. Anyone know why the preference settings aren't being followed?  Edit: Also tried setting values to -1 with no effect either. 

 

Edit2: I activated the scheduler plugin, which can also control queuing, and it was able to solve the issue

Edited by Hal9001
Link to post
On 1/12/2018 at 3:22 AM, shaunsund said:

How to set up ProtonVPN in Deluge

 

I thought I'd share how I configured binhex-delugevpn to use ProtonVPN for those fellow paying ProtonVPN users. I don't know if this will work for the free VPN service - likely not. Your milage may vary.

 

Prerequisites
Go to https://account.protonvpn.com/ and obtain:

  1. ProtonVPN OpenVPN username and password.
  2. Openvpn.config file for P2P. As of this post, look at the country pages under your downloads account page and look for the icon with opposing arrows.5a5816f4d63b6_ScreenShot2018-01-11at8_09_18PM.png.c71bb5413de5e7ce5590f65f39d11619.png Select the Linux platform (although it may not make a difference) and UDP. I have not tested TCP.

Steps

From the OpenVPN configs, we need to create two new files. The first must be called openvpn.ovpn and have the following lines, but take the appropriate stanzas from the downloaded configs:



remote <from downloaded configs; you may be able to put multiple remote stanzas for failover>

client
dev tun
proto udp

server-poll-timeout 20

remote-random
resolv-retry infinite
nobind
cipher AES-256-CBC
auth SHA512
comp-lzo
verb 3

tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key

ping 15
ping-restart 0
ping-timer-rem

remote-cert-tls server
auth-user-pass
pull
fast-io

script-security 2

auth-user-pass credentials.conf

tls-client
ca ca.rsa.2048.crt
disable-occ

key-direction 1
<tls-auth>
# 2048 bit OpenVPN static key
<from downloaded configs, include the BEGIN and END lines>
</tls-auth>

You'll notice your downloaded configs have a block with <ca> </ca> tags, cut that block out that starts at


<ca>
-----BEGIN CERTIFICATE-----

to


-----END CERTIFICATE-----
</ca>

and paste it to a new file called ca.rsa.2048.crt, but this file won't need the <ca> </ca> tags. It should just have the text including and between the BEGIN and END lines.

 

You'll notice that the template mentions a credentials.conf, this is created when the Docker image is saved.

 

Take the ca.rsa.2048.crt and openvpn.ovpn and copy them to the appdata/binhex-delugevpn/openvpn directory.

 

Next step is to edit the Docker image:


Host Port 1: 8112
    Container Port: 8112
Host Port 2: 58846
    Container Port: 58846
Host Port 3: 58946
    Container Port: 58946
Host Port 4: 58946
    Container Port: 58946
Host Port 5: 8118
    Container Port: 8118
Host Path 2: /mnt/user/Deluge/data (or where ever you have it setup)
    Container Path: /data
Key 1: yes
    Container Variable: VPN_ENABLED
Key 2: <Your ProtonVPN OpenVPN username>
    Container Variable: VPN_USER
Key 3: <Your ProtonVPN OpenVPN password>
    Container Variable: VPN_PASS
Key 4: custom
    Container Variable: VPN_PROV
Key 5: -none-
    Container Variable: VPN_OPTIONS
Key 6: yes
    Container Variable: STRICT_PORT_FORWARD
Key 7: yes
    Container Variable: ENABLE_PRIVOXY
Key 8:    192.168.1.0/24 (or your local LAN address space)
    Container Variable: LAN_NETWORK
Key 9:    8.8.8.8,209.222.18.222,37.235.1.174,209.222.18.218,37.235.1.177,8.8.4.4
    Container Variable: NAME_SERVERS
Key 10:    false
    Container Variable: DEBUG
Key 11:    000
    Container Variable: UMASK
Key 12: 99
    Container Variable: PUID
Key 13: 100
    Container Variable: PGID
AppData Config Path: /mnt/user/appdata/binhex-delugevpn
    Container Path: /config

 

After hitting apply it should create the credentials.conf and start the image. You can't pre-create the credentials.conf, the docker image will likely complain about permissions and not start.

 

Some troubleshooting tips:
To login to the docker image:


docker exec -it binhex-delugevpn /bin/bash

Once inside the docker image, run


dig +short myip.opendns.com @resolver1.opendns.com

to get its IP address. As long as this is different from your actual IP, things should be working.

 

To confirm your IP is hidden, go to https://ipleak.net. It should detect your actual ISP IP, but the Torrent Address detection should be the IP from the above dig command.
 

Note 1: the NAME_SERVERS are ones from when I set up PIA, I don't know ProtonVPN nameservers, the OpenVPN config assigns a private DNS server on my desktop. If anyone has the actual ProtonVPN DNS servers, please comment.

 

Note 2: If you notice that the Tracker status shows timeouts, then likely that VPN remote no longer supports P2P or is too slow. Check the Country Configs and update as needed.

 

Anyway, hope this helps someone.

As fellow ProtonVPN user, thank you for these instructions. It put me in the right direction to get it working.

 

However, I found out that I could simply use the config file generated from my ProtonVPN account. After I downloaded the config, I simply renamed it to "openvpn.ovpn", then placed this file in the "./appdata/binhex-delugevpn/openvpn" folder. Then started the container with the right credentials and left most of my parameters default.

It works!

Link to post
On 7/15/2020 at 12:39 AM, ZaDoctor said:

I am trying to set up deluge and can't get it to work I followed spaceinvaders tutorial and still can't get it to work. 

https://pastebin.com/KPP7YT1M

2020-07-14 23:18:29,754 DEBG 'start-script' stdout output:

[warn] PIA endpoint 'nl.privateinternetaccess.com' is not in the list of endpoints that support port forwarding, DL/UL speeds maybe slow

[info] Please consider switching to one of the endpoints shown below

[info] List of PIA endpoints that support port forwarding:-

[info] ca-toronto.privateinternetaccess.com

[info] ca-montreal.privateinternetaccess.com

[info] ca-vancouver.privateinternetaccess.com

[info] de-berlin.privateinternetaccess.com

[info] de-frankfurt.privateinternetaccess.com

[info] sweden.privateinternetaccess.com

[info] swiss.privateinternetaccess.com

[info] france.privateinternetaccess.com

[info] czech.privateinternetaccess.com

[info] spain.privateinternetaccess.com

[info] ro.privateinternetaccess.com

[info] israel.privateinternetaccess.com

[info] Attempting to get dynamically assigned port...

 

There is your answer in case you haven't resolved it yet. Spaceinvaders guide is inaccurate because the NL server no longer has open port.

Link to post

All of a sudden today I am unable to access the webUI and the other dockers I have that route through DelugeVPN won't open either. Here is the log after a full system reboot

 

2020-07-27 13:11:08.073496 [info] System information Linux da35d62395cd 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 GNU/Linux
2020-07-27 13:11:08.299559 [info] OS_ARCH defined as 'x86-64'
2020-07-27 13:11:08.409419 [info] PUID defined as '99'
2020-07-27 13:11:08.557573 [info] PGID defined as '100'
2020-07-27 13:11:08.629505 [info] UMASK defined as '000'
2020-07-27 13:11:08.661207 [info] Permissions already set for volume mappings
2020-07-27 13:11:08.710061 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2020-07-27 13:11:08.731967 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2020-07-27 13:11:08.759573 [info] VPN_ENABLED defined as 'yes'
2020-07-27 13:11:08.793587 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/REMOVED PERSONAL INFO.ovpn
2020-07-27 13:11:08.835643 [info] VPN remote line defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:08.858853 [info] VPN_REMOTE defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:08.883133 [info] VPN_PORT defined as '1195'
2020-07-27 13:11:08.928603 [warn] VPN_PROTOCOL not found in /config/openvpn/REMOVED PERSONAL INFO, assuming udp
2020-07-27 13:11:08.952788 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-07-27 13:11:08.974123 [info] VPN_PROV defined as 'custom'
2020-07-27 13:11:09.005118 [info] LAN_NETWORK defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.037213 [info] NAME_SERVERS defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.091583 [info] VPN_USER defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.125526 [info] VPN_PASS defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.147223 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-07-27 13:11:09.168214 [info] ENABLE_PRIVOXY defined as 'yes'
2020-07-27 13:11:09.191541 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-07-27 13:11:09.275026 [info] Deleting files in /tmp (non recursive)...
2020-07-27 13:11:09.296517 [info] Starting Supervisor...
2020-07-27 13:11:10,253 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2020-07-27 13:11:10,253 INFO Set uid to user 0 succeeded
2020-07-27 13:11:10,285 INFO supervisord started with pid 11
2020-07-27 13:11:11,286 INFO spawned: 'start-script' with pid 176
2020-07-27 13:11:11,287 INFO spawned: 'watchdog-script' with pid 177
2020-07-27 13:11:11,288 INFO reaped unknown pid 12 (exit status 0)
2020-07-27 13:11:11,297 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2020-07-27 13:11:11,297 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-27 13:11:11,297 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-27 13:11:11,444 DEBG 'start-script' stdout output:
[info] Default route for container is REMOVED PERSONAL INFO

2020-07-27 13:11:11,447 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,452 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,467 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,473 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,480 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,487 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,504 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,511 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:13:11,641 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 13:15:11,766 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 13:17:16,888 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

 

Link to post
6 minutes ago, voicelex said:

All of a sudden today I am unable to access the webUI and the other dockers I have that route through DelugeVPN won't open either. Here is the log after a full system reboot

 


2020-07-27 13:11:08.073496 [info] System information Linux da35d62395cd 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 GNU/Linux
2020-07-27 13:11:08.299559 [info] OS_ARCH defined as 'x86-64'
2020-07-27 13:11:08.409419 [info] PUID defined as '99'
2020-07-27 13:11:08.557573 [info] PGID defined as '100'
2020-07-27 13:11:08.629505 [info] UMASK defined as '000'
2020-07-27 13:11:08.661207 [info] Permissions already set for volume mappings
2020-07-27 13:11:08.710061 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2020-07-27 13:11:08.731967 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2020-07-27 13:11:08.759573 [info] VPN_ENABLED defined as 'yes'
2020-07-27 13:11:08.793587 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/REMOVED PERSONAL INFO.ovpn
2020-07-27 13:11:08.835643 [info] VPN remote line defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:08.858853 [info] VPN_REMOTE defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:08.883133 [info] VPN_PORT defined as '1195'
2020-07-27 13:11:08.928603 [warn] VPN_PROTOCOL not found in /config/openvpn/REMOVED PERSONAL INFO, assuming udp
2020-07-27 13:11:08.952788 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-07-27 13:11:08.974123 [info] VPN_PROV defined as 'custom'
2020-07-27 13:11:09.005118 [info] LAN_NETWORK defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.037213 [info] NAME_SERVERS defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.091583 [info] VPN_USER defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.125526 [info] VPN_PASS defined as 'REMOVED PERSONAL INFO'
2020-07-27 13:11:09.147223 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-07-27 13:11:09.168214 [info] ENABLE_PRIVOXY defined as 'yes'
2020-07-27 13:11:09.191541 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-07-27 13:11:09.275026 [info] Deleting files in /tmp (non recursive)...
2020-07-27 13:11:09.296517 [info] Starting Supervisor...
2020-07-27 13:11:10,253 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2020-07-27 13:11:10,253 INFO Set uid to user 0 succeeded
2020-07-27 13:11:10,285 INFO supervisord started with pid 11
2020-07-27 13:11:11,286 INFO spawned: 'start-script' with pid 176
2020-07-27 13:11:11,287 INFO spawned: 'watchdog-script' with pid 177
2020-07-27 13:11:11,288 INFO reaped unknown pid 12 (exit status 0)
2020-07-27 13:11:11,297 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2020-07-27 13:11:11,297 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-27 13:11:11,297 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-27 13:11:11,444 DEBG 'start-script' stdout output:
[info] Default route for container is REMOVED PERSONAL INFO

2020-07-27 13:11:11,447 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,452 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,467 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,473 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,480 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,487 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,504 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:11:11,511 DEBG 'start-script' stdout output:
[info] Adding REMOVED PERSONAL INFO to /etc/resolv.conf

2020-07-27 13:13:11,641 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 13:15:11,766 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 13:17:16,888 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

 

Your log says it can't connect to the network. Make sure no IP addresses have changed is where i would start. Check your VPN configuration as well. Check that your VPN configuration files are in place as well.

Edited by dzyuba86
Noticed something else in the logs
Link to post

Thanks @dzyuba86, as far as I can tell no IP addresses have changed on the server. I haven't modified anything for a while, I'm wondering if something happened during an update this morning (how can I tell if it was updated)?

 

I checked my vpn login/pass and those are fine then updated the .ovpn file and the .crt and .key files. No luck. Any other logs I can provide that might show what's going on?

Link to post
1 hour ago, dzyuba86 said:

@voicelex has anything changed in the logs after you updated the VPN files?

 

Also which VPN provider are you using? You redacted a lot of information that could be helpful in troubleshooting this.

 

I'm using ExpressVPN and have no issue logging in with their app right now. Below is the most recent log after restarting the docker and it going through the same routine as before then getting to this:

 

2020-07-27 14:02:03.436684 [info] Starting Supervisor...
2020-07-27 14:02:03,558 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2020-07-27 14:02:03,558 INFO Set uid to user 0 succeeded
2020-07-27 14:02:03,560 INFO supervisord started with pid 7
2020-07-27 14:02:04,563 INFO spawned: 'start-script' with pid 172
2020-07-27 14:02:04,566 INFO spawned: 'watchdog-script' with pid 173
2020-07-27 14:02:04,566 INFO reaped unknown pid 8 (exit status 0)
2020-07-27 14:02:04,571 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2020-07-27 14:02:04,571 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-27 14:02:04,572 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-27 14:02:04,630 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2020-07-27 14:02:04,633 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2020-07-27 14:02:04,635 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2020-07-27 14:02:04,638 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2020-07-27 14:02:04,640 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2020-07-27 14:02:04,643 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2020-07-27 14:02:04,645 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2020-07-27 14:02:04,647 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2020-07-27 14:02:04,650 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2020-07-27 14:04:04,774 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:06:04,911 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:08:10,046 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:10:15,179 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:12:20,310 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:14:25,447 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:16:30,574 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:18:35,713 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:20:40,852 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:22:45,987 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:24:51,119 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:26:56,243 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2020-07-27 14:27:01,247 DEBG 'start-script' stdout output:
[crit] 'XXXX.XXXX.com' cannot be resolved, possible DNS issues, exiting...

2020-07-27 14:27:01,247 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140337127370656 for <Subprocess at 140337127631648 with name start-script in state RUNNING> (stderr)>
2020-07-27 14:27:01,247 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140337127370704 for <Subprocess at 140337127631648 with name start-script in state RUNNING> (stdout)>
2020-07-27 14:27:01,247 INFO exited: start-script (exit status 1; not expected)
2020-07-27 14:27:01,247 DEBG received SIGCHLD indicating a child quit

 

Link to post
48 minutes ago, dzyuba86 said:

@voicelex seems like one of your DNS servers is causing problems based on what I'm seeing.

https://prnt.sc/tpimv7

 

 

So strange, I've never changed them but did recently make a mod to my PFsense router but over a week ago and didn't have any issues with deluge until today. I'll try changing them.

 

 

*EDIT
Ok, so I turned off the rules I was using to enable pfblocker for domain-level site blocking on my pfsense router and that seemed to have worked! I'm just confused as to why it was working fine until now.

Edited by voicelex
Link to post

@voicelex when you make a network change, since Deluge had the connection open it knew the route, once it rebooted the router rules played into effect and thus cutting it off. I see this happen a lot with networking. I don't know the intricate details but essentially the route follows the cache and when you restart you wipe the cache therefore it has to relocate the route. Glad you were able to resolve it though.

Link to post

@dzyuba86, thanks for the insight, that make sense. Now what I'm wondering is; how to use pfblocker to create whole home domain-level blocking rules without disrupting my VPN connection in deluge on my unraid box! I love the abilities of pfblocker but they don't seem to work without forcing all DNS through pfsesnse via port 53. Probably a question that exceeds the limits of this thread but I'm sure I'll figure it out eventually.

 

Thanks for your help!

Link to post

I just started using deluge (and unraid) yesterday but I have some behaviour that seems odd to me and I'm hoping someone can help out.
1. When I enabled a plugin (label) and restart the docker for any reason, the plugin disables and has to be reenabled. Its frustrating but not the end of the world. Is this behaviour normal, it seems like it should keep any plugin enabled.

2. I can't add a plugin. I want to add a copy plugin and no matter what I do (use the plugin section of the UI or even drop it into the plugin folder) nothing happens. The plugin doesn't appear and even restarting the docker doesn't change anything which brings back up 1 above.

 

Can someone suggest how to solve both of these issues please. I can't be the first person to ever have this happen. Maybe I missed something when setting up unraid. Do I need something else installed that I don't have?

Edited by muttly.irl
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.