Closed BouleJaune closed 1 month ago
From those logs it looks like the auth token itself is generating fine, but is then failing when using it to register the Wireguard keys with the endpoint. I guess a locked account means you can still generate the token, but just not use it.
Having it print out the raw response when it fails there sounds like a good idea though, and should be easy enough to do. It should already be showing the response when generating the token itself fails.
Added in 71ea5bab8fe4e178c07e3464193435ac9deeed9e
Hello,
My PIA account has been locked due to unrelated reasons however docker-wireguard-pia does not give a clear error message saying the account is locked :
The direct curl showing that the HTTP response is telling us that the account is locked.
Would it be possible to improve the
get_auth_token
function inpia-auth.sh
to echo a satisfying error message ?Thanks in advance