pia-foss / manual-connections

Scripts for manual connections to Private Internet Access
MIT License
620 stars 170 forks source link

Can't connect; was the API changed? #170

Closed skyler544 closed 1 year ago

skyler544 commented 1 year ago

As of today attempting to connect no longer works; the credential check fails with this error:

Checking login credentials...parse error: Invalid numeric literal at line 2, column 0

As far as I can tell, the failure point is at line 72 in get_token.sh as that's where the username and password are POSTed to the server.

Here's how I connect; this is a shell script:

#!/bin/sh

export PIA_USER=username
export PIA_PASS=password

export DIP_TOKEN="none"
export PIA_PF="false"
export DISABLE_IPV6="y"
export AUTOCONNECT="y"
export VPN_PROTOCOL="wireguard"
export PIA_DNS="true"

./run_setup.sh
kp-andre-flemming commented 1 year ago

Thanks for the report, we will take care of it and come up with an update soon.

kp-andre-flemming commented 1 year ago

We encountered an API-Endpoint outage, this is solved now.