PIA Leads To Slow Upload Speeds

edited October 2014 in P2P Support
This seems to be a pretty common issue, but none of the fixes that I have read about have worked for me. When not connected to PIA, torrenting works perfectly fine. Once connected to PIA, everything still works fine EXCEPT that my uploading speed is far too small.

image

As the image above indicates, my torrent IP address matches my public IP address while connected to the PIA server. Yet the orange triangle in the status bar indicates what seems to be a port issue. Strangely, the orange status occasionally becomes the green check mark or the red X, without any apparent reason. Still, it is orange most of the time.

image

The uTorrent bandwidth test is always fine, but the network test always results in the orange checkmark as shown above, indicating that the port is not open. I have verified using the Port Forward Network Utility that, when PIA is connected, the port is unavailable. When I disconnect from PIA, the same utility reports that the port is available.

Here are my PIA settings:

image

Here are my uTorrent settings:

image
image

I have even tried manually forwarding ports using my router software (though I have read that this should not be necessary as my router has UPNP enabled):

image

image

I am running Windows 8.1, the latest version of uTorrent, the latest version of PIA, and my ISP is Comcast. I have historically had a consistently reliable and speedy internet connection with good upload/download speeds using uTorrent. I recently started using PIA, and it is only when connected via this VPN that the port/upload issue arises. There must be something simple that I am not understanding, and any help would be greatly appreciated.
«1

Comments

  • Disable UPnP port mapping and NAT-PMP. They will not ever be used with the VPN, so no need to use them. Set Protocol encryption back to enabled, since forced will block some peers if they have it set to disable, and so long as you use the VPN, you already have that covered well enough.

    Under the proxy, I see that you have the details in there, but the type is set to none. That may as well say disabled. Set it to Socks5

    Finally, you have it setup to use a maximum of 800 connections. That is way too high. Bad peers will grab hold of them and throttle you because you have too many. (Particularly for a VPN.) I would lower the global maximum to no more than 100 and the per-torrent maximum to around 20 or so. If you want more, increase it slowly. (Add a few at a time or so.) And give it time for your changes to propagate before you think it is working fine. (Let the tracker time reset for all trackers twice before you think the changes are showing.)

    I am actually not a torrent user, so I apologize if any of my terminology is wrong. I hope this helps.
  • edited September 2014
    So the very first thing you should check is what port number you have assigned to you currently. Especially if utorrent is reporting problems with the incoming connections.

    You do realize that the single port used for forwarding is randomly assigned by PIA
    And while it generally doesn't change, it can change.

    The set up process you are describing sounds like you are assuming you get to pick which port is used for forwarding and that this port won't change ever.

    Setting the port in your router just opens your router to that port, but does not tell PIA which port it should assign to you.
    So all those settings might be just fine, if the slow down is because you have a different port for forwarding.

    I don't use utorrent but I've used a few other clients for years, and the overall config schemes are the same, just with different jargon mixed in.

    upnp BAD, unless you know what you're doing, or actually use it a lot, then it's not terribly secure net-wise, but up to you
    connections: *shrug* never mess with it that much, so can't say, if the setting worked without the VPN you generally shouldn't need to change it.
    As long as you are using the PIA client, for proxy settings you should leave it set to none.
    UNLESS you actually have proxy you want to use on top of the PIA VPN connection.





  • Thanks for the responses. A few comments/questions before I mess around with the settings:

    OmniNegro: I did previously have the proxy setting set to Socks5, thereby activating all the proxy settings, but it did not solve the problem. Also, you may be right about the current setup allowing too many connections (and I will experiment with this in the future), however, since everything starts working fine as soon as I disconnect from PIA, I doubt that this has anything to do with the port issue.

    p1458324: What do you mean by checking what port number is currently assigned to me? When I hover over the PIA taskbar icon, it reports in the tooltip pop-up "[port: 23838]". Am I wrong to assume that this is the one port that I should be setting uTorrent to use? And if this is not the correct port to be using, then where do I look to find the correct one?

    Both: You both mentioned that UPnP should be disabled. I neglected to mention it in my post, but I did at one point try disabling it and found that it made no difference in regards to the port problem. (That said, disabling may still be wise advice.)

    Thanks again for the advice and any further help for solving the problem.
  • Once you disconnect from the VPN it should not matter what port you have it set to use, so that can still be the problem. However if the tooltip says 23838 then that IS the correct port for uTorrent to use.

    UPnP is bad for security and privacy, but good for connectability. (These are often two sides of something.) Nonetheless I would strongly advise you to disable it since the reason you run a VPN at all is to be secure and private. And that is all hindred when that feature is enabled.

    Regarding the proxy, even if it does not fix the problem, it is always a good idea to use it. The proxy reduces the trouble your system and the VPN servers have with too many small packets coming and going. It effectively bundles packets together to the normal MTU size and splits them on the other side. So instead of sending twenty different requests to twenty different IPs with the average request being a mere few bytes, it can bundle all of them into one packet and reduce the wasted space used as connection overhead. (I should have precluded this paragraph with TL:DR...)
  • Okay, I made all the suggested changes. Now I fail the speed test, I assume, because of the proxy. I also still fail the network test. See image below for details on all my settings. (My PIA settings have not been changed at all.)

    image
  • And just to confirm, when PIA is connected the port test fails.

    image
  • DO NOT open the port on your router.

    Remember, your VPN client tunnels everything through the port you select in the VPN client. All your router sees is that VPN tunnel port and it's already "assured" if you were able to connect to PIA.

    Just make sure that utorrent can open the necessary ports in windows firewall to receive connections.

    As others have said, no need to use UPnP or NAT PMP because utorrent is NOT having to communicate with your router in this situation. Just manually enter the port you are given into utorrent.

    I'm guessing your firewall is blocking things.

    Also, trying to use the proxy in conjunction with VPN is really confusing things at the moment. You're connecting to NL VPN, why do you need the NL proxy as well??
  • cosmoxl: I stopped the manual port forwarding. (I still have port forwarding checked in the advanced options in PIA however. Is this the correct setting?) According to OmniNegro there is some benefit to using a proxy. See the last paragraph of his post above. That said, it seemed to be neither greatly hurting nor helping in terms of my practical use of uTorrent. So to ease the current analysis I turned the proxy off again, so that my torrent IP address matches my public IP address. So now I, unsurprisingly, pass the bandwidth test again, but, as before, the network test (in both uTorrent and PFPortChecker) reports that port 23838 is not open whenever PIA is connected.

    I don't see any NAT PMP stuff in my router settings.

    I have my router firewall turned off at the moment. Is it possible that Windows firewall is blocking the port when connected to PIA, but not when it is not connected?
  • Update:

    I disabled Windows firewall. In uTorrent, the network test still reports the port is closed. In PFPortChecker, the TCP test failed, but the UDP test found that port 23838 was open.

    Does this help to explain anything?
  • Well, I am not sure what the deal is, but now both the TCP and the UDP tests being done by PFPortChecker are finding the port to be open when connected to PIA. However, uTorrent's network test still reports the port is closed. All firewalls are still off.
  • supacone you should have your firewall on router turned on for sure.  firewall on computer isn't as important.

    http://www.yougetsignal.com/tools/open-ports/

    try that page inputting the port that's supposed to be open to test if it is indeed open.  Only test when utorrent is actually active with a torrent.  The servers are smart and won't open the port unless you are actually using it.

    Also, the speed tests utorrent has are worthless.  Bad idea to use that as an indication of torrent performance. 

  • edited September 2014
    Firewalls now on (both Windows and router).  I connected to PIA and tested the port using cosmoxl's link.  As expected it was closed.  I opened uTorrent and retested and it was open.

    I was never really using uTorrent's built in tests to test speed.  I was mainly using the built in network test (under the Setup Guide) to check if port 23838 was open.  Is that test in uTorrent also unreliable?  It is still reporting that the port is closed, even when the online test reports it open.

    Tests aside, in practice nothing has changed at all no matter which torrent/router/PIA settings I have tried so far.  No matter what, I get good download speeds and very bad upload speeds while torrenting.  I just went to The Pirate Bay's top 100 torrents and started torrenting the top one.  The screenshots below show the upload speed.  Even after the download finished and started seeding, the upload speed has dropped to below 1kb/s and often becomes 0kb/s.

  • And just to be clear, the upload issue disappears as soon as I disconnect from PIA.

    Thanks again for all the help.
  • Oh, and should I or should I not have the port forwarding box checked in the PIA advanced settings?  Like everything else, it seems to make no difference to my torrenting in practice, but I'd just like to know when, in theory, is it appropriate to have the box checked.
  • Port forwarding is generally safe And even if you do not see a direct boost to your speeds, it actually can help. But the tradeoff is that if someone were really trying to isolate what user of PIA is doing what, a forwarded port is a dead give-away.

    Still I doubt you are here asking for torrent advice in preparation to attack a NSA server or somesuch idiocy, so you are in no danger.

    One thing I can tell you right-off is that you do not appear to be giving the client enough time to get adjusted to the VPN. At the bare minimum it will take minutes, and likely longer. On a less than perfectly seeded torrent, it can take as long as half an hour for all the settings to get worked out due to the distributed nature of a torrent cloud. So if you make a change and expect instant changes, you will always be disappointed. This is just the nature of it.

    You may actually be giving it plenty of time. But your screenshots all say otherwise.
  • I have had more problems with the port showing as closed than anything else (and I've posted it repeatedly) .........

  • Yeah no plans to attack any NSA servers.  I am not super paranoid about being watched.  I just want to get uTorrent working properly with PIA.  If I can only upload about 0.001% of what I download, I'll quickly become the biggest leecher ever.

    It is true that I did not always wait 30 minutes between every single change, but after making all the changes suggested to me after each iteration of forum posts I did leave the torrent running continuously for an hour or more.

    I have been monitoring the Sons of Anarchy torrent (which is the top Pirate Bay torrent at the moment and therefore should provide ample opportunity for uploading) for quite a while now.  When I highlight the torrent and then click on the "peers" tab, there is usually nothing.  However, fairly regularly (as in multiple times a minute) a client will show up on the list for a second or two and then disappear.  I captured a screen shot:


    The info tab confirms there are many peers ready and waiting (over 4000).  Every once in a while, for maybe a minute or less, a peer successfully connects and my upload speed reaches the double digits.  But then the peer disappears again:  


    My trackers tab looks like this:



  • Well then I have no idea what is slowing things down. But just to make things go smoother, I will presume you meant you were downloading and seeding Ubuntu Linux. (Since it is freeware and free to distribute. That makes PIA have no liability for whatever "Other Linux Distributions" you may choose to download.)

    And I should clarify that it is not really a half hour. It is simply the time listed for each of your trackers. Nothing you change can really be relied upon to change until your trackers update.

    When people have trouble with torrents I generally do point them at Linux ISO images since they are large and always better seeded than anything else on the entire Internet. If Linux Mint for instance cannot max out your download speed, then nothing can. (The tradeoff is that Linux ISO images ARE well seeded, so the odds are you will never upload a single byte. And since you mentioned upload speed as a problem I figured there was no point suggesting them.)

    Here is one if you want to try it. It is a 1.3GB ISO.
    http://torrents.linuxmint.com/torrents/linuxmint-17-cinnamon-64bit-v2.iso.torrent
  • Yes, I have no issue with download speeds.  It looks like I'll have the Linux ISO is less than 10 minutes.  So uploading is my only problem which is consistent with the failed uTorrent network test which reports "Port is not open (you are still able to download)".  What I don't understand is why the other port tests I have tried (PFPortChecker and the online one mentioned in a post above) are now reporting that the port is open.
  • sounds like it's all working just fine - port is open when it should be.

    utorrent may say the port is closed because it uses UPnP and NAT-PMP to ask the router if the port is open.  In your case those functions should be turned off because the router doesn't need to open a port.  If those functions are turned off in utorrent it will tell you it cannot test.  but nevermind all this.  use the site I gave you to test if the port is open.  you did and it was indeed open so all is well.

    I would suggest the following for utorrent. 

    http://gyazo.com/2c46509fe343ab84f1c79b981da9cb3c
    http://gyazo.com/f6327fd7537112e4120727627c2dfbce

    and if you cannot seed it could just be the torrent you're trying to seed has few leechers.
  • Thanks cosmoxl.  I'll test out those settings and come back and report the results.

    I am pretty sure that the upload issue is not due to lack of leechers.  I tried the hottest torrent on the TPB's current top 100 torrents list.  Also, when I disconnect from PIA, my upload speeds are always normal.
  • Okay, I adjusted my settings to what cosmoxl suggested.  I then started a popular torrent and watched it very carefully.  As usual, I got an amazingly good download speed considering I'm in the US and running a VPN through the Netherlands (so props to PIA for that).  While I was still leeching, I kept a close eye on the "peers" tab of uTorrent.  At one point I started uploading between 30-70kb/s, so I looked at the peer list and noticed that about 100% of the uploading was going to a single peer.  Then, just as soon as I finished downloading and started seeding, all of the peers disappeared, including the one that I had been uploading to.  This happened instantaneously.  There was no gradual slow down of either the uploading or downloading speed.  After that, I am getting regular "flickers" of peers on the list like I described and provided a screen shot of in a previous post.  It is as if peers are constantly trying to connect with me, but get dropped immediately.

    So it appears as if I can only connect with peers while I am in the process of downloading.  As soon as I finish downloading, then all connections cut out and upload speed drops to zero.

    I am leaving the torrent running, because a bunch of the trackers are set to update in the next 10-20 minutes, but the issue I just described makes me think that this may not be the problem.
  • edited September 2014
    The top torrents are also the ones that usually have the most seeds. So you may not be getting a chance to find out if you can upload. (Same problem with the Linux ISOs I was suggesting...)

    Why not make a different torrent all your own of something like one of the Linux ISOs and just give us a magnet link for your copy? That way one of us could test it if they had some time to kill. This would eliminate the chance that someone else was the only seed and you were being overlooked by the client for some reason. Be sure not to include the same trackers used by the real copy. Otherwise nothing is gained. (I realize this is probably nothing you will do. But I have no better idea to test it so we can be certain.)

    *Edit* Unintentional Ninja post... I am reading your post now.

    I have no idea how any of this happens to work as it does. The VPN does not change your torrent behavior intentionally. The torrent client does reset all connections when it transitions from peer to seed, but I would think it should retain the peer data it already had.
  • Okay, here's a magnet link to a Ubuntu torrent I am seeding:

    magnet:?xt=urn:btih:679F3922EC9F43B063C2043C244C85939C9201D0&dn=ubuntu-14.04.1-desktop-amd64.iso&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.publicbt.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.ccc.de%3a80%2fannounce

    I am not sure how to ensure that the trackers are not the ones used by the real copy, but I created the torrent from scratch.  Let me know if I did something wrong.
  • edited September 2014
    Hmm, I am already uploading to random people, so I am guessing I did it wrong.  If I delete the trackers that are given in the torrent properties when I create the torrent, what would I replace them with?
  • Take out *ALL* the trackers. Since you do not run your own tracker and the file hashes out as identical to those already on those trackers, they probably just merge them. Alternatively you could just use 7zip to build an archive of the ISO with no compression. (That way it is clearly different from the rest, even though there would be no actual difference besides it being in an archive.)

    DHT is more than enough for a small scale test like this. But I should note that it is encouraging that you are seeding at all. :)
  • edited September 2014
    Okay I remade the torrent and deleted everything in the tracker text box.  The tracker column has <NULL> in it.  Oddly, once again people are already downloading from me.  How is that?

    Here is the magnet, just in case:
    magnet:?xt=urn:btih:679F3922EC9F43B063C2043C244C85939C9201D0&dn=ubuntu-14.04.1-desktop-amd64.iso
  • To be clear, if any tracker you have in your list has the same file you are seeding, you probably just get dumped into seeding the same torrent. But any difference at all besides the file name will change the checksum (AKA the Hash) and the tracker will think it is a whole new torrent even if it has an identical sized file of the identical name.

    Obviously DHT is slower than normal trackers in some cases, but once it gets going it will be a good test of your upload speed and settings.
  • Okay I remade the torrent and deleted everything in the tracker text box.  Oddly, once again people are already downloading from me again.  How is that?
    Did you exit the torrent client entirely and give it a few minutes for people to timeout on connection attempts? Since the trackers only refresh every half hour or so, the clients keep the data. And in between tracker refreshes they can continue to act as if the tracker and the seeds/peers were still there.

    I know this is a royal pain in the ass. And I am sorry I am doing so bad at explaining what to do for a test, but I do not even use uTorrent. So my advice is coming from almost a decade ago. (The last time I used uTorrent.)
  • No apology necessary.  You're being very helpful.  I did not exit uTorrent.  Doing so now.  While I wait, I'm creating a lightly compressed version of the ISO file using 7-zip.  It will create a .7z file, I think.  It is not .zip, but I don't think it should matter for the purposes of torrenting, right?
Sign In or Register to comment.