Jump to content
binhex

[Support] binhex - DelugeVPN

7566 posts in this topic Last Reply

Recommended Posts

Just now, binhex said:

ive also seen this issue, i believe its a deluge bug thats been around for quite some time, as i cannot see any permissions related problems with the image and the plugin does install, its just deluge unticks the option, weirdly if you then re-tick it you can end up with multiple installs of the same plugin!.

You recommend qbittorrentvpn then?

Share this post


Link to post
Just now, scubieman said:

You recommend qbittorrentvpn then?

its an option thats available although the web ui version of qbittorrent is missing a lot of functionality imho, it depends what you need, give it a go, its still in the early days and there is a lot of work to be done to the web ui for qbittorrent before its anywhere close to the gui version but it seems stable to me.

Share this post


Link to post
34 minutes ago, TorrnapZ said:

Binhex, any input on the Webgui-problems me and others have been experiencing lately?

Agreed, it is very bizarre for there seems to be an issue with VPN and webui working per my previous reply

23 hours ago, zyurph said:

My apologies my more recent reply was a continuation of my previous messages note I have been running binhex-delugevpn for over a year without an issue until recently I have updated to the latest version of both unraid and the binhex-delugevpn docker and no webui.  So I now have the same issue on two different unraid servers.  Oh and yes I have my PIA creds entered.  Attached is my latest supervisord log. 

supervisord.log

 

Share this post


Link to post

@zyurph, I recently had an issue with the WebUI not loading. The solution for me was:

 I installed a new instance of DelugeVPN in parallel to the bad one. Then I copied preference files, one at a time, from the new fresh install into my existing docker. I restarted the docker after each and checked. If it didn't fix anything I put the old file back to preserve as many settings as possible. When I finally got to web.conf that fixed the issue. I guess it was corrupted or something. Once I swapped that file the WebUI came back. Testing the files one by one I was able to revert back to all my existing files and I didn't lose any settings, or partial transfers, like I would have if I had just used the totally new install. My recommendation would be to do that second install and start with web.conf and see if replacing that will bring your UI back.

Share this post


Link to post
14 minutes ago, eb3k said:

@zyurph, I recently had an issue with the WebUI not loading. The solution for me was:

 I installed a new instance of DelugeVPN in parallel to the bad one. Then I copied preference files, one at a time, from the new fresh install into my existing docker. I restarted the docker after each and checked. If it didn't fix anything I put the old file back to preserve as many settings as possible. When I finally got to web.conf that fixed the issue. I guess it was corrupted or something. Once I swapped that file the WebUI came back. Testing the files one by one I was able to revert back to all my existing files and I didn't lose any settings, or partial transfers, like I would have if I had just used the totally new install. My recommendation would be to do that second install and start with web.conf and see if replacing that will bring your UI back.

@eb3k , Thank you for the reply!  I have tried this as well, even going so far as to remove the docker and the directory in appdata and re-install.  Still the same effect.  

Share this post


Link to post
45 minutes ago, eb3k said:

@zyurph, I recently had an issue with the WebUI not loading. The solution for me was:

 I installed a new instance of DelugeVPN in parallel to the bad one. Then I copied preference files, one at a time, from the new fresh install into my existing docker. I restarted the docker after each and checked. If it didn't fix anything I put the old file back to preserve as many settings as possible. When I finally got to web.conf that fixed the issue. I guess it was corrupted or something. Once I swapped that file the WebUI came back. Testing the files one by one I was able to revert back to all my existing files and I didn't lose any settings, or partial transfers, like I would have if I had just used the totally new install. My recommendation would be to do that second install and start with web.conf and see if replacing that will bring your UI back.

Thank you for this, I tried it and now it appears to working. How long I'm not sure, I have previously got it working from restoring from backup but it always comes back.

 

I am however getting this error now constantly:

2018-11-14 21:37:47,841 DEBG 'deluge-web-script' stderr output: [ERROR ] 21:37:47 auth:330 Login failed (ClientIP 172.17.0.1)

 

Any idea why?

Share this post


Link to post
On 11/5/2018 at 11:46 PM, Hoopster said:

Download this and open it in the Deluge VPN web client.

 

You will see something similar to the following in the Status window (It will say "Success" and show the IP address assigned by your VPN):

 

 

VPN IP.PNG

Thanks worked great :)

Share this post


Link to post
1 hour ago, zyurph said:

@eb3k , Thank you for the reply!  I have tried this as well, even going so far as to remove the docker and the directory in appdata and re-install.  Still the same effect.  

Hmmm. I tried removing and reinstalling a couple times and it was still picking up my old config. I guess I didn't ditch my appdata folder. Must be a different issue on your system. Does the parallel install work? Like if you have your no webUI container running and you add a second copy (even try the non VPN version) running at the same time, do both of them fail to load the UI or just your original one? That was what made me try replacing files, when I added the non VPN as a test it worked fine. I used the VPN version to copy in case there were differences, but that is what clued me in. If they both fail to load then you likely have a larger issue.

7 minutes ago, TorrnapZ said:

Thank you for this, I tried it and now it appears to working. How long I'm not sure, I have previously got it working from restoring from backup but it always comes back.

 

I am however getting this error now constantly:

2018-11-14 21:37:47,841 DEBG 'deluge-web-script' stderr output: [ERROR ] 21:37:47 auth:330 Login failed (ClientIP 172.17.0.1)

 

Any idea why?

I didn't get any errors when I did this so I'm not sure what that might be. I'm not really an expert I just tried everything until I found something that worked for me. Maybe someone who actually knows how the docker works can help with that.

Share this post


Link to post
4 minutes ago, eb3k said:

I didn't get any errors when I did this so I'm not sure what that might be. I'm not really an expert I just tried everything until I found something that worked for me. Maybe someone who actually knows how the docker works can help with that.

Figured out the password reverted and Sonarr/Radarr was trying to log in. Works for now, even after I put the old webconf back again.

 

I guess I'll keep doing this every couple of days until a fix comes out, beats reverting to backup.

Share this post


Link to post

 

15 hours ago, zyurph said:

Binhex, any input on the Webgui-problems me and others have been experiencing lately?

Firstly please dont generalise the inability to access the web ui as a single issue, it very rarely is, there are dozens or reasons why the web ui may not be accessible, nearly all of them are user misconfiguration, the rest are vpn provider related, keep in mind the vast majority of people are running this with no issue.

 

so anybody with ongoing web ui issues please detail any related information that might be pertinent and then follow the procedure below:-

 

https://forums.unraid.net/topic/44108-support-binhex-general/?do=findComment&comment=435831

 

Things to keep in mind:-

 

No support for VPS or non LAN environments.

No support for statically assigned IP containers

 

Share this post


Link to post
4 hours ago, binhex said:

 

Firstly please dont generalise the inability to access the web ui as a single issue, it very rarely is, there are dozens or reasons why the web ui may not be accessible, nearly all of them are user misconfiguration, the rest are vpn provider related, keep in mind the vast majority of people are running this with no issue.

 

so anybody with ongoing web ui issues please detail any related information that might be pertinent and then follow the procedure below:-

 

https://forums.unraid.net/topic/44108-support-binhex-general/?do=findComment&comment=435831

 

Things to keep in mind:-

 

No support for VPS or non LAN environments.

No support for statically assigned IP containers

 

Sorry mate, didn't there where so many different reasons.

Here is my log-file: https://pastebin.com/0R4pApd5

 

Any hints on whats going on?

Share this post


Link to post
3 minutes ago, TorrnapZ said:

Sorry mate, didn't there where so many different reasons.

Here is my log-file: https://pastebin.com/0R4pApd5

 

Any hints on whats going on?

no need to apologise, im just trying to prevent the situaiton where one guy 'fixes' the web ui issue and then assumes everybody else has the same problem and passes this along as the 'fix', it just wastes times thats all.

 

ok so ive taken a look at your log and its clean, i can see nothign wrong with the config whatsoever, infact i can see that deluge has performed re-checks on some existing torrents so im assuming its up and running, just for whatever reason you cant access the web ui. 

 

so questions/suggestions for you:-

 

1. are you trying to access the web ui from within the lan or externally? - if externally have you loaded iptable_mangle?, see link below Q1. on how to do this (unraid only):-

https://forums.unraid.net/topic/44108-support-binhex-general/?tab=comments#comment-433613

2. have you tried another browser when attempting connection? - if not try it

3. have you tried another device (phone/tablet/pc/mac) when attempting connection? - if not try it

4. have you verified that the LAN_NETWORK is correct? - see the link below Q3. for instruction on how to calculate this if you are unsure:-

https://forums.unraid.net/topic/44108-support-binhex-general/?tab=comments#comment-433613

 

Share this post


Link to post
31 minutes ago, binhex said:

no need to apologise, im just trying to prevent the situaiton where one guy 'fixes' the web ui issue and then assumes everybody else has the same problem and passes this along as the 'fix', it just wastes times thats all.

 

ok so ive taken a look at your log and its clean, i can see nothign wrong with the config whatsoever, infact i can see that deluge has performed re-checks on some existing torrents so im assuming its up and running, just for whatever reason you cant access the web ui. 

 

so questions/suggestions for you:-

 

1. are you trying to access the web ui from within the lan or externally? - if externally have you loaded iptable_mangle?, see link below Q1. on how to do this (unraid only):-

https://forums.unraid.net/topic/44108-support-binhex-general/?tab=comments#comment-433613

2. have you tried another browser when attempting connection? - if not try it

3. have you tried another device (phone/tablet/pc/mac) when attempting connection? - if not try it

4. have you verified that the LAN_NETWORK is correct? - see the link below Q3. for instruction on how to calculate this if you are unsure:-

https://forums.unraid.net/topic/44108-support-binhex-general/?tab=comments#comment-433613

 

I should have included the info from my earlier post.

 

I can always connect to deluge through the deluge windows-app without problems, it's just the webgui thats causes problems.

I have the same problem both within and outside the LAN, when it happens it doesn't matter which browser or computer/phone I use.

 

I can access the preferences and see the correct session speed in the titlebar but the torrent list is blank.

A restart of the container doesn't work, sometimes a restart of the whole server works. Reverting to backup works but it comes back in a day or two.

Adding a new web.conf as suggested in this thread worked but the problem came back in a day.

 

I have run the same setup without problems for about a year, I think this might have started when I upgraded to Unraid 6.6.4 but I cant be sure on that.

Share this post


Link to post
1 minute ago, TorrnapZ said:

when I upgraded to Unraid 6.6.4

ok i will need to have a think about all of the info you posted, but the first important thing you need to do is move to unraid 6.6.5, 6.6.4 had bugs and 6.6.5 was released quickly after it to fix those bugs so i would strongly suggest you move to that as a first step.

Share this post


Link to post
27 minutes ago, binhex said:

ok i will need to have a think about all of the info you posted, but the first important thing you need to do is move to unraid 6.6.5, 6.6.4 had bugs and 6.6.5 was released quickly after it to fix those bugs so i would strongly suggest you move to that as a first step.

Seems I haven't been keeping up, I usually get a notification when there is a new release.

I've updated now and the web gui works, it does however usually work after a reboot so I'll get back to you if the problem persists.

Share this post


Link to post

I'm afraid the problem came back today. It seems to coinced with me using it extensivly, checking/moving/adding torrents.

At a certain point it slows down, I loose connection and then the torrentlist is blanked out.

Share this post


Link to post
1 minute ago, TorrnapZ said:

I loose connection and then the torrentlist is blanked out.

ok so this is interesting, so you can login to the web ui, and you can see the top menu bar for settings etc, its just you cant see any of the torrents?.

Share this post


Link to post

somebody with the same/similar issue:-

https://webcache.googleusercontent.com/search?q=cache:JslqHRdsrHIJ:https://forum.deluge-torrent.org/viewtopic.php%3Ft%3D54880+&cd=1&hl=en&ct=clnk&gl=uk

 

and another one, no reply but it looks like this might of been related to not connecting to the deluge dameon, can you check that:-

https://forum.deluge-torrent.org/viewtopic.php?t=54930

 

question for you, how many torrents have you got in an active state (seeding/leeching)?, deluge is a bit crap when you start dealing with more than a 100 or so, so it could be hitting this limitation.

Share this post


Link to post
4 hours ago, binhex said:

ok so this is interesting, so you can login to the web ui, and you can see the top menu bar for settings etc, its just you cant see any of the torrents?.

Yes everything except the torrents, the speed is even displayed correctly in the titlebar.

 

3 hours ago, binhex said:

somebody with the same/similar issue:-

https://webcache.googleusercontent.com/search?q=cache:JslqHRdsrHIJ:https://forum.deluge-torrent.org/viewtopic.php%3Ft%3D54880+&cd=1&hl=en&ct=clnk&gl=uk

 

and another one, no reply but it looks like this might of been related to not connecting to the deluge dameon, can you check that:-

https://forum.deluge-torrent.org/viewtopic.php?t=54930

 

question for you, how many torrents have you got in an active state (seeding/leeching)?, deluge is a bit crap when you start dealing with more than a 100 or so, so it could be hitting this limitation.

I fear this might be the problem, I have about 600 torrents running about 250 of which is cross seeds.

I thought Deluge would be okay with this since it's a common choicefor seedboxes etc, any way to optimize this for more torrents?

 

Does rTorrent handle lots of torrents better and if so, is there an easy way to transfer them?

Share this post


Link to post
16 minutes ago, TorrnapZ said:

Does rTorrent handle lots of torrents better and if so, is there an easy way to transfer them?

i have heard people using the docker image i created (rtorrentvpn) with thousands of torrents concurrently active, so yeah i think its possible, obviously spec of your machine, whether you have a ssd for cache etc come into play, but if your machine is man enough then it should be able to do it, yep.

 

Transitioning over should be as simple as configuring rtorrent/rutorrent incomplete and completed to point at the same folders as deluge, then adding in a single torrent, let it check the downloaded file(s) and it should start seeding once check is complete, if all good then copy the other torrents over, try not to dump the lot as checking is cpu and i/o intensive, so maybe do it in batches of 50 or something.

Share this post


Link to post
35 minutes ago, binhex said:

i have heard people using the docker image i created (rtorrentvpn) with thousands of torrents concurrently active, so yeah i think its possible, obviously spec of your machine, whether you have a ssd for cache etc come into play, but if your machine is man enough then it should be able to do it, yep.

 

Transitioning over should be as simple as configuring rtorrent/rutorrent incomplete and completed to point at the same folders as deluge, then adding in a single torrent, let it check the downloaded file(s) and it should start seeding once check is complete, if all good then copy the other torrents over, try not to dump the lot as checking is cpu and i/o intensive, so maybe do it in batches of 50 or something.

Yeah I was hoping there was an easier way that skipped the recheck and allowed you to export everything at once, especially since I'll get busted for seeding from different locations at once if I have both open. I'll have to do some research, thanks for all your help mate!

Share this post


Link to post
1 minute ago, TorrnapZ said:

Yeah I was hoping there was an easier way that skipped the recheck

this MIGHT be possible, a quick google revealed this rtorrent option (define in rtorrent.rc file):-

# Check hash for finished torrents. (check_hash) 
pieces.hash.on_completion.set = no

that might stop the hashing.

Share this post


Link to post
24 minutes ago, binhex said:

this MIGHT be possible, a quick google revealed this rtorrent option (define in rtorrent.rc file):-


# Check hash for finished torrents. (check_hash) 
pieces.hash.on_completion.set = no

that might stop the hashing.

Thanks, I'll give it a shot sometime this weekend. If I find an easy way I can make a guide somewhere, this might not be the right thread.

Share this post


Link to post

Ive been trying to use this along with fail2ban but its only banning 172.17.0.1 (docker ip) which is no good does not seem to be passing real ip address i have tried a few things such as proxy

 

server {
    listen 80;
server_name torrent.example.me;
        location / {
            proxy_set_header X-Real-IP $remote_addr;
             proxy_set_header X-Forwarded-For $remote_addr;
             proxy_set_header Host $host;
            proxy_pass http://127.0.0.1:9080;
        }
}

but this is a snippet from log with a purposely wrong password

172.17.0.1 - heeelo [17/Nov/2018:17:48:18 +0000] "GET / HTTP/1.0" 401 597 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.18277"
 

 

Any help would be greatly appreciated 

Share this post


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.