vpn is stuck trying to connect

i bought a month subscription yesterday and it works fine on my windows desktop. i attempted to install it on my ubuntu system and i'm having trouble. i'm running v59 of the client and ubuntu 15.10. it installed and i extracted it and i logged in just fine, but when i try to connect to a server it either attempts to connect for about 5 seconds then disconnects or gets stuck in connecting until i disconnect it myself. any suggestions?

Comments

  • try connecting to a diffrent server.. i had the same issue when i was trying to connect to uk servers
  • alextsak said:
    try connecting to a diffrent server.. i had the same issue when i was trying to connect to uk servers
    i've gone through pretty much every server, every port and everything
  • Hi,

    I'm having the exact same problem. Have tried different ports, udp, tcp, different servers, etc.

    Running Lubuntu 16.04

    Also tried the Windows PIA client (Win7) on the same machine (dual boot) and it worked fine.

    Please help.
  • I've got the same problem! Also shut down the firewall en tried every port setting again. Please, who knows a solution? I've got a two year subscription. It works fine on my mac.

    Thnx
  • +1 same problem here... It tries to connect to any server but it fails. By the way, it is nice to have an app where we can setup the VPN kill switch and the leak protection and all the other stuff, and also to easily configure the encryption level in Linux.
  • for linux, i have always used the manual openvpn set up fashion, by entering information directly in network manager. it's the only option that works for me since i don't use ubuntu, therefore, i cannot install ubuntu packages in my current 32-bit architecture (I use SLED11SP4). make sure that openvpn and related packages are installed in your distribution

    my set up is pretty simple and straightforward:
    create a new connection and give it a name.
    then you type your gateway (pia server), type=password, user name, password, CA certificate;  then go to the advance button.

    in that menu, select or check the box for:
    * custom gateway port= 443
    * use LZO compression
    * use TCP connection

    in the security tab, i use:
    * cipher= default
    * hmac authenitcation= sha-1

    let me know whether this set up works. mine does with no problems for almost 3 years when i started using pia vpn. and i usually connect inside a very heavy/paranoid corporate protected network that blocks pretty much everything. only bad side for this, download speeds suffer but you can still navigate and watch youtube videos smoothly, not in HD of course. never had the need for kill switch i guess. already checked for leak protection in my setup and i have no leaks.

    hope this helps.

  • with the CA certificate, i mean the old one, which still works properly.

    The new ones (2048 & 4096) still cannot make a successful connection and time out. no needs to talk about it here since it is already a topic in another post in this very forum.

  • Count me among the Linux users who hasn't had any success with using the PIA VPN client. I'm currently running Ubuntu 16.04 & I've been a long time user of the OpenVPN script, which (still!) works brilliantly & thought I'd try the full Linux client after getting the email about losing the Russian server/changing the certificates.

    No matter which server I trying connecting to, the Linux client does one of two things for every server:
    1) It says it's attempting to connect for 5-6 seconds & then displays a "You are disconnected" message, or
    2) It says it's connecting & then never connects--it never times out (at least after a full 60 seconds).

    Will continue to use the OpenVPN configurations, but really like look of the full client interface.
  • I'm having the exact same problems listed above.  I'm the same as p2985896 :using Lubuntu 16 which is just a lite version of Ubuntu.  Having the same errors as everyone else.
  • My PIA client v59 started working after a Lubuntu update and restart. Same as lalligood, I read the email and updated the client to v61 and I'm now having the same problem again: Either doesn't connect or hangs on connecting.

    PIA really need to sort this out.

    Here's a section of the log (from /home/[username]/.pia_manager/log/pia_manager.log) where it fails to connect (IP addresses and key removed):

    [07/13/16 12:24:02] #<EOFError: end of file reached>
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1208:in `readline'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1208:in `block (2 levels) in cmd'
    /home/matt/.pia_manager/pia_manager/pia_common.rb:291:in `timeout'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1206:in `block in cmd'
    <internal:prelude>:10:in `synchronize'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1198:in `cmd'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1228:in `block in start_connection_status_polling'
    /home/matt/.pia_manager/pia_manager/pia_common.rb:24:in `block in safe'
    [07/13/16 12:24:02] flushed_dns
    [07/13/16 12:24:02] starting openvpn: "/home/matt/.pia_manager/openvpn_launcher.64" "--client" "--persist-key" "--persist-tun" "--comp-lzo" "yes" "--dev" "tun" "--script-security" "2" "--remote" "[IP address]" "8080" "--auth-user-pass" "/home/matt/.pia_manager/data/user_pass.txt" "--writepid" "/home/matt/.pia_manager/log/openvpn.pid" "--proto" "udp" "--nobind" "--management" "127.0.0.1" "31749" "--log-append" "/home/matt/.pia_manager/log/openvpn.log" "--remote-cert-tls" "server" "--cipher" "aes-128-cbc" "--auth" "sha1" "--ca" "/home/matt/.pia_manager/data/ca.crt" "--sndbuf" "262144" "--rcvbuf" "262144" "--tls-remote" "[key]" "--pia-signal-settings" "--daemon"
    [07/13/16 12:24:02] created process
    [07/13/16 12:24:02] #<Errno::ECONNREFUSED: Connection refused - connect(2)>
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1202:in `initialize'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1202:in `open'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1202:in `block (2 levels) in cmd'
    /home/matt/.pia_manager/pia_manager/pia_common.rb:291:in `timeout'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1201:in `block in cmd'
    <internal:prelude>:10:in `synchronize'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1198:in `cmd'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1162:in `block (2 levels) in wait_management'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1160:in `loop'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1160:in `block in wait_management'
    /home/matt/.pia_manager/pia_manager/pia_common.rb:291:in `timeout'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:1159:in `wait_management'
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:87:in `start'
    /home/matt/.pia_manager/pia_manager/pia_manager.rb:137:in `block in connect'
    <internal:prelude>:10:in `synchronize'
    [07/13/16 12:24:03] connection_status: AUTH
    [07/13/16 12:24:04] connection_status: GET_CONFIG
    [07/13/16 12:24:08] hardkill
    /home/matt/.pia_manager/pia_manager/openvpn_manager.rb:96:in `start'
    /home/matt/.pia_manager/pia_manager/pia_manager.rb:137:in `block in connect'
    <internal:prelude>:10:in `synchronize'
    /home/matt/.pia_manager/pia_manager/pia_manager.rb:137:in `connect'
    /home/matt/.pia_manager/pia_manager/pia_manager.rb:73:in `handle_command'
    /home/matt/.pia_manager/pia_manager/pia_manager.rb:252:in `block (3 levels) in start_command_server'
    /home/matt/.pia_manager/pia_manager/pia_common.rb:24:in `block in safe'
    [07/13/16 12:24:08] "/home/matt/.pia_manager/openvpn_launcher.64" --route -n delete [IP address]
    [07/13/16 12:24:08] [down] Going down
    [07/13/16 12:24:08] status: stopped
    [07/13/16 12:24:08] connection_status: down
    [07/13/16 12:24:08] [down] updated status
    [07/13/16 12:24:08] [down] stopped polling
    [07/13/16 12:24:08] [down] port forward loop down (if enabled)
    [07/13/16 12:24:08] [down] cleared pid
    [07/13/16 12:24:08] [down] dns restored (if enabled)
    [07/13/16 12:24:08] [down] killswitch down (if enabled)
    [07/13/16 12:24:08] [down] dnsleak down (if enabled)
    [07/13/16 12:24:08] [down] DOWN finished successfully
    [07/13/16 12:24:23] checking latency

  • I came back to using the config files, with the modification of the upper case as in the other posts. Nevertheless I would prefer to have the app as it is much simpler to change the servers, put slow speed complaints, and to set up the configurations as VPN kill switch, and the like...
  • op here, from information that i gathered while talking to customer support through a bunch of emails, there's 2 problems. the first one is installing with root access. i was told to install using root, but when i tried it gave me an error saying to install as a normal user. not sure if it's a situation on my end or bad communication by customer support. the 2nd problem is that my hard drive is encrypted. they said that my hard drive can't be encrypted if i want to use their vpn. again, i don't know why that's necessary but it looks like i wasted my money.
  • same situation here using linux mint 18. attempting using each installer from v58 onwards, nothing connects. tried a brand new installation without disk or home encryption, still no connection being made.

    frustrating to say the least. 
  • +1 - same issue here, on a Mac. This only started after I installed the latest version of the client. 
  • +1 here on Linux Mint 17.3 Rosa. The PIA client simply remains in the connecting state.
  • Same problem here.Running ubuntu 16.04. Mine actually worked previously but now just hangs and disconnects whenever I try to connect
  • edited December 2016
    Sounds like the same problem for me - what kind of security professional is expected not to use an encrypted hard drive?  Is that is really a requirement for using PIA?  What kind of backwards world are we living in.
  • I had the same problem but only in Ubuntu 16.04 32-bit. No problem with 64-bit 16.04. Tech support was no help and recommended using openvpn. Solved the problem by running the pia.sh script in terminal. Just a few more steps but I trust tech would be able to fix it in future releases. Good luck.
    p2985896 said:
    Hi,

    I'm having the exact same problem. Have tried different ports, udp, tcp, different servers, etc.

    Running Lubuntu 16.04

    Also tried the Windows PIA client (Win7) on the same machine (dual boot) and it worked fine.

    Please help.

    1. Open Device Manager
    2. Find Network Adapters
    3. Uninstall WAN Miniport (IP), WAN Miniport(IPv6) and WAN Miniport (PPTP).
    4. Click Action > Scan for hardware changes
    5. The adapters you just uninstalled should come back
    6. Try connecting again
Sign In or Register to comment.