[Support] binhex - DelugeVPN


Recommended Posts

Hi all -

 

I just had to wipe my dockers. Usually not a big deal, but they tend to go spastic on me after a couple weeks. Fortunately I've got my configs stored, so usually it isn't a problem. I just paste the config back into the CLI and off I go. But not now.

 

Here's my config:

 

docker run -d \

    --cap-add=NET_ADMIN \

    -p 8112:8112 \

    -p 8118:8118 \

    --name=delugevpn \

    -v /mnt/user/Incoming:/data \

    -v /mnt/user/config/delugevpn:/config \

    -v /etc/localtime:/etc/localtime:ro \

    -e VPN_ENABLED=yes \

    -e VPN_USER= \

    -e VPN_PASS= \

    -e VPN_REMOTE=nl.privateinternetaccess.com \

    -e VPN_PORT=1194 \

    -e VPN_PROTOCOL=udp \

    -e VPN_PROV=pia \

    -e ENABLE_PRIVOXY=yes \

    -e LAN_NETWORK=192.168.1.0/24 \

    -e DEBUG=false \

    -e PUID=0 \

    -e PGID=0 \

    binhex/arch-delugevpn

 

 

I've obviously cleared my user and pass.

 

What I'm getting in my logs as a try and fail to connect is:

 

2016-07-20 21:56:44,219 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:44 2016 SIGUSR1[soft,tls-error] received, process restarting


2016-07-20 21:56:46,238 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 UDPv4 link local: [undef]
Wed Jul 20 21:56:46 2016 UDPv4 link remote: [AF_INET]46.166.190.207:1194

2016-07-20 21:56:46,412 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 WARNING: file 'credentials.conf' is group or others accessible


2016-07-20 21:56:46,597 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=OH, L=Columbus, O=Private Internet Access, CN=Private Internet Access CA, [email protected]

Wed Jul 20 21:56:46 2016 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Wed Jul 20 21:56:46 2016 TLS_ERROR: BIO read tls_read_plaintext error

Wed Jul 20 21:56:46 2016 TLS Error: TLS object -> incoming plaintext read error

Wed Jul 20 21:56:46 2016 TLS Error: TLS handshake failed


2016-07-20 21:56:46,597 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 SIGUSR1[soft,tls-error] received, process restarting


2016-07-20 21:56:48,616 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:48 2016 UDPv4 link local: [undef]
Wed Jul 20 21:56:48 2016 UDPv4 link remote: [AF_INET]46.166.190.233:1194

2016-07-20 21:56:48,792 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:48 2016 WARNING: file 'credentials.conf' is group or others accessible


2016-07-20 21:56:48,970 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:48 2016 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=OH, L=Columbus, O=Private Internet Access, CN=Private Internet Access CA, [email protected]

Wed Jul 20 21:56:48 2016 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Wed Jul 20 21:56:48 2016 TLS_ERROR: BIO read tls_read_plaintext error

Wed Jul 20 21:56:48 2016 TLS Error: TLS object -> incoming plaintext read error

Wed Jul 20 21:56:48 2016 TLS Error: TLS handshake failed

 

So...any idea what's up? And why I'm seeing a self-signed cert from Columbus Ohio? I don't have logs from before, but I'm thinking the Cleveland thing isn't normal.

Link to comment

Hi all -

 

I just had to wipe my dockers. Usually not a big deal, but they tend to go spastic on me after a couple weeks. Fortunately I've got my configs stored, so usually it isn't a problem. I just paste the config back into the CLI and off I go. But not now.

 

Here's my config:

 

docker run -d \

    --cap-add=NET_ADMIN \

    -p 8112:8112 \

    -p 8118:8118 \

    --name=delugevpn \

    -v /mnt/user/Incoming:/data \

    -v /mnt/user/config/delugevpn:/config \

    -v /etc/localtime:/etc/localtime:ro \

    -e VPN_ENABLED=yes \

    -e VPN_USER= \

    -e VPN_PASS= \

    -e VPN_REMOTE=nl.privateinternetaccess.com \

    -e VPN_PORT=1194 \

    -e VPN_PROTOCOL=udp \

    -e VPN_PROV=pia \

    -e ENABLE_PRIVOXY=yes \

    -e LAN_NETWORK=192.168.1.0/24 \

    -e DEBUG=false \

    -e PUID=0 \

    -e PGID=0 \

    binhex/arch-delugevpn

 

 

I've obviously cleared my user and pass.

 

What I'm getting in my logs as a try and fail to connect is:

 

2016-07-20 21:56:44,219 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:44 2016 SIGUSR1[soft,tls-error] received, process restarting


2016-07-20 21:56:46,238 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 UDPv4 link local: [undef]
Wed Jul 20 21:56:46 2016 UDPv4 link remote: [AF_INET]46.166.190.207:1194

2016-07-20 21:56:46,412 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 WARNING: file 'credentials.conf' is group or others accessible


2016-07-20 21:56:46,597 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=OH, L=Columbus, O=Private Internet Access, CN=Private Internet Access CA, [email protected]

Wed Jul 20 21:56:46 2016 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Wed Jul 20 21:56:46 2016 TLS_ERROR: BIO read tls_read_plaintext error

Wed Jul 20 21:56:46 2016 TLS Error: TLS object -> incoming plaintext read error

Wed Jul 20 21:56:46 2016 TLS Error: TLS handshake failed


2016-07-20 21:56:46,597 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:46 2016 SIGUSR1[soft,tls-error] received, process restarting


2016-07-20 21:56:48,616 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:48 2016 UDPv4 link local: [undef]
Wed Jul 20 21:56:48 2016 UDPv4 link remote: [AF_INET]46.166.190.233:1194

2016-07-20 21:56:48,792 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:48 2016 WARNING: file 'credentials.conf' is group or others accessible


2016-07-20 21:56:48,970 DEBG 'start-script' stdout output:
Wed Jul 20 21:56:48 2016 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=OH, L=Columbus, O=Private Internet Access, CN=Private Internet Access CA, [email protected]

Wed Jul 20 21:56:48 2016 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Wed Jul 20 21:56:48 2016 TLS_ERROR: BIO read tls_read_plaintext error

Wed Jul 20 21:56:48 2016 TLS Error: TLS object -> incoming plaintext read error

Wed Jul 20 21:56:48 2016 TLS Error: TLS handshake failed

 

So...any idea what's up? And why I'm seeing a self-signed cert from Columbus Ohio? I don't have logs from before, but I'm thinking the Cleveland thing isn't normal.

Pia changes to certs, change the port number from 1194 to 1198

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I'm having issues with getting certain files moved and then successfully reseeded.

 

My process goes as follows:

 

-Manually add torrent to DVPN

-Download to cache drive

-Seed completed file on cache drive for awhile

-Stop DVPN, run Mover

-Mover moves the whole file to my media share, where I drag and drop it to the appropriate folder

-Start DVPN, right click torrent, move, move file to pathed folder on media share "/movedmovies"

-Once path updates, on torrent I run Force Recheck

-This is no longer working and starts a new download.

 

I have several movies and shows successfully moved and seeding using this method.

 

I've double checked my paths and spellings, reboot server, stopped started DVPN, removed and readded torrent trying to associate it to the file but it keeps holding on to this microscopic download which does no exist anywhere (.02%)

 

Because this process has worked several times before I have no clue where to look for potential issues, please assist.

 

Thanks.

Link to comment

forced it to build an image with official 1.3.12 release for now, so if you "force update" you should now get the non dev version.

The latest update has the .dev0 for the build. Is there anyway to stay on the latest stable build?

 

Are you saying it happened again? Try going to advanced view on the dockers page and force update.

Link to comment

forced it to build an image with official 1.3.12 release for now, so if you "force update" you should now get the non dev version.

The latest update has the .dev0 for the build. Is there anyway to stay on the latest stable build?

 

Are you saying it happened again? Try going to advanced view on the dockers page and force update.

 

I did try that first but no updates. It is 1.3.13.dev0 this time.

Link to comment

forced it to build an image with official 1.3.12 release for now, so if you "force update" you should now get the non dev version.

The latest update has the .dev0 for the build. Is there anyway to stay on the latest stable build?

 

Are you saying it happened again? Try going to advanced view on the dockers page and force update.

Official 1.3.13 is out, now there is either an issue with arch Linux and they have mistakenly built dev0 or this hasn't been changed by the deluge devs by mistake. Either way if you want to run 1.3.12 then you will have to use the tag to define it, tag would be 1.3.12-41

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I'm having issues with getting certain files moved and then successfully reseeded.

 

My process goes as follows:

 

-Manually add torrent to DVPN

-Download to cache drive

-Seed completed file on cache drive for awhile

-Stop DVPN, run Mover

-Mover moves the whole file to my media share, where I drag and drop it to the appropriate folder

-Start DVPN, right click torrent, move, move file to pathed folder on media share "/movedmovies"

-Once path updates, on torrent I run Force Recheck

-This is no longer working and starts a new download.

 

I have several movies and shows successfully moved and seeding using this method.

 

I've double checked my paths and spellings, reboot server, stopped started DVPN, removed and readded torrent trying to associate it to the file but it keeps holding on to this microscopic download which does no exist anywhere (.02%)

 

Because this process has worked several times before I have no clue where to look for potential issues, please assist.

 

Thanks.

 

I would greatly appreciate some help here, thank you.

Link to comment

forced it to build an image with official 1.3.12 release for now, so if you "force update" you should now get the non dev version.

The latest update has the .dev0 for the build. Is there anyway to stay on the latest stable build?

 

Are you saying it happened again? Try going to advanced view on the dockers page and force update.

Official 1.3.13 is out, now there is either an issue with arch Linux and they have mistakenly built dev0 or this hasn't been changed by the deluge devs by mistake. Either way if you want to run 1.3.12 then you will have to use the tag to define it, tag would be 1.3.12-41

 

Sent from my SM-G900F using Tapatalk

 

Looks like its a cosmetic issue caused by the Github release of 1.3.13, also looks like it wont get fixed, i might take a swing at this to see if i can get rid of the dev0 tag, but no promises, link to arch linux bug track (flyspray:-

https://bugs.archlinux.org/task/50152?project=1&order=dateopened&sort=desc

Link to comment

Hey guys. I've been using Binhex's Deluge for the last couple months without an issue. I recently went into add a file path and during the rebuild of the container, I can no longer access the web UI. I've since tried to revert back to the earlier config, and tried removing the container and image and starting from the XML template without any luck.

 

Any help is appreciated!

 

Logs below:

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-26 12:38:45,638 CRIT Set uid to user 0
2016-07-26 12:38:45,638 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2016-07-26 12:38:45,642 INFO supervisord started with pid 12
2016-07-26 12:38:46,643 INFO spawned: 'start-script' with pid 15
2016-07-26 12:38:46,644 INFO spawned: 'webui-script' with pid 16
2016-07-26 12:38:46,646 INFO spawned: 'deluge-script' with pid 17
2016-07-26 12:38:46,647 INFO spawned: 'privoxy-script' with pid 18
2016-07-26 12:38:46,654 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-26 12:38:46,654 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-26 12:38:46,655 INFO success: webui-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-26 12:38:46,655 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-26 12:38:46,655 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-26 12:38:46,655 DEBG 'deluge-script' stdout output:
[info] deluge config file already exists, skipping copy

2016-07-26 12:38:46,656 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-26 12:38:46,656 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-26 12:38:46,667 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-26 12:38:46,669 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-26 12:38:46,673 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-26 12:38:46,676 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as nl.privateinternetaccess.com
[info] VPN provider remote port defined as 1194

2016-07-26 12:38:46,676 DEBG 'start-script' stdout output:
[crit] VPN provider remote protocol not defined (via -e VPN_PROTOCOL), exiting...

2016-07-26 12:38:46,676 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47900179671376 for <Subprocess at 47900179670800 with name start-script in state RUNNING> (stderr)>
2016-07-26 12:38:46,676 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 47900179671016 for <Subprocess at 47900179670800 with name start-script in state RUNNING> (stdout)>
2016-07-26 12:38:46,676 INFO exited: start-script (exit status 1; not expected)
2016-07-26 12:38:46,677 DEBG received SIGCLD indicating a child quit

Link to comment

I'm having issues with getting certain files moved and then successfully reseeded.

 

My process goes as follows:

 

-Manually add torrent to DVPN

-Download to cache drive

-Seed completed file on cache drive for awhile

-Stop DVPN, run Mover

-Mover moves the whole file to my media share, where I drag and drop it to the appropriate folder

-Start DVPN, right click torrent, move, move file to pathed folder on media share "/movedmovies"

-Once path updates, on torrent I run Force Recheck

-This is no longer working and starts a new download.

 

I have several movies and shows successfully moved and seeding using this method.

 

I've double checked my paths and spellings, reboot server, stopped started DVPN, removed and readded torrent trying to associate it to the file but it keeps holding on to this microscopic download which does no exist anywhere (.02%)

 

Because this process has worked several times before I have no clue where to look for potential issues, please assist.

 

Thanks.

 

I would greatly appreciate some help here, thank you.

OK I will take a look, but it could take me a little while to setup and try and replicate what your doing as my setup is quite different to that.

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I'm having issues with getting certain files moved and then successfully reseeded.

 

My process goes as follows:

 

-Manually add torrent to DVPN

-Download to cache drive

-Seed completed file on cache drive for awhile

-Stop DVPN, run Mover

-Mover moves the whole file to my media share, where I drag and drop it to the appropriate folder

-Start DVPN, right click torrent, move, move file to pathed folder on media share "/movedmovies"

-Once path updates, on torrent I run Force Recheck

-This is no longer working and starts a new download.

 

I have several movies and shows successfully moved and seeding using this method.

 

I've double checked my paths and spellings, reboot server, stopped started DVPN, removed and readded torrent trying to associate it to the file but it keeps holding on to this microscopic download which does no exist anywhere (.02%)

 

Because this process has worked several times before I have no clue where to look for potential issues, please assist.

 

Thanks.

 

I would greatly appreciate some help here, thank you.

OK I will take a look, but it could take me a little while to setup and try and replicate what your doing as my setup is quite different to that.

 

Sent from my SM-G900F using Tapatalk

 

 

 

 

The reason it is failing it because Deluge does not see the file in its orig location.

 

 

The way I go about it is

 

 

Temp dl storage on my SSD cache drive

after seeding - i move it via web interface to /moviesharename - which is mapped to the raid location I want it to - I have several based on type of movie.  This is also gets temp on SSD because the share uses the cache drive.

then pause the torrent, and either I manual run the mover or wait a hour - my mover runs once a hr

then after its moved - resume the torrent - it sometimes rechecks itself - sometimes does not

but picks up where it left off and does never start from scratch

 

 

Just a option

Myk

 

 

 

 

 

 

Link to comment

forced it to build an image with official 1.3.12 release for now, so if you "force update" you should now get the non dev version.

The latest update has the .dev0 for the build. Is there anyway to stay on the latest stable build?

 

Are you saying it happened again? Try going to advanced view on the dockers page and force update.

Official 1.3.13 is out, now there is either an issue with arch Linux and they have mistakenly built dev0 or this hasn't been changed by the deluge devs by mistake. Either way if you want to run 1.3.12 then you will have to use the tag to define it, tag would be 1.3.12-41

 

Sent from my SM-G900F using Tapatalk

 

Looks like its a cosmetic issue caused by the Github release of 1.3.13, also looks like it wont get fixed, i might take a swing at this to see if i can get rid of the dev0 tag, but no promises, link to arch linux bug track (flyspray:-

https://bugs.archlinux.org/task/50152?project=1&order=dateopened&sort=desc

 

spent a late night looking at this (uggh feeling jaded), its now fixed up so reports 1.3.13 and NOT 1.3.13-dev0, please pull down the latest image to get this fix.

Link to comment

I'm having issues with getting certain files moved and then successfully reseeded.

 

My process goes as follows:

 

-Manually add torrent to DVPN

-Download to cache drive

-Seed completed file on cache drive for awhile

-Stop DVPN, run Mover

-Mover moves the whole file to my media share, where I drag and drop it to the appropriate folder

-Start DVPN, right click torrent, move, move file to pathed folder on media share "/movedmovies"

-Once path updates, on torrent I run Force Recheck

-This is no longer working and starts a new download.

 

I have several movies and shows successfully moved and seeding using this method.

 

I've double checked my paths and spellings, reboot server, stopped started DVPN, removed and readded torrent trying to associate it to the file but it keeps holding on to this microscopic download which does no exist anywhere (.02%)

 

Because this process has worked several times before I have no clue where to look for potential issues, please assist.

 

Thanks.

 

I would greatly appreciate some help here, thank you.

OK I will take a look, but it could take me a little while to setup and try and replicate what your doing as my setup is quite different to that.

 

Sent from my SM-G900F using Tapatalk

 

Thanks Binhex.

 

Unrelated question - How do I roll back to 1.3.12?

 

This latest version is not supported by my torrent sites and I'm not getting cred for uploads an such.

 

Thank you.

Link to comment

I'm having issues with getting certain files moved and then successfully reseeded.

 

My process goes as follows:

 

-Manually add torrent to DVPN

-Download to cache drive

-Seed completed file on cache drive for awhile

-Stop DVPN, run Mover

-Mover moves the whole file to my media share, where I drag and drop it to the appropriate folder

-Start DVPN, right click torrent, move, move file to pathed folder on media share "/movedmovies"

-Once path updates, on torrent I run Force Recheck

-This is no longer working and starts a new download.

 

I have several movies and shows successfully moved and seeding using this method.

 

I've double checked my paths and spellings, reboot server, stopped started DVPN, removed and readded torrent trying to associate it to the file but it keeps holding on to this microscopic download which does no exist anywhere (.02%)

 

Because this process has worked several times before I have no clue where to look for potential issues, please assist.

 

Thanks.

 

I would greatly appreciate some help here, thank you.

OK I will take a look, but it could take me a little while to setup and try and replicate what your doing as my setup is quite different to that.

 

Sent from my SM-G900F using Tapatalk

 

Thanks Binhex.

 

Unrelated question - How do I roll back to 1.3.12?

 

This latest version is not supported by my torrent sites and I'm not getting cred for uploads an such.

 

Thank you.

 

Two questions for you, have you seen  MyKroFt's suggestion on how to resolve your issue?, please give it a try if you havent already and let me know the outcome. The other question is regards the version of Deluge, have you tried pulling down the latest image? (built around 24 hours ago), as this has had the "dev0" tag removed from the version and thus might now pass the strict rules enforced by some private trackers. If they are still not allowing Deluge 1.3.13 to connect then you can rollback to 1.3.12 by doing the following:-

 

1. go to the unraid webui

2. left click the icon and select edit

3. click on advanced view

4. at the top left will be the "repository" at the end of the name put:-

:1.3.12-41

5. click save and it will then pull down the 1.3.12 release

Link to comment

Hey.

 

I`ve recently started to get some problems with delugevpn .

 

I will add a little info of what i have done..

 

1. I was trying to set up a vpn true airvpn on a VM machine using ubuntu.

 

2. I dowloaded a new file from airvpn to use in ubuntu.

 

3. To get my office comuter to not have the permission to log on to the tower in network i changed the password on root and on my user .

 

4. I changed the password back to the original because i found another way.

 

 

Suddenly i startet to get problems logging in to deluge, the error are as follows :

 

2016-07-28 12:14:28,466 DEBG 'start-script' stderr output:

/root/openvpn.sh: eval: line 27: syntax error near unexpected token `('

 

/root/openvpn.sh: eval: line 27: `/usr/bin/openvpn --cd /config/openvpn --config /config/openvpn/AirVPN_Netherlands_UDP-443 (2).ovpn --remote nl.vpn.airdns.org 443 --proto udp --reneg-sec 0 --mute-replay-warnings --auth-nocache --keepalive 10 60'

 

2016-07-28 12:14:28,467 DEBG 'start-script' stdout output:

[warn] VPN connection terminated

 

2016-07-28 12:14:28,480 DEBG 'start-script' stdout output:

[warn] Restarting VPN connection in 10 mins

 

2016-07-28 12:24:28,482 DEBG 'start-script' stdout output:

[warn] VPN connection terminated

 

i`ve tryded to delete the holde thing and set it up again fresh, but it didnt work.  still the same error.

 

i am now afraid that i have to delete my hole server because of this, unless one of you guys can help me..

 

So i am crossing my fingers that one of you know what the problem is..

 

Thanks

Link to comment

Hey.

 

I`ve recently started to get some problems with delugevpn .

 

I will add a little info of what i have done..

 

1. I was trying to set up a vpn true airvpn on a VM machine using ubuntu.

 

2. I dowloaded a new file from airvpn to use in ubuntu.

 

3. To get my office comuter to not have the permission to log on to the tower in network i changed the password on root and on my user .

 

4. I changed the password back to the original because i found another way.

 

 

Suddenly i startet to get problems logging in to deluge, the error are as follows :

 

2016-07-28 12:14:28,466 DEBG 'start-script' stderr output:

/root/openvpn.sh: eval: line 27: syntax error near unexpected token `('

 

/root/openvpn.sh: eval: line 27: `/usr/bin/openvpn --cd /config/openvpn --config /config/openvpn/AirVPN_Netherlands_UDP-443 (2).ovpn --remote nl.vpn.airdns.org 443 --proto udp --reneg-sec 0 --mute-replay-warnings --auth-nocache --keepalive 10 60'

 

2016-07-28 12:14:28,467 DEBG 'start-script' stdout output:

[warn] VPN connection terminated

 

2016-07-28 12:14:28,480 DEBG 'start-script' stdout output:

[warn] Restarting VPN connection in 10 mins

 

2016-07-28 12:24:28,482 DEBG 'start-script' stdout output:

[warn] VPN connection terminated

 

i`ve tryded to delete the holde thing and set it up again fresh, but it didnt work.  still the same error.

 

i am now afraid that i have to delete my hole server because of this, unless one of you guys can help me..

 

So i am crossing my fingers that one of you know what the problem is..

 

Thanks

 

i think this is your problem:-

 

AirVPN_Netherlands_UDP-443 (2).ovpn

 

so the filename is tripping things up, make sure firstly you only have 1 ovpn file in /config/openvpn and secondly remove the brackets from the ovpn filename, then restart the docker and you should be good.

Link to comment

Hey.

 

I`ve recently started to get some problems with delugevpn .

 

I will add a little info of what i have done..

 

1. I was trying to set up a vpn true airvpn on a VM machine using ubuntu.

 

2. I dowloaded a new file from airvpn to use in ubuntu.

 

3. To get my office comuter to not have the permission to log on to the tower in network i changed the password on root and on my user .

 

4. I changed the password back to the original because i found another way.

 

 

Suddenly i startet to get problems logging in to deluge, the error are as follows :

 

2016-07-28 12:14:28,466 DEBG 'start-script' stderr output:

/root/openvpn.sh: eval: line 27: syntax error near unexpected token `('

 

/root/openvpn.sh: eval: line 27: `/usr/bin/openvpn --cd /config/openvpn --config /config/openvpn/AirVPN_Netherlands_UDP-443 (2).ovpn --remote nl.vpn.airdns.org 443 --proto udp --reneg-sec 0 --mute-replay-warnings --auth-nocache --keepalive 10 60'

 

2016-07-28 12:14:28,467 DEBG 'start-script' stdout output:

[warn] VPN connection terminated

 

2016-07-28 12:14:28,480 DEBG 'start-script' stdout output:

[warn] Restarting VPN connection in 10 mins

 

2016-07-28 12:24:28,482 DEBG 'start-script' stdout output:

[warn] VPN connection terminated

 

i`ve tryded to delete the holde thing and set it up again fresh, but it didnt work.  still the same error.

 

i am now afraid that i have to delete my hole server because of this, unless one of you guys can help me..

 

So i am crossing my fingers that one of you know what the problem is..

 

Thanks

 

i think this is your problem:-

 

AirVPN_Netherlands_UDP-443 (2).ovpn

 

so the filename is tripping things up, make sure firstly you only have 1 ovpn file in /config/openvpn and secondly remove the brackets from the ovpn filename, then restart the docker and you should be good.

 

Thank you for the answer.

 

I will try this later on today :)

Link to comment

I just rebuilt my image and now when the VPN_ENABLED is set to yes I get this error:

2016-07-28 10:53:34,542 DEBG 'webui-script' stdout output:
[info] Starting Deluge webui...

2016-07-28 10:53:30,858 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:53:30,859 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...

2016-07-28 10:53:30,865 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:30 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:53:30 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:53:30 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:53:30,933 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:30 2016 UDPv4 link local: [undef]
Thu Jul 28 10:53:30 2016 UDPv4 link remote: [AF_INET]104.207.136.82:1198

2016-07-28 10:53:31,086 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:31 2016 [0dcbce5894d6959d6782a21de98ece7f] Peer Connection Initiated with [AF_INET]104.207.136.82:1198

2016-07-28 10:53:33,521 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:33 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:53:33 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:53:33 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:53:33,523 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:33 2016 /usr/bin/ip addr add dev tun0 local 10.140.1.6 peer 10.140.1.5

2016-07-28 10:53:33,528 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:33 2016 Initialization Sequence Completed

2016-07-28 10:53:33,580 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:53:33,580 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47649632539496 for <Subprocess at 47649632421432 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:53:33,580 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47649632539064 for <Subprocess at 47649632421432 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:53:33,580 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:53:33,580 DEBG received SIGCLD indicating a child quit
2016-07-28 10:53:33,595 DEBG 'deluge-script' stdout output:
[info] Deluge daemon not running, marking as first run

2016-07-28 10:53:34,076 DEBG 'deluge-script' stdout output:
[warn] PIA incoming port is not an integer, downloads will be slow, does PIA remote gateway supports port forwarding?

2016-07-28 10:53:34,083 DEBG 'deluge-script' stdout output:
[info] All checks complete, starting Deluge...

2016-07-28 10:53:34,542 DEBG 'webui-script' stdout output:
[info] Starting Deluge webui...

2016-07-28 10:53:34,947 DEBG 'deluge-script' stdout output:
Setting random_port to False..
Configuration value successfully updated.

2016-07-28 10:53:35,316 DEBG 'deluge-script' stderr output:
[ERROR ] 10:53:35 main:347 malformed expression (,)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/console/main.py", line 344, in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 102, in handle
return self._set_config(*args, **options)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 136, in _set_config
val = simple_eval(options["set"][1] + " " .join(args))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 85, in simple_eval
res = atom(src.next, src.next())
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 54, in atom
out.append(atom(next, token))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 77, in atom
raise SyntaxError("malformed expression (%s)" % token[1])
SyntaxError: malformed expression (,)

2016-07-28 10:53:35,318 DEBG 'deluge-script' stdout output:
malformed expression (,)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/console/main.py", line 344, in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 102, in handle
return self._set_config(*args, **options)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 136, in _set_config
val = simple_eval(options["set"][1] + " " .join(args))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 85, in simple_eval
res = atom(src.next, src.next())
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 54, in atom
out.append(atom(next, token))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 77, in atom
raise SyntaxError("malformed expression (%s)" % token[1])
SyntaxError: malformed expression (,)

 

Here are my settings please let me know if anything looks off (please excuse the formating)

/config

/mnt/cache/appdata/delugevpn/


/data

/mnt/user/Downloads/

Port Mappings
Container port:	Host port:	Protocol:


	Add port

8112

8112


58846

58846


8118

8119

Environment Variables
Variable Name:	Variable Value:


Add Variable

VPN_ENABLED

yes
  

VPN_USER

myuser
  

VPN_PASS

mypass
  

VPN_REMOTE

us-midwest.privateinternetaccess.com
  

VPN_PORT

1198
  

VPN_PROTOCOL

udp
  

VPN_PROV

pia
  

STRONG_CERTS

no
  

ENABLE_PRIVOXY

no
  

LAN_NETWORK

192.168.1.0/24
  

DEBUG

false
  

PUID

99
  

PGID

100
  

Link to comment

I just rebuilt my image and now when the VPN_ENABLED is set to yes I get this error:

2016-07-28 10:53:34,542 DEBG 'webui-script' stdout output:
[info] Starting Deluge webui...

2016-07-28 10:53:30,858 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:53:30,859 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...

2016-07-28 10:53:30,865 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:30 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:53:30 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:53:30 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:53:30,933 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:30 2016 UDPv4 link local: [undef]
Thu Jul 28 10:53:30 2016 UDPv4 link remote: [AF_INET]104.207.136.82:1198

2016-07-28 10:53:31,086 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:31 2016 [0dcbce5894d6959d6782a21de98ece7f] Peer Connection Initiated with [AF_INET]104.207.136.82:1198

2016-07-28 10:53:33,521 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:33 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:53:33 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:53:33 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:53:33,523 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:33 2016 /usr/bin/ip addr add dev tun0 local 10.140.1.6 peer 10.140.1.5

2016-07-28 10:53:33,528 DEBG 'start-script' stdout output:
Thu Jul 28 10:53:33 2016 Initialization Sequence Completed

2016-07-28 10:53:33,580 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:53:33,580 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47649632539496 for <Subprocess at 47649632421432 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:53:33,580 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47649632539064 for <Subprocess at 47649632421432 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:53:33,580 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:53:33,580 DEBG received SIGCLD indicating a child quit
2016-07-28 10:53:33,595 DEBG 'deluge-script' stdout output:
[info] Deluge daemon not running, marking as first run

2016-07-28 10:53:34,076 DEBG 'deluge-script' stdout output:
[warn] PIA incoming port is not an integer, downloads will be slow, does PIA remote gateway supports port forwarding?

2016-07-28 10:53:34,083 DEBG 'deluge-script' stdout output:
[info] All checks complete, starting Deluge...

2016-07-28 10:53:34,542 DEBG 'webui-script' stdout output:
[info] Starting Deluge webui...

2016-07-28 10:53:34,947 DEBG 'deluge-script' stdout output:
Setting random_port to False..
Configuration value successfully updated.

2016-07-28 10:53:35,316 DEBG 'deluge-script' stderr output:
[ERROR ] 10:53:35 main:347 malformed expression (,)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/console/main.py", line 344, in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 102, in handle
return self._set_config(*args, **options)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 136, in _set_config
val = simple_eval(options["set"][1] + " " .join(args))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 85, in simple_eval
res = atom(src.next, src.next())
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 54, in atom
out.append(atom(next, token))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 77, in atom
raise SyntaxError("malformed expression (%s)" % token[1])
SyntaxError: malformed expression (,)

2016-07-28 10:53:35,318 DEBG 'deluge-script' stdout output:
malformed expression (,)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/console/main.py", line 344, in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 102, in handle
return self._set_config(*args, **options)
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 136, in _set_config
val = simple_eval(options["set"][1] + " " .join(args))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 85, in simple_eval
res = atom(src.next, src.next())
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 54, in atom
out.append(atom(next, token))
File "/usr/lib/python2.7/site-packages/deluge/ui/console/commands/config.py", line 77, in atom
raise SyntaxError("malformed expression (%s)" % token[1])
SyntaxError: malformed expression (,)

 

Here are my settings please let me know if anything looks off (please excuse the formating)

/config

/mnt/cache/appdata/delugevpn/


/data

/mnt/user/Downloads/

Port Mappings
Container port:	Host port:	Protocol:


	Add port

8112

8112


58846

58846


8118

8119

Environment Variables
Variable Name:	Variable Value:


Add Variable

VPN_ENABLED

yes
  

VPN_USER

myuser
  

VPN_PASS

mypass
  

VPN_REMOTE

us-midwest.privateinternetaccess.com
  

VPN_PORT

1198
  

VPN_PROTOCOL

udp
  

VPN_PROV

pia
  

STRONG_CERTS

no
  

ENABLE_PRIVOXY

no
  

LAN_NETWORK

192.168.1.0/24
  

DEBUG

false
  

PUID

99
  

PGID

100
  

 

I just registered to report the same thing.  It happens when using any of the PIA servers with a hyphen in the name - like "us-east" but if I use any of the server names without hyphen, it works fine.  So seems like the server name isn't escaped properly in the code.

 

BTW - just started using delugevpn container recently.  Very nice.  Thanks for this.

Link to comment

Let me open by saying thanks! I was going to build almost exactly this when I found it, and you saved me a bunch of work!

 

I'm trying to use a custom VPN provider (HMA if it matters), and am getting an error:

 

[crit] VPN provider remote gateway not defined (via -e VPN_REMOTE), exiting...

 

Q2 says this is undefined, or am I just misreading that answer? The tunnel address is defined in the ovpn file.

Link to comment

Let me open by saying thanks! I was going to build almost exactly this when I found it, and you saved me a bunch of work!

 

I'm trying to use a custom VPN provider (HMA if it matters), and am getting an error:

 

[crit] VPN provider remote gateway not defined (via -e VPN_REMOTE), exiting...

 

Q2 says this is undefined, or am I just misreading that answer? The tunnel address is defined in the ovpn file.

 

are you using unraid or a linux distro running docker?

Link to comment

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.