Jump to content
binhex

[Support] binhex - qBittorrentVPN

933 posts in this topic Last Reply

Recommended Posts

9 hours ago, SignedOne said:

As we all know, PIA is currently moving their infrastructure, which results in pretty terribly reliability and constant connection issues when using their CurrentGen Network. Today, however, I discovered that they offer OpenVPN confs for their NextGen servers: https://www.privateinternetaccess.com/pages/download

 

AFAICT they work reliable. Only way to use them currently is to set the STRICT_PORT_FORWARD ENV variable to "no", since their NextGen network doesn't seem to support port forwarding yet.

For anyone having issues with this container while using PIA, this guy's comment fixed it for me. Switched to a NextGen OVPN file and it now works for me. This was super frustrating!

Share this post


Link to post

Hi Everyone:


I am currently having issues with Sonarr and Radarr connecting to qBitTorrent, not sure if it's a problem with them or QBT, although I suspect it's QBT (since Sonarr and Radarr both used to work, then they suddently stopped working with Qbittorrent, but NZBGet still works. I hope someone can help me, Google can't find anything on this:

I tried removing and pulling down the QBT container again, same issue, when I try to add the download client to sonarr or radarr, it wont. I get the following error:
 

Unable to test qBittorrent: Invalid character after parsing property name. Expected ':' but got: t. Path 'web_ui_csrf_protection_enabled', line 1, position 3587. (Json snippet 'd":false,"web_ui_cu"<--error-->tetivtimS,"te_minbuf')

Newtonsoft.Json.JsonReaderException: Invalid character after parsing property name. Expected ':' but got: t. Path 'web_ui_csrf_protection_enabled', line 1, position 3587. (Json snippet 'd":false,"web_ui_cu"<--error-->tetivtimS,"te_minbuf') ---> Newtonsoft.Json.JsonReaderException: Invalid character after parsing property name. Expected ':' but got: t. Path 'web_ui_csrf_protection_enabled', line 1, position 3587. at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00116] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonTextReader.ParseObject () [0x000d8] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x00053] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x0028e] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at NzbDrone.Common.Serializer.Json.Deserialize[T] (System.String json) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Serializer\Json.cs:40 --- End of inner exception stack trace --- at NzbDrone.Common.Serializer.Json.Deserialize[T] (System.String json) [0x0000e] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Serializer\Json.cs:44 at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.ProcessRequest[TResult] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00008] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:270 at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.GetConfig (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00012] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:82 at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.TestConnection () [0x000cd] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:258

 

When I try to save instead of test I similarly get:

 

Unable to test qBittorrent: Unexpected character encountered while parsing value: d. Path 'upnp_lease_duratiohedr', line 1, position 3403. (Json snippet '_lease_duratiohedr":<--error-->d":ablee_,"sah":aler')

 

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: d. Path 'upnp_lease_duratiohedr', line 1, position 3403. (Json snippet '_lease_duratiohedr":<--error-->d":ablee_,"sah":aler') ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: d. Path 'upnp_lease_duratiohedr', line 1, position 3403. at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <c5b8b1476b514bcaad468ae001c1fb99>:0 at NzbDrone.Common.Serializer.Json.Deserialize[T] (System.String json) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Serializer\Json.cs:40 --- End of inner exception stack trace --- at NzbDrone.Common.Serializer.Json.Deserialize[T] (System.String json) [0x0000e] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Serializer\Json.cs:44 at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.ProcessRequest[TResult] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00008] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:270 at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.GetConfig (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00012] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:82 at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.TestConnection () [0x000cd] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:258

 

Anyone have any ideas?

Thanks!

Share this post


Link to post
On 8/16/2020 at 10:22 PM, SignedOne said:

As we all know, PIA is currently moving their infrastructure, which results in pretty terribly reliability and constant connection issues when using their CurrentGen Network. Today, however, I discovered that they offer OpenVPN confs for their NextGen servers: https://www.privateinternetaccess.com/pages/download

 

AFAICT they work reliable. Only way to use them currently is to set the STRICT_PORT_FORWARD ENV variable to "no", since their NextGen network doesn't seem to support port forwarding yet.

Thank you very much for this. I had to turn my server off for some maintenance and I thought that was the problem, but it was this. Next-gen config files work for me, but no actual torrent client activity until port forwarding is supported. Any ideas when that will be?

Share this post


Link to post
1 hour ago, thatsthefrickenlightning said:

Thank you very much for this. I had to turn my server off for some maintenance and I thought that was the problem, but it was this. Next-gen config files work for me, but no actual torrent client activity until port forwarding is supported. Any ideas when that will be?

No idea, unfortunately. Though I'll probably switch to a different container, since the binhex containers still tend to hang a lot and don't reconnect automatically, they often get stuck at steps like "marking for reconfigure", requiring daily restarts and horrible availability, even if the VPN servers themselves are stable enough.

Share this post


Link to post
18 hours ago, SignedOne said:

No idea, unfortunately. Though I'll probably switch to a different container, since the binhex containers still tend to hang a lot and don't reconnect automatically, they often get stuck at steps like "marking for reconfigure", requiring daily restarts and horrible availability, even if the VPN servers themselves are stable enough.

i took a look at this image and did spot a long standing issue with pgrep causing issues, this bug has been fixed upstream and the image has been rebuilt with the fix, please pull down the latest image and let me know if it now works correctly when reconfiguration is required (i.e. openvpn drop or port closed).

  • Like 1
  • Thanks 1

Share this post


Link to post
22 hours ago, SignedOne said:

No idea, unfortunately. Though I'll probably switch to a different container, since the binhex containers still tend to hang a lot and don't reconnect automatically, they often get stuck at steps like "marking for reconfigure", requiring daily restarts and horrible availability, even if the VPN servers themselves are stable enough.

Thanks for the info. What would your alternative be?

4 hours ago, binhex said:

i took a look at this image and did spot a long standing issue with pgrep causing issues, this bug has been fixed upstream and the image has been rebuilt with the fix, please pull down the latest image and let me know if it now works correctly when reconfiguration is required (i.e. openvpn drop or port closed).

I'm impressed. If I hadn't donated already, this would get me to. :)

Share this post


Link to post
5 hours ago, binhex said:

i took a look at this image and did spot a long standing issue with pgrep causing issues, this bug has been fixed upstream and the image has been rebuilt with the fix, please pull down the latest image and let me know if it now works correctly when reconfiguration is required (i.e. openvpn drop or port closed).

Just pulled it, will test for a few days and report back! Thanks for your excellent support mate.

Share this post


Link to post
Just pulled it, will test for a few days and report back! Thanks for your excellent support mate.
If you do spot a problem then please remove any sensitive info and then attach the entire log, preferably with debug set to true

Sent from my CLT-L09 using Tapatalk

Share this post


Link to post
Posted (edited)
13 minutes ago, binhex said:

If you do spot a problem then please remove any sensitive info and then attach the entire log, preferably with debug set to true

Sent from my CLT-L09 using Tapatalk
 

Wilco!

 

Regarding port forwarding on their NextGen servers, it seems to indeed be possible, it's just a new procedure. Should be fairly easy to implement, I'll try it myself once I got a bit of time on my hands:

https://github.com/thrnz/docker-wireguard-pia/blob/master/extra/pf.sh

Edited by SignedOne

Share this post


Link to post

So if we use PIA and this container it just won't work currently?  My current config isn't working, but moving to next gen configs seem like they don't work for different reasons?  Anyone have a solution for PIA users?

Share this post


Link to post
So if we use PIA and this container it just won't work currently?  My current config isn't working, but moving to next gen configs seem like they don't work for different reasons?  Anyone have a solution for PIA users?

Shoud be a docker version of it on apps with built in wireguard. Shoud work with pia i beleve if im not mistaken

 

Sent fra min SM-G965F via Tapatalk

 

 

 

Share this post


Link to post
1 hour ago, Ronhj said:

Shoud be a docker version of it on apps with built in wireguard. Shoud work with pia i beleve if im not mistaken

 

Sent fra min SM-G965F via Tapatalk

 

 

 

So I have been using this build of qbittorrent and it worked fine up until a day or so ago.  Are you saying there is another build that should work?

Share this post


Link to post

Atm openvpn is bad with pia. Had to change server once a day.. changing to a docker with built in wiregard solves the problem for now anyway. There is one made by dyonr. And can be found on CA

Sent fra min SM-G965F via Tapatalk

Share this post


Link to post
16 hours ago, SignedOne said:

Wilco!

 

Regarding port forwarding on their NextGen servers, it seems to indeed be possible, it's just a new procedure. Should be fairly easy to implement, I'll try it myself once I got a bit of time on my hands:

https://github.com/thrnz/docker-wireguard-pia/blob/master/extra/pf.sh

that script is a hack, it uses the pia app to generate the required wireguard file and then modifies it. yes it works but its fragile and could break at any time. as is mentioned in the comments in the script:-

# Port forwarding on the 'next-gen' network isn't supported outside of the official PIA app at this stage. Use at your own risk!
#

so until there is official support for native wireguard AND pia supports port forwarding via wireguard then i personally am not interested.

Share this post


Link to post
Posted (edited)
12 hours ago, sittingmongoose said:

So if we use PIA and this container it just won't work currently?  My current config isn't working, but moving to next gen configs seem like they don't work for different reasons?  Anyone have a solution for PIA users?

yes it does currently work, but as pia are transitioning over to next-gen network some of the endpoints may or may not work during this transition, i am using ca-montreal with no issue on the existing pia network.

 

just to be clear here, pia next-gen does NOT mean wireguard only, next-gen currently supports both openvpn and wireguard, however there is currently no port forwarding support for openvpn on next-gen, so until that is in place i would recommend sticking to the existing network.

 

if you want to use openvpn next-gen and dont mind no port forwarding (no incoming port - slow speeds) then use the openvpn generator here:-

https://www.privateinternetaccess.com/pages/ovpn-config-generator

Edited by binhex
  • Like 1
  • Thanks 1

Share this post


Link to post
Posted (edited)
9 hours ago, Ronhj said:

Atm openvpn is bad with pia. Had to change server once a day.. changing to a docker with built in wiregard solves the problem for now anyway. There is one made by dyonr. And can be found on CA

Sent fra min SM-G965F via Tapatalk
 

just to make you aware, the app mentioned above will be using the pia app config hack, so it may stop working at any time, the choice is completely yours of course.

Edited by binhex

Share this post


Link to post
On 8/20/2020 at 3:19 PM, binhex said:

If you do spot a problem then please remove any sensitive info and then attach the entire log, preferably with debug set to true

Sent from my CLT-L09 using Tapatalk
 

Just a quick update, running perfectly fine now. Automatic reconnect and handling of iptables/spinning up of the different program instances works as expected. Cheers!

Share this post


Link to post
9 hours ago, binhex said:

yes it does currently work, but as pia are transitioning over to next-gen network some of the endpoints may or may not work during this transition, i am using ca-montreal with no issue on the existing pia network.

 

just to be clear here, pia next-gen does NOT mean wireguard only, next-gen currently supports both openvpn and wireguard, however there is currently no port forwarding support for openvpn on next-gen, so until that is in place i would recommend sticking to the existing network.

 

if you want to use openvpn next-gen and dont mind no port forwarding (no incoming port - slow speeds) then use the openvpn generator here:-

https://www.privateinternetaccess.com/pages/ovpn-config-generator

Switched from Sweden to CA-Montreal and now PIA via OpenVPN works as expected.  Thanks!  Looking forward to moving to wireguard in the future.  

Share this post


Link to post
On 5/2/2020 at 4:17 PM, Highbird said:

Morning Everyone,

 

I've just setup binxhex-qbittorrentvpn using PIA and I'm able to access the web GUI and download torrents, however, if any of the links are magnet links, I can't access them, it refuses to even put them into the Transfers area. When I try to do "register to handle magnet links..." from the 'Tools' drop-down, I get the "To use this feature, the WebUI needs to be accessed over HTTPS" dialogue.

magnet.PNG

I've read through the entire FAQ, searched the forum and only found one person with a sort of similar issue and their fix was to add their subnet/hostnet to the whitelist under 'Authentication' in the 'Web UI' settings and I did that with no change. This is driving me absolutely mad and I feel like I'm missing something super simple.

 

Any assistance would be appreciated. Thank you!

 

Additional info: I am able to use the search, right click -> go to description page -> copy the magnet link and add it via file -> add torrent URL and it will start downloading. If I right click and choose download, I get the box to confirm to start but when I hit download, nothing will happen...but only on certain torrents.

 

 

Are you still looking for a fix for this ? I was playing about last night and have managed to worked out how to do this !

Share this post


Link to post
On 8/21/2020 at 7:44 AM, binhex said:

yes it does currently work, but as pia are transitioning over to next-gen network some of the endpoints may or may not work during this transition, i am using ca-montreal with no issue on the existing pia network.

 

just to be clear here, pia next-gen does NOT mean wireguard only, next-gen currently supports both openvpn and wireguard, however there is currently no port forwarding support for openvpn on next-gen, so until that is in place i would recommend sticking to the existing network.

 

if you want to use openvpn next-gen and dont mind no port forwarding (no incoming port - slow speeds) then use the openvpn generator here:-

https://www.privateinternetaccess.com/pages/ovpn-config-generator

Switched to this endpoint on the legacy network. Working for now. Not ideal, because trackers expect me on a different ip (range), but it'll do for now. Thank you!

Share this post


Link to post

I can't add qBittorrent as download client to Sonarr or Radarr anymore.

image.thumb.png.0e7f19c91997a6d0970841c0c54f0327.png

 

qBittorrent is running and everything was working before.

Share this post


Link to post
17 hours ago, 0Maverick0 said:

qBittorrent is running and everything was working before.

what is lan_network set to for qbittorrentvpn?

Share this post


Link to post
22 minutes ago, 0Maverick0 said:

It's set to 192.168.2.0/24

ok thats good, and ssl is turned off for qbittorrentvpn?, can you left click icon select edit and screenshot all the settings with 'advanced view' turned on and post here.

Share this post


Link to post

image.png.ee5e924baf46d93aae9f9c7564714e79.png

 

image.thumb.png.bf3603a0c7e32ca1c554c2bcca82c873.png

 

Sonarr and Radarr are using a lot of cpu all the time for days, maybe there is something going on with that?

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.