Jump to content
binhex

[Support] binhex - SABnzbdVPN

788 posts in this topic Last Reply

Recommended Posts

Posted (edited)

Hello

 

I restarted my server today and ever since then i cannot get sbnzbvpn or delugevpn (binhex builds) to run they both stop in the logs at this line

2019-03-12 15:19:25,362 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf
then a few minutes later is get a red error line

2019-03-12 15:21:25,481 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

 

If i turn off vpn they both work fine any info would be appreciated i guessing this might not just be me ? I have tried different locations which also did not help

 

Also just wanted to take this chance to say thanks to binhex for his great work on these dockers

 

Thanks

Edited by vapingzombie

Share this post


Link to post

Hello binhex

thanks for your reply i have done as you requested with the sabnzdvpn supervisord.log just to give a little more info i am using PIA i usually use france as the location but i also tried Switzerland.ovpn today both gave same results

 

supervisord.log

 

I also have the deluge log if you need that as well but not sure i should post it in the thread so tell me if you want it :)

 

Thank you

 

 

Share this post


Link to post
3 minutes ago, vapingzombie said:

Hello binhex

thanks for your reply i have done as you requested with the sabnzdvpn supervisord.log just to give a little more info i am using PIA i usually use france as the location but i also tried Switzerland.ovpn today both gave same results

 

supervisord.log

 

I also have the deluge log if you need that as well but not sure i should post it in the thread so tell me if you want it :)

 

Thank you

 

 

ok from the logs:-

 

2019-03-12 17:12:52,769 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-03-12 17:12:52,771 DEBG 'start-script' stdout output:
[crit] swiss.privateinternetaccess.com cannot be resolved, possible DNS issues

so def name resolution issue, if you ssh to your unraid host (not the container) and type:-

 

ping www.google.com

what do you get back? (ctrl+x to exit that command) i am guessing it will say it cant resolve it.

Share this post


Link to post
Posted (edited)

hi i got this



 



PING www.google.com (216.58.213.100) 56(84) bytes of data.
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=1 ttl=51 time=48.0 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=2 ttl=51 time=61.3 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=3 ttl=51 time=45.6 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=4 ttl=51 time=62.3 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=5 ttl=51 time=62.9 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=6 ttl=51 time=41.1 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=7 ttl=51 time=40.3 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=8 ttl=51 time=52.8 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=9 ttl=51 time=47.1 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=10 ttl=51 time=46.1 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=11 ttl=51 time=61.0 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=12 ttl=51 time=44.1 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=13 ttl=51 time=40.5 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=14 ttl=51 time=51.1 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=15 ttl=51 time=60.1 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=16 ttl=51 time=52.4 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=17 ttl=51 time=55.9 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=18 ttl=51 time=54.7 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=19 ttl=51 time=55.3 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=20 ttl=51 time=64.3 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=21 ttl=51 time=42.8 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=22 ttl=51 time=58.8 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=23 ttl=51 time=42.7 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=24 ttl=51 time=40.4 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=25 ttl=51 time=62.9 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=26 ttl=51 time=50.0 ms
64 bytes from lhr25s02-in-f4.1e100.net (216.58.213.100): icmp_seq=27 ttl=51 time=42.8 ms



 



i then exited like you said :) its seem strange every other docker works fine and it was working well before i restarted unraid also just to add if i turn vpn to no then deluge and sabnzd work fine im not overally concerned about sab but i wont use torrents without a vpn



i was really hoping this was happening to everyone setups !! lol last time i had a problem was when pia stopped port forwarding at netherlands.

i also deleted my docker.img and reinstall my templates which did not work



 

Edited by vapingzombie
add a bit more info

Share this post


Link to post

while reading thru BINHEX's general page i came across something that i thought was interesting. 

 

I am using SABnzbdVPN, along with Radarr, Sonarr and Lidarr all processing through it. I also have PIA as my VPN. 

 

I came across the the STRICT_PORT_FORWARD option and BINHEX suggests that it should be turned on ( set to yes) when you have a PIA VPN. 

 

However when i turned it on everything started to bounce. I would get great speeds and then nothing. 

 

with it turned off i am getting on average anywhere from 10MB/s to 15MB/s downloads, however i was getting almost 30MB/s until it went out again with the STRICT_PORT_FORWARD turned on. 

 

Any Ideas?

Share this post


Link to post
Posted (edited)

I just tried beets and musicbrainz local mirror they now refuse to talk to each and musicbrainz says there's an internal server error

 

looks like i may have to reinstall its strange as i havent added anymore plugins for a few months something happened on restart ?

 

thanks for trying binhex :)

Edited by vapingzombie

Share this post


Link to post
15 hours ago, vapingzombie said:

I just tried beets and musicbrainz local mirror they now refuse to talk to each and musicbrainz says there's an internal server error

 

looks like i may have to reinstall its strange as i havent added anymore plugins for a few months something happened on restart ?

 

thanks for trying binhex :)

tbh there could me a multitude of reasons why name resolution isnt workking, i have seen some nazi isp's dont allow you to use anything other than their name servers, so they maybe blocking google dns (8.8.8.8 and 8.8.4.4) you could try changing the NAME_SERVERS value so that it doesnt have the google name servers in there, perhaps you might get lucky and your isp may let through other name servers instead.

Share this post


Link to post
16 hours ago, 08deanr said:

while reading thru BINHEX's general page i came across something that i thought was interesting. 

 

I am using SABnzbdVPN, along with Radarr, Sonarr and Lidarr all processing through it. I also have PIA as my VPN. 

 

I came across the the STRICT_PORT_FORWARD option and BINHEX suggests that it should be turned on ( set to yes) when you have a PIA VPN. 

 

However when i turned it on everything started to bounce. I would get great speeds and then nothing. 

 

with it turned off i am getting on average anywhere from 10MB/s to 15MB/s downloads, however i was getting almost 30MB/s until it went out again with the STRICT_PORT_FORWARD turned on. 

 

Any Ideas?

STRICT_PORT_FORWARD is only useful if you need an incoming port, as usenet is client to server there is no requirement for this (used for torrent clients), and thus that option does absolutely nothing, in fact the code has been removed from this image, so any slowdowns you are seeing are nothing to do with this option being set.

Share this post


Link to post

I am running the Binhex Sabnzbd docker, and now want to install SabnzbVPN instead ( I am new to dockers!)

 

I have installed SabnzbdVPN, and it won't start, I understand as it is using the same port mappings as the Sabnzbd docker?

 

I have uninstallled and reinstalled SabnzbdVPN using different port mappings, but it still will not start?

 

Am I best to uninstall the Sabnzbd docker and just install the SabnzbdVPN docker instead?

 

Also am I correct in assuming that a openvpn folder will automatically be created in the config directory for me to copy my ovpn file into? The instructions on Github are not clear and mention DulugeVPN instead?

Share this post


Link to post
Posted (edited)

its same for deluge & sabnzbvpn download openvpn.zip from your vpn and copy 3 files over which is ca.rsa.2048(can be 4096).crt / crl.rsa.2048.pem and .ovpn file of your choice and put in a folder called openvpn inside your appdata config folder

 

hope this helps

 

also just to say i finally worked out my problem and remember my router software update before my problems so had a look in the rt2600 settings and it had disabled my default gateway dam updates !

 

sorry for wasting your time binhex ands thanks for the dockers

Edited by vapingzombie
spelling

Share this post


Link to post
Do's this container support ExpressVPN ?
As long as that VPN provider supports OpenVPN clients then yes.

Sent from my EML-L29 using Tapatalk

Share this post


Link to post

I get massive hanging when running this, I'm wondering what could be causing it. I notice it when I'm downloading via sabnzbd, mostly using my Windows VM (running on a dedicated NVMe SSD passed through). sabnzbd downloads to and extracts from cache drive. I have it pinned to CPUs my Windows VM doesn't use. Any ideas on flags that I could change to try to fix the issue?

Share this post


Link to post

Permission issues,

 

I just installed this container on my second unraid server EXACTLY the same as on my first one, but when I download a file SABnzbd unpacks the folder with permission 777 but the file within get a 666 permission and this prevents radarr to process the file. Any ideas what I can do? And yes I have set the "Permissions for completed downloads" to 777.

Tnks! 

Share this post


Link to post
Permission issues,
 
I just installed this container on my second unraid server EXACTLY the same as on my first one, but when I download a file SABnzbd unpacks the folder with permission 777 but the file within get a 666 permission and this prevents radarr to process the file. Any ideas what I can do? And yes I have set the "Permissions for completed downloads" to 777.
Tnks! 
File permissions will be at best 666 for new files, this is a Linux restriction, what makes you think you need execute permission? surely read and write should suffice.

Sent from my EML-L29 using Tapatalk

Share this post


Link to post

Something weird has happened with my installation of this container in the past couple of days and I am unable to send email notifications with VPN enabled.

 

I have tried my both gmail and office365 and neither are able to connect to respective SMTP server. I found a listing of all gmail SMTP ip ranges and added them to the LAN_NETWORK variable in the container settings. This seems to have done the trick, but seems like a less than ideal situation.

 

Has anyone else seen this behavior in recent days? For what it's worth, I have NEVER been able to get my local SMTP server working while VPN is enabled.  Even though I have put my local networks in the LAN_NETWORK variable. Very strange.

Share this post


Link to post
12 hours ago, binhex said:

File permissions will be at best 666 for new files, this is a Linux restriction, what makes you think you need execute permission? surely read and write should suffice.

Sent from my EML-L29 using Tapatalk
 

Sorry you are right, I misunderstood the problem with Radarr. The downloaded files won't get processed by radarr and are showns as "no file exist to be processed", I thought it was a permission problem. But it has something to do with how I mount the folders in the docker containers, still don't know why but got it to work by mounting a root folder eg I couldn't mount the "download" folder directly in the containers and had to mount a root folder to get it to work. eg unraid and then point all the way to the DL folder in the program. Strange.

Share this post


Link to post
7 minutes ago, Kru-x said:

Sorry you are right, I misunderstood the problem with Radarr. The downloaded files won't get processed by radarr and are showns as "no file exist to be processed", I thought it was a permission problem. But it has something to do with how I mount the folders in the docker containers, still don't know why but got it to work by mounting a root folder eg I couldn't mount the "download" folder directly in the containers and had to mount a root folder to get it to work. eg unraid and then point all the way to the DL folder in the program. Strange.

most probably this, see Q9. from the following link:-

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

 

Share this post


Link to post
16 hours ago, knalbone said:

I found a listing of all gmail SMTP ip ranges and added them to the LAN_NETWORK variable in the container settings.

that is not a good idea, i wouldnt recommend doing this for security reasons.

 

The problem is most likely that the smtp servers you are targeting are now actively blocking vpn ip ranges due to abuse (hackers generally use vpn's to hide identity) and thus when sabnzbd tries to send notification over the tunnel it cannot communicate with the smtp server(s). you could try switching endpoint and this MAY then allow you to send email again, it all depends on which vpn ranges the mail provider has blocked.

 

16 hours ago, knalbone said:

I have NEVER been able to get my local SMTP server working while VPN is enabled.  Even though I have put my local networks in the LAN_NETWORK variable. Very strange.

the lan_network is used to allow access to the web ui for sabnzbd, its not to allow anything through (for obvious reasons).

Share this post


Link to post
1 hour ago, binhex said:

that is not a good idea, i wouldnt recommend doing this for security reasons.

 

The problem is most likely that the smtp servers you are targeting are now actively blocking vpn ip ranges due to abuse (hackers generally use vpn's to hide identity) and thus when sabnzbd tries to send notification over the tunnel it cannot communicate with the smtp server(s). you could try switching endpoint and this MAY then allow you to send email again, it all depends on which vpn ranges the mail provider has blocked.

 

the lan_network is used to allow access to the web ui for sabnzbd, its not to allow anything through (for obvious reasons).

Agreed that it is not a good idea, it was more of a troubleshooting step.

 

I have tried multiple VPN servers, all with the same results. Outbound SMTP does not appear to be working at all and this includes to multiple email providers.

 

lan_network is uses to allow INBOUND access to the sabnzbd web ui, but it also seems to affect outbound traffic as well. Basically it appears to be a split tunnel setting.

Previously however, I did not need any special settings for outbound SMTP to work over VPN. I am beginning to suspect however that it is something to do with my new Internet provider as well since I just changed services this week. 

Share this post


Link to post
9 minutes ago, knalbone said:

but it also seems to affect outbound traffic as well.

thats not true, its highly restricted to only allow web ui traffic outbound over your lan, everything else is blocked.

 

10 minutes ago, knalbone said:

Previously however, I did not need any special settings for outbound SMTP to work over VPN. I am beginning to suspect however that it is something to do with my new Internet provider as well since I just changed services this week. 

highly unlikely as all traffic (excluding web ui access) is forced down the vpn tunnel, therefore your isp cannot see your traffic let alone block it, its most probably what i suggested, smtp server blocking vpn ip ranges., you can prove this by setting vpn_enabled to no and then see if notification works, if it does then its not your isp.

Share this post


Link to post
Posted (edited)

I've had this running succesfully for a few weeks now. I also used the sabnzbd-vpn proxy for Sonarr. Worked like a charm, but today i noticed errors in Sonarr that the nzb indexers i've been using, could not be found. Also the api connection from sonarr to sab did not work anymore.

 

After some testing i decided to disable the use of sabnzbd's proxy in sonarr, and... now sonarr can connect to sab and to the indexers...?

 

I've restarted all dockers, checked settings,,, all is well, but for some reason i can't use the sabnzbd proxy from outside anymore?

Sabnzbd's logging shows it succesfully connects to my vpn provider in a correct matter, and downloading works as well.

 

If i setup a separate binhex-privoxyvpn docker with the exact same ovpn files and settings i'm using in sabnzbdvpn, and use that as proxy in sonarr, sonarr works just fine and can connect to sabnzbd and nzb indexers just fine... 

 

What is wrong? Sabnzbd was updated a few days ago to 2.3.8 [0dd1f64], did something break?

Edited by jowi

Share this post


Link to post
On 3/29/2019 at 7:38 PM, jowi said:

What is wrong? Sabnzbd was updated a few days ago to 2.3.8 [0dd1f64], did something break?

my guess would be some possible corruption of the privoxy config, try stopping sabnzbdvpn container then delete the folder /config/privoxy/ then start the container again and see if that fixes it.

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.