Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIA Server List URL Change for piawg.py #26

Open
btbutts opened this issue Oct 21, 2024 · 0 comments
Open

PIA Server List URL Change for piawg.py #26

btbutts opened this issue Oct 21, 2024 · 0 comments

Comments

@btbutts
Copy link

btbutts commented Oct 21, 2024

Hello @hsand,

First, I'd like to complement you on the python script you've created here. It's been much easier to work with when I load it into my containers. Great job! Really. Thank you.

@MikealSouth submitted issue #22, stating that the generated configs are only good for a couple hours. Well, a few months later and it seems that the configs generated via the current v4 URL https://serverlist.piaservers.net/vpninfo/servers/v4 in your piawg.py script are no longer working at all, by and large. The configs generate successfully, as the script exits correctly, and I can establish a WireGuard tunnel, but no traffic will pass through it whatsoever. Occasionally, one of the configs might work, but I found I'd have to regenerate the config using different server targets at random at least a dozen or more times before I could get one to work with the existing v4 URL.

When I compared your script to @pia-foss's get_region.sh script, I noticed that they are using the v6 URL https://serverlist.piaservers.net/vpninfo/servers/v6. @pia-foss's get_region.sh script works the first time, every time so I changed the v4 URL in your piawg.py script to the v6 URL target and then your script began working the first time, every time.

You may want to consider updating your script to use the v6 URL as it seems that there's something either outdated, deprecated, or wrong about the v4 URL, even though that v4 URL is still up and working if you hit it manually in a browser.

Thanks again!
-Brian

Playgame38 added a commit to Playgame38/pia-wg that referenced this issue Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant